|
|
| File: [Development] / inventor / apps / samples / vortex / README (download)
Revision 1.1.1.1 (vendor branch), Tue Aug 15 12:55:59 2000 UTC (17 years, 2 months ago) by naaman
Initial check-in based on 2.1.5 (SGI IRIX) source tree. |
README for Inventor "vortex" sample ----------------------------------- Run with no arguments to get the usage message. This program reads in a scene graph from the file named on the command line and then uses the primitive generation feature of the SoCallbackAction to produce an SoFaceSet consisting of triangles that represent the shapes in the original graph. It then displays the face set with a nice gold material in an examiner viewer. Using an SoTimerSensor, the triangles in the face set are exploded away from the center and rotated around, creating a vortex effect, which then reverses. The relative speeds of the translation and rotation can be controlled with command-line switches. This sample is intended solely to show how to use primitive generation.