Animation
- Static environments are not usually very interesting
- Interpolation is typically used to define animation in a virtual environment
- In VRML, interpolator nodes can be used to control animation
- A TimeSensor is used to generate events that can be sent to an interpolator node to set it's fraction time
- An interpolator has a set of key fractional times and a set of key values
- When the current key value of an interpolator changes, an event can be sent to another node to update a property such as position, orientation, or colour
- The type of the event generated depends on the type of interpolator node used
- A PositionInterpolator and OrientationInterpolator can be used to implement simple keyframe animation
|