Event values can be generated through TimeSensor, ROUTE and interpolator chains to create animation effects in a scene graph.
Strong typing requirements ensure that only valid values are allowed to modify the scene graph.
The
TimeSensor
node produces output stimulus events that track the passage of time intervals using the computer clock.
Event animation and interpolation is accomplished by
ROUTE
connections that pass events between nodes.
Strictly typed interpolation values are produced by
ScalarInterpolator,
ColorInterpolator,
PositionInterpolator,
PositionInterpolator2D,
OrientationInterpolator,
NormalInterpolator,
CoordinateInterpolator,
and
CoordinateInterpolator2D nodes.
Authors can use a
10-step algorithm checklist
(with example diagram)
as an event-animation design pattern that helps build consistent event-routing chains.
The supporting
Chapter 7 slideset
and course videos
(NPS,
YouTube)
for X3D for Web Authors are available online via
X3dGraphics.com.
The quick-reference sheet
X3D Event Utility Nodes: Field Event Diagrams
illustrates the functionality of the event utility nodes.
These nodes receive and pass values that are sent via
ROUTE
connections.
|