[BACK]Return to README CVS log [TXT][DIR] Up to [Development] / inventor / apps / samples / vortex

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
Branch: sgi, MAIN
CVS Tags: start, release-2_1_5-9, release-2_1_5-8, release-2_1_5-10, HEAD
Changes since 1.1: +0 -0 lines

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.