Recipe for Writing a Java 3D Application

We are now going to describe the basic paradigm for writing a Java 3D application. To repeat, most of the programming effort goes into creating one or more BranchGroups for holding content. BranchGroups are the fundamental organizational structure to use when building the scene graph and are a mandatory element of all Java 3D programs.

Required Ingredients

All Java 3D programs have a basic set of ingredients that must be present in order to do anything. The classes for these objects are listed in Table 11.2.

Table 11.2. Objects that Must Be Present in Any Java 3D Program
Major Class Function
BranchGroup The root of a subgraph; most commonly takes the form of a scene subgraph, but also represents the view ...

Get Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.