22

Creating a Java 3D application or applet
SceneGraphObject Capabilities

  • Adding a node into a scene graph makes it "live" (drawable)
  • When live, a node may be modified only in predetermined ways
  • The fewer the ways, the more optimizations Java 3D can perform
  • Modifications are enabled by turning on Capabilities
  • Every node class has different capabilities
  • The SceneGraphObject provides methods to turn on these capabilities
  • Sample capabilities:
  • Allow read/write of transforms, geometry coordinates, shape colors, texture transforms, group content