File: README

package info (click to toggle)
inventor 2.1.5-10-12
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 32,900 kB
  • ctags: 21,729
  • sloc: ansic: 33,867; lisp: 7,361; cpp: 3,874; yacc: 369; sh: 359; perl: 234; awk: 141; makefile: 75; csh: 35; sed: 11
file content (18 lines) | stat: -rw-r--r-- 776 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
		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.