InitialObjectDescriptor { objectDescriptorID 1 audioProfileLevelIndication 255 visualProfileLevelIndication 254 sceneProfileLevelIndication 1 graphicsProfileLevelIndication 1 ODProfileLevelIndication 1 esDescr [ ES_Descriptor { ES_ID 1 decConfigDescr DecoderConfigDescriptor { streamType 3 decSpecificInfo BIFSConfig { isCommandStream true pixelMetric true pixelWidth 400 pixelHeight 400 } } } ] } OrderedGroup { children [ WorldInfo { info ["This shows 2D size interpolation" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] title "PositionInterpolator2D" } DEF BACK Background2D { backColor 1 1 1 } DEF TR Transform2D { scale 0.5 0.5 children [ Shape { appearance Appearance { material DEF MAT Material2D { emissiveColor 1 0 0 filled TRUE } } geometry IndexedFaceSet2D { coord DEF COORD Coordinate2D { point [-100 0 -50 100 50 100 100 0 50 -100 -50 -100] } } } ] } DEF TS TimeSensor { cycleInterval 2 loop TRUE } DEF SI PositionInterpolator2D { key [0 0.25 0.5 0.75 1] keyValue [1 1 2 1 1 1 1 2 1 1] } ] } ROUTE TS.fraction_changed TO SI.set_fraction ROUTE SI.value_changed TO TR.scale