CS248 - VRML Tutorial - Slide 14

Attaching interpolators to transformations: Example


DEF TIMER TimeSensor { ... } DEF SPIN OrientationInterpolator { .... } ROUTE TIMER.fraction_changed TO SPIN.set_fraction DEF OBJECT_TO_SPIN Transform { children [ Shape { appearance Appearance { material Material {} } geometry Cone {} } ] } ROUTE SPIN.value_changed TO OBJECT_TO_SPIN.rotation


Slide 14 - 2/20/97 - Copyright © 1997 Reid Gershbein