Package Vrml2Sourcebook.Chapter08AnimatingPositionOrientationScale

package Vrml2Sourcebook.Chapter08AnimatingPositionOrientationScale

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

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.

This X3D VRML2 Sourcebook Chapter 08 Animating Position Orientation Scale examples archive is online.

The X3D Java Scene Access Interface (x3djsail) package provides concrete classes for each X3D node and statement.

Online: X3D Java Scene Access Interface Library (X3DJSAIL) and X3DJSAIL Javadoc

See Also: