Created
June 18, 2015 23:30
-
-
Save miura/84c403b9b9da0a1a94fb to your computer and use it in GitHub Desktop.
java3D testing
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
from com.sun.j3d.utils.universe import SimpleUniverse | |
from com.sun.j3d.utils.geometry import ColorCube | |
from javax.media.j3d import BranchGroup | |
universe = SimpleUniverse() | |
group = BranchGroup() | |
group.addChild(ColorCube(0.3)) | |
universe.getViewingPlatform().setNominalViewingTransform() | |
universe.addBranchGraph(group) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment