#VRML V2.0 utf8 #Beispiel 5: Darstellung eines Kegels in einer Animation mit TimeSensor DEF robjekt Transform { children [ Shape { appearance Appearance { material Material { diffuseColor 0 0 1 } } geometry Box { size 3 3 3 } } ] } DEF rtimer TimeSensor { loop TRUE cycleInterval 20 } DEF rengine OrientationInterpolator { key [0,.25,.5,1] keyValue [0 1 0 0, 0 1 0 2.094,0 1 0 4.188, 0 1 0 0] } ROUTE rtimer.fraction_changed TO rengine.set_fraction ROUTE rengine.value_changed TO robjekt.set_rotation