DEF TIMER TimeSensor{cycleInterval 5.333 numLoops -1}Transform{rotation 1 0 0 .4 translation 0 4 0 children[DEF CUBE2 Transform{translation 0 2 0 children Shape{ appearance Appearance{material Material{diffuseColor 1 0 0 emissiveColor 0 0 .5} }geometry IndexedFaceSet{coord Coordinate{point[-1 -1 1 -1 1 1 1 1 1 1 -1 1 -1 -1 -1 -1 1 -1 1 1 -1 1 -1 -1]}coordIndex[0 3 1 -1 3 2 1 -1 3 7 2 -1 7 6 2 -1 7 4 6 -1 4 5 6 -1 4 0 5 -1 0 1 5 -1 1 2 5 -1 2 6 5 -1 0 4 3 -1 4 7 3 -1]texCoord TextureCoordinate{point[0 0 1 0 1 1 0 1]}texCoordIndex[0 1 3 -1 1 2 3 -1 0 1 3 -1 1 2 3 -1 0 1 3 -1 1 2 3 -1 0 1 3 -1 1 2 3 -1 0 1 3 -1 1 2 3 -1 0 1 3 -1 1 2 3 -1 ]}}}DEF MyTrans Transform{rotation 0 1 0 .9 children[Transform{rotation 1 0 0 -.4 translation 0 1 0 children DEF Camera Viewpoint{}}DEF CUBE1 Transform{rotation 0 1 0 -.6 translation 0 -1 0 children Shape{appearance Appearance{material Material {diffuseColor 1 0 0 emissiveColor 0 .5 0}}geometry IndexedFaceSet{coord Coordinate{point[-1 -1 1 -1 1 1 1 1 1 1 -1 1 -1 -1 -1 -1 1 -1 1 1 -1 1 -1 -1]} coordIndex[0 3 1 -1 3 2 1 -1 3 7 2 -1 7 6 2 -1 7 4 6 -1 4 5 6 -1 4 0 5 -1 0 1 5 -1 1 2 5 -1 2 6 5 -1 0 4 3 -1 4 7 3 -1]texCoord TextureCoordinate{point[0 0 1 0 1 1 0 1]}texCoordIndex[0 1 3 -1 1 2 3 -1 0 1 3 -1 1 2 3 -1 0 1 3 -1 1 2 3 -1 0 1 3 -1 1 2 3 -1 0 1 3 -1 1 2 3 -1 0 1 3 -1 1 2 3 -1]}}}]}]} DEF MYINTERP OrientationInterpolator{key[0 .33 .66 1]keyValue[0 1 0 0 0 1 0 2.094 0 1 0 4.189 0 1 0 0]}DEF MYINTERP2 PositionInterpolator{key[0 .25 .5 .75 1] keyValue[-1 0 -1 1 0 -1 1 0 1 -1 0 1 -1 0 -1]}Route TIMER.fraction To MYINTERP.fraction Route MYINTERP.value To MyTrans.rotation Route TIMER.fraction To MYINTERP2.fraction Route MYINTERP2.value To MyTrans.translation