Transforming Several Objects at Once:Script command. The final Script action
command causes both scripts to be rung concurrently.
The Torus.oogl file was created
using the file Torus.cs in CenterStage.
The xyz.vect
square.quad
files are standard ones that come with Geomview.
Load Torus.oogl
Load xyz.vect
Transform {Scale .25} Torus.oogl
Transform {YZ -$pi/3}
Transform {XY -$pi/6}
Transform {YZ $pi/2} Torus.oogl
Load square.quad
Color square.quad {1 1 0}
Transform {Translate {0 -2.5 0}} square.quad
Script for Torus {
Sequence {Product {XZ $pi} {YZ $pi/2}} 16
}
Script for square.quad {
Sequence {Translate {0 2.5 0}} 16
}
Script action
Pasue 5
Delete World
Pause 5
| The Klein Bottle | |
| Sample StageManager Files | |
| Several Objects in One Movie |
| StageTools Documentation (StageManager/Samples/torus) Created: 03 Jun 1996 --- Last modified: Nov 23, 1999 4:57:05 PM Comments to: dpvc@union.edu |