Basic HTML version of Foils prepared March 4 1998

Foil 103 Animation Code for Stair1 in doorway.wrl

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 98. by Zeynep Ozdemir, Rob Baker, Meryem Ispirli, Geoffrey C. Fox

VRML2.0 Example of PositionInterpolator and Inline
1 DEF Stair1Timer TimeSensor {
2 cycleInterval 4.0
3 loop TRUE
4 }
5 DEF Stair1Path PositionInterpolator {
6 key [ 0.0, 0.25, 0.5, 0.75, 1.0 ]
7 keyValue [ 0.0 0.0 0.0, 3.0 0.0 0.0, 0.0 0.0 0.0, -3.0 0.0 0.0, 0.0 0.0 0.0 ]
8 }
9 ROUTE Proximity.enterTime TO Stair1Timer.set_startTime
10 ROUTE Stair1Timer.fraction_changed TO Stair1Path.set_fraction
11 ROUTE Stair1Path.value_changed TO Stair1.set_translation

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Nov 29 1998