CS248 - VRML Tutorial - Slide 13

Setting timers and interpolators: Example


DEF TIMER TimeSensor { cycleInterval 10 loop TRUE startTime 1 } DEF SPIN OrientationInterpolator { key [ 0, .5, 1 ] keyValue [ 0 0 1 0, 0 0 1 3.14, 0 0 1 6.28 ] } ROUTE TIMER.fraction_changed TO SPIN.set_fraction


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