Skip navigation links
Vrml2Sourcebook Examples Archive Javadoc

Package Vrml2Sourcebook.Chapter08AnimatingPositionOrientationScale

TimeSensor nodes produce clock events that can drive event-producing interpolators for animating position, orientation and scale.

See: Description

Package Vrml2Sourcebook.Chapter08AnimatingPositionOrientationScale Description

TimeSensor nodes produce clock events that can drive event-producing interpolators for animating position, orientation and scale.

Figure 08.4 Orientation Interpolator With Axes

The TimeSensor node is similar to a stop watch: you control the start and stop time, it generates time events while running. It can loop forever, or run through only one cycle and stop. To animate a scene, route time events into other nodes. PositionInterpolator can convert time events into 3D position or scale values. OrientationInterpolator can animate rotation values. ColorInterpolator can animate color values, and ScalarInterpolator can animate transparency values.

These X3D scenes are adapted directly from the original VRML 2.0 Sourcebook chapter examples. Also available: Introduction to VRML97 SIGGRAPH98 course notes.

Skip navigation links
Vrml2Sourcebook Examples Archive Javadoc

Copyright ©2005-2019 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.