This weekend I was working on version 2.0 of BenchJ3d. So far I have
implemented:
- solid cubes
- transparent cubes
- solid texture, solid cubes
- solid texture, transparent cubes
- (plus all of the above in immediate mode)
I will also be adding
- partially transparent texture, transparent cubes
- morphing cubes
- collision testing
- sound
- large DEM type triangle/quad array
- large DEM type triangle/quad array with large texture image
Any more suggestions are welcome.
I would like to add sound support to the benchmark (as I have heard that
sound severely impacts performance) but when I run the SimpleSounds example
I get the following error:
bash-2.02$ java -cp . SimpleSounds
Exception in thread "main" java.lang.NoSuchMethodError:
java.security.AccessController: method endPrivileged()V not found
at com.sun.j3d.audio.HaeMixer.<clinit>(HaeMixer.java:86)
at com.sun.j3d.audio.HaeDevice.<clinit>(HaeDevice.java:25)
at
com.sun.j3d.audioengines.javasound.JavaSoundMixer.initialize(JavaSoundMixer.
java:125)
at
com.sun.j3d.utils.universe.Viewer.createAudioDevice(Viewer.java:329)
at SimpleSounds.<init>(Compiled Code)
at SimpleSounds.main(Compiled Code)
Has anyone got any clues for me on what might cause this? I'm off to check
the versions of the JAR files that I have for 1.2 and J3D - I'm guessing
that is the most obvious explanation.
Thanks,
Daniel Selman
Tornado Labs Ltd.
Email: [EMAIL PROTECTED]
Web: http://www.tornadolabs.com
Phone: +44 (0131) 343 2513
Fax: +44 07070 800 483
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/