Managing the Model
Figure 16-21 shows PropManager's methods.

Figure 16-21. PropManager methods
There are four main tasks carried out by a PropManager object (indicated in Figure 16-21 with the same numbering scheme):
It loads the specified model, scales to a standard size, and rotates the model if it's been saved as a 3D Studio Max (3DS) file.
It loads a coords datafile if requested and applies the translations, rotations, and scaling values in that file to the model.
It makes the top-level
TransformGroupfor the model available.Tip
In this program, the subgraph is added to the scene by
WrapLoader3D.At runtime, the
PropManagerobject accepts commands to modify the model's position, orientation, and size, causing alterations to the model's scene graph.Tip
In this application, these commands come from the GUI, via
WrapLoader3D.