InitialObjectDescriptor { objectDescriptorID 1 audioProfileLevelIndication 255 visualProfileLevelIndication 254 sceneProfileLevelIndication 254 graphicsProfileLevelIndication 254 ODProfileLevelIndication 255 esDescr [ ES_Descriptor { ES_ID 1 decConfigDescr DecoderConfigDescriptor { streamType 3 decSpecificInfo BIFSConfig { isCommandStream true pixelMetric true pixelWidth 600 pixelHeight 400 } } } ES_Descriptor { ES_ID 2 decConfigDescr DecoderConfigDescriptor { streamType 1 } } ] } OrderedGroup { children [ DEF B1 Background2D { backColor 1 1 1 } WorldInfo { info ["This shows Background2D within a layer2D" "Note that the background is stretched to the layer size" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] title "Background Test" } Transform2D { translation 100 0 children [ DEF L Layer2D { size 400 300 children [ Shape { appearance Appearance { material Material2D { filled TRUE transparency 0 } } geometry DEF RC Rectangle { size 200 100 } } ] background Background2D { url [od:10] } } ] } DEF TS TimeSensor { cycleInterval 2 loop TRUE } DEF PI PositionInterpolator2D { key [0 0.75 1] keyValue [400 300 0 0 0 0] } ] } ROUTE TS.fraction_changed TO PI.set_fraction ROUTE PI.value_changed TO L.size AT 0 { UPDATE OD [ ObjectDescriptor { objectDescriptorID 10 esDescr [ ES_Descriptor { ES_ID 20 muxInfo MuxInfo { fileName "auxiliary_files/sky.jpg" } } ] } ] }