Basic HTML version of Foils prepared April 6 1997

Foil 94 PositionInterpolator - II

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 97. by Zeynep Ozdemir(Geoffrey C. Fox)


A simple animation can be implemented by the following routings. The fraction_changed eventOut of a TimeSensor node can be wired to a set_fraction eventIn of interpolator.
Whenever interpolator receives a set_fraction event, it computes a new position value (according to keyValues) and places it in a value_changed eventOut.
By wiring this eventOut which holds a 3-vector to the Transform node's appropriate eventIn attribute, the animation can be implemented.



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 Mar 15 1998