home *** CD-ROM | disk | FTP | other *** search
/ Late Night VRML 2.0 with Java CD-ROM / code.zip / Ch20 / nod.wrl < prev    next >
Text File  |  1997-03-24  |  337b  |  14 lines

  1. #VRML V2.0 utf8
  2.  
  3. # A simple head-nodding animation, created by hand
  4.  
  5. DEF TS TimeSensor { loop TRUE }
  6.  
  7. DEF INTER OrientationInterpolator {
  8.     key [ 0 0.25 0.75 1.0 ]
  9.     keyValue [ 1 0 0 0, 1 0 0 0.7805, 1 0 0 0.7804, 1 0 0 0 ]
  10. }
  11.  
  12. ROUTE TS.fraction_changed TO INTER.set_fraction
  13. ROUTE INTER.value_changed TO v8.set_rotation
  14.