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

Rotating a Torus:

This movie loads a torus and some axes and sets their initial starting location. Then it rotates the torus around several different axes.

The Torus.oogl file was created using the file Torus.cs in CenterStage. The xyz.vect file is a standard one that comes with Geomview.

   Load Torus.oogl
   Load xyz.vect

   Transform {Scale .25} Torus.oogl
   Transform {YZ -$pi/3}
   Transform {XY -$pi/6}

   Sequence {YZ $pi/2} 7 Torus.oogl
   Pause 3
   Sequence {XY $pi} 16 Torus.oogl -parent
   Pause 3
   Sequence {YZ $pi} 16 -parent
   Pause 5

[HOME] StageTools Documentation web pages
Created: 03 Jun 1996
Last modified: Aug 17, 2006 10:00:36 AM
Comments to:
[Next] Several Transformations at Once
[Up] Sample StageManager Files
[Prev] Frames of Reference