Basic HTML version of Foils prepared March 4 1998

Foil 102 Animation Strategy 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
For each stair, a TimeSensor (Stair1Timer on next foil) is triggered by a world ProximitySensor. (set when you enter bounding box)
Once triggered, the time sensor outputs fractions forever.
The fractions are routed in to PositionInterpolators (Stair1Path) that smoothly interpolate a sliding position back and forth along the X axis.
These positions are routed in to translations (Stair1.set_translation) for the individual stairs.



© 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 Apr 5 1998