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

Several Transformations at Once:

In this movie, a torus is loaded and our initial view is set up, then the torus rotates, pauses, and finally does a compound rotation and scaling all at once. The final position of the torus is the result of a transformation by a product of all three transformations in the final Sequence command.

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 {Product {Scale .5} {XZ $pi} {YZ $pi/2}} 16 Torus.oogl
   Pause 5

[HOME] StageTools Documentation web pages
Created: 03 Jun 1996
Last modified: Aug 17, 2006 10:01:20 AM
Comments to:
[Next] Several Objects in One Movie
[Up] Sample StageManager Files
[Prev] Rotating a Torus