InitialObjectDescriptor { objectDescriptorID 1 ODProfileLevelIndication 0xFF sceneProfileLevelIndication 0xFE audioProfileLevelIndication 0xFF visualProfileLevelIndication 0xFF graphicsProfileLevelIndication 0xFE esdescr [ ES_Descriptor { es_id 1 decConfigDescr DecoderConfigDescriptor { streamType 3 decSpecificInfo BIFSConfig { isCommandStream true pixelMetric true pixelWidth 320 pixelHeight 200 } } } ] } Group { children [ WorldInfo { title "Viewpoint animation test test" info ["This shows a sphere" "and dynamic viewpoint" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] } DEF VP Viewpoint {position -200 0 100 orientation 0 1 0 -1.0 } Transform { translation 0 0 -50 children [ Shape { appearance Appearance { material Material { diffuseColor 1 1 1 } } geometry Box {size 150 100 10} } ] } DEF TR Transform { translation -50 0 0 scale 0.75 1 1 children [ Shape { appearance Appearance { material DEF MAT Material { diffuseColor 1 1 0 shininess 0.5 } } geometry Sphere {radius 25 } } ] } DEF TS TimeSensor { cycleInterval 4.0 loop TRUE } DEF OI OrientationInterpolator { key [0 0.5 1] keyValue [0 0 1 0, 0 0 1 3.14, 0 0 1 6.26] } DEF OI2 OrientationInterpolator { key [0 0.5 1] keyValue [0 1 0 -1, 0 1 0 1, 0 1 0 -1] } DEF PI PositionInterpolator { key [0 0.5 1] keyValue [-200 0 100, 200 0 100, -200 0 100] } ] } ROUTE TS.fraction_changed TO OI.set_fraction ROUTE OI.value_changed TO TR.rotation ROUTE TS.fraction_changed TO OI2.set_fraction ROUTE OI2.value_changed TO VP.orientation ROUTE TS.fraction_changed TO PI.set_fraction ROUTE PI.value_changed TO VP.position