StageTools - Documentation (StageManager/Samples/simple) [Up][Next]

Rotating Cube:

This examples shows how to load an object into Geomview and set its initial view (via the Transform commands). Finally, it shows how to perform a simple action in the movie: a rotation about the z axis.

The cube file used in this script is a standard one that comes with Geomview.


cube.sm

   Load cube
   Transform {YZ -$pi/3}
   Transform {XY -$pi/6}

   Sequence {XY 2*$pi} 30


[Next] Frames of Reference
[Up] Sample StageManager Files

[HOME]
StageTools Documentation (StageManager/Samples/simple)
Created: 03 Jun 1996 --- Last modified: Nov 23, 1999 3:52:08 PM
Comments to: dpvc@union.edu