Created
January 23, 2012 13:30
-
-
Save miura/1663134 to your computer and use it in GitHub Desktop.
Check the Java3D environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
importClass(Packages.javax.media.j3d.VirtualUniverse); | |
vu = new VirtualUniverse(); | |
if (vu == null) | |
System.out.println("failed getting VirtualUniverse"); | |
vuMap = vu.getProperties(); | |
System.out.println("Java3D version: " + vuMap.get("j3d.version")); | |
System.out.println("Java3D vender: " + vuMap.get("j3d.vender")); | |
System.out.println("Java3D remderer: " + vuMap.get("j3d.renderer")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment