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:
-
ClassDescriptionSimple PositionInterpolator example.Simple PositionInterpolator example.Animation that rotates a coordinate system and the column built within it.Animation that rotates a coordinate system and the column built within it, with coordinate axes superimposed to show X3D/VRML directions.Animation that scales a coordinate system and the ball built within it.Animation that scales a coordinate system and the ball built within it, with coordinate axes superimposed to show X3D/VRML directions.