Discussions
Categories
- 385.5K All Categories
- 4.9K Data
- 2.5K Big Data Appliance
- 2.4K Data Science
- 453.4K Databases
- 223.2K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 47 Multilingual Engine
- 606 MySQL Community Space
- 486 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.2K ORDS, SODA & JSON in the Database
- 585 SQLcl
- 4K SQL Developer Data Modeler
- 188K SQL & PL/SQL
- 21.5K SQL Developer
- 46 Data Integration
- 46 GoldenGate
- 298.4K Development
- 4 Application Development
- 20 Developer Projects
- 166 Programming Languages
- 295K Development Tools
- 150 DevOps
- 3.1K QA/Testing
- 646.7K Java
- 37 Java Learning Subscription
- 37.1K Database Connectivity
- 201 Java Community Process
- 108 Java 25
- 22.2K Java APIs
- 138.3K Java Development Tools
- 165.4K Java EE (Java Enterprise Edition)
- 22 Java Essentials
- 176 Java 8 Questions
- 86K Java Programming
- 82 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 208 Java User Groups
- 25 JavaScript - Nashorn
- Programs
- 667 LiveLabs
- 41 Workshops
- 10.3K Software
- 6.7K Berkeley DB Family
- 3.6K JHeadstart
- 6K Other Languages
- 2.3K Chinese
- 207 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 474 Portuguese
Help: Reinstall caused J3D to not use Hardware acceleration
System Specs: AMD Athlon 1400MHz, GeForce 2 MX 400 & ATI Rage32 (dual monitor), Windows 98, 256MB DRAM
I've been trying to figure out whether to use C++ or Java3D for an upcoming project. So I downloaded and installed J3D. I got 300+ frames/sec on the J3DFly demo application. Video performance was the only thing holding me back from using Java, so after seeing the J3DFly results, I decided to use Java.
In preparation to the project, I tore out my previous Java installations (Sun and IBM) and did a fresh re-install of Java 1.3.1_02 SDK and Java3D 1.2.1 OpenGL SDK. Swell. Re-ran the J3DFly program and got >>5<< FPS. ?!?!?
I've done everything that I can think of: switched to DirectX, tried to force hardware rendering, tried fresh re-installs. No luck.
- Anyone have any idea what happened or how to fix it?
- What framerates are people seeing on the J3DFly with the City scene?
- Is there any way that Java3D is not installing the proper hardware-accelerated DLL?
- Could my second non-3D accelerated graphics card be screwing Java3D up?
Thanks,
Alson
I've been trying to figure out whether to use C++ or Java3D for an upcoming project. So I downloaded and installed J3D. I got 300+ frames/sec on the J3DFly demo application. Video performance was the only thing holding me back from using Java, so after seeing the J3DFly results, I decided to use Java.
In preparation to the project, I tore out my previous Java installations (Sun and IBM) and did a fresh re-install of Java 1.3.1_02 SDK and Java3D 1.2.1 OpenGL SDK. Swell. Re-ran the J3DFly program and got >>5<< FPS. ?!?!?
I've done everything that I can think of: switched to DirectX, tried to force hardware rendering, tried fresh re-installs. No luck.
- Anyone have any idea what happened or how to fix it?
- What framerates are people seeing on the J3DFly with the City scene?
- Is there any way that Java3D is not installing the proper hardware-accelerated DLL?
- Could my second non-3D accelerated graphics card be screwing Java3D up?
Thanks,
Alson
Comments
-
Have you checked if it might be the default JVM implementation used by the 'java' command? Sun actually has 3 different implementations of the Java Virtual Machine - classic, hotspot client, and hotspot server. For Sun's 1.3.1 Java SDK the Hotspot Client JVM is the default, whereas Sun's 1.2.2 Java SDK always uses the Classic JVM. Do a "java -version" to see which JVM is the default one and a "java -classic" to use the classic JVM for 1.3.1. You can also do a "java -classic -version" to verify that "-classic" works.
-
Have you checked if it might be the default JVMThank you for the suggestion. I am using Java 1.4b3 and just ran the "java -version" command. It reports that I'm using HotSpot.
implementation used by the 'java' command? Sun
I also had these problems with Java 1.3.1_02.
I'm also finding that J3DFly won't even install under my Java 1.4b3/ J3D 1.3 setup.
This is getting tremendously frustrating! The first time I ran Java3D, it worked marvelously!
Does anyone know how to check the J3D engine to see what type of rendering it is using? Any way to check on various performance parameters? I didn't see anything like that in the API.
- Alson
-
A while ago java3d seemed to stop using my 3d card for no apparent reason (GeForce 2 GTS) and eventually i tracked it down to updating my graphics card drivers. With the latest couple of revisions from nVidia (XP and 12.81 i think) they cause problems, so i went back to the 12.41 drivers (probably the fastest and most stable on my system anyway) and java3d started working properly again.
Since you mention you've got a GeForce 2 card, this could be the problem. Something else to check at any rate... -
Try setting the j3d.debug property to true with the DirectX version of Java3D and check out this page on the j3d.org site. I am using OpenGL Java3D and haven't tried any of this, but I just happened to stumble across this page on the j3d.org site and thought it might prove helpful to you (or it might not).
http://www.j3d.org/implementation/properties.html -
Okay, courtesy of OrangyTang I've got my system working... sort of. I remembered that I had updated my drivers. I went and cleaned out the old drivers and installed the 12.90 drivers. Turns out I screwed up OpenGL, so I switched the Java3D to DirectX and it works pretty well. Not as fast as OpenGL, but that's okay.
WRS9,
Thanks for the update on the DirectX options. I'll definitely turn on the debug to see what's going on.
Thanks all,
Alson
This discussion has been closed.