Games Programming with Java and Java 3D
The standard first example for Java 3D programmers is HelloUniverse (it appears in
chapter 1 of the Java 3D tutorial). The program displays a rotating coloured cube, as
in Figure 4.
Figure 4. A Rotating Coloured Cube.
The scene graph for this application is given in Figure 5.
VirtualUniverse is the top node in every scene graph, and represents the virtual world
space and its coordinate system.
SimpleUniverse
Virtual Universe
Locale
BranchGroup
BG BG
Nodes
TransformGroup
TG TG