Building a Scene Graph
• Build nodes by instantiating Java 3D
classes
Shape3D myShape1 = w Shape3D
(myGeom1,myAppear1);
Shape3D myShape2 = new Shape3D(myGeom2);
• Build groups of nodes
Group myGroup = new Group();
myGroup.addChild(myShape1);
myGroup.addChild(myShape2);