On my venerable Athlon/900 with a 3dfx Voodoo3
graphics card Java3D openGL takes about 2 seconds to create a new Canvas3D; with
DirectX it takes more than twice (5 seconds) that long.
Similar but somewhat slower timings I get on a PIII/933 with a more recent nVidia Quattro card. Pretty pathetic, I would say. I did some profiling of the startup phase (OptimizeIt) and found out that the culprit seems to be the call to SimpleUniverse.getPreferredConfiguration(), which essentially calls GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getBestConfiguration(new GraphicsConfigTemplate3D()). The config this call returns is passed to the Canvas3D ctor. I searched the thru the Java3D demos to find out that all demos do this. Is there a better/faster way to initialize a Canvas3D? Hans
p.s. forget to mention that I'm running JDK v1.41_01 with Java3D v1.3 |
- [JAVA3D] OpenGL Depth Test in Java3D Ranjan.George
- Re: [JAVA3D] OpenGL Depth Test in Java3D David Yazel
- [JAVA3D] mouse slow-down under OpenGL Hans Horn
- Re: [JAVA3D] mouse slow-down under OpenGL Justin Couch
- Re: [JAVA3D] OpenGL Depth Test in Java3D Alessandro Borges
- [JAVA3D] DepthBuffer and Transparency Hans Horn
- [JAVA3D] DepthBuffer and Transparency Michael Nischt