next up previous
Next: Sound Up: VRML Previous: Sensors - Interaction with

Scripts and Interpolators - Behavior and Animation

Scripts and Interpolators are the way you breathe life into the VRML 2.0 world. Interpolators are a built-in behavior mechanism that generate output based on linear interpolation of a number of key data points. Use of these key data points to generate animating objects is called keyframe animation. Scripts are used to create more intricate forms of behavior. Script nodes themselves contain source code or pointers to code for logic operations. Authors can feed data into a Script, have the script analyze the input and output an event to change the world.

Script Languages

Dave Marshall