InitialObjectDescriptor { objectDescriptorID 1 ODProfileLevelIndication 0x01 sceneProfileLevelIndication 0x01 audioProfileLevelIndication 0xFF visualProfileLevelIndication 0xFE graphicsProfileLevelIndication 0x01 esdescr [ ES_Descriptor { es_id 1 decConfigDescr DecoderConfigDescriptor { streamType 3 decSpecificInfo BIFSConfig { isCommandStream true pixelMetric true pixelWidth 400 pixelHeight 200 } } } ] } Group { children [ Viewpoint {position 0 0 100 } WorldInfo { title "PositionAnimator test" info ["This shows PositionAnimator using bezier spline interpolation" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] } DEF BACK Background2D { backColor 1 1 1} DEF TR Transform { scale 0.5 0.5 0.5 rotation 1 1 1 0.75 children [ Shape { appearance Appearance { material DEF MAT Material { diffuseColor 1 0 0} } geometry Box {size 50 50 50} } ] } DEF TS TimeSensor { cycleInterval 4.0 loop TRUE } DEF V Valuator { Factor2 0 Offset2 0.5 } DEF SI PositionAnimator { key [0 0.25 0.5 0.75 1] keyValueType 1 keyValue [-50 0 -50, 0 50 0, 50 0 -50] keyType 4 keySpline [0.75 0, 0.25 1] } ] } ROUTE TS.fraction_changed TO SI.set_fraction DEF R1 ROUTE SI.value_changed TO TR.translation