InitialObjectDescriptor { objectDescriptorID 1 audioProfileLevelIndication 255 visualProfileLevelIndication 254 sceneProfileLevelIndication 254 graphicsProfileLevelIndication 254 ODProfileLevelIndication 1 esDescr [ ES_Descriptor { ES_ID 1 decConfigDescr DecoderConfigDescriptor { streamType 3 decSpecificInfo BIFSConfig { isCommandStream true pixelMetric true pixelWidth 400 pixelHeight 400 } } } ES_Descriptor { ES_ID 2 decConfigDescr DecoderConfigDescriptor { streamType 1 } } ] } OrderedGroup { children [ Background2D { backColor 1 1 1 } WorldInfo { info [ "This test shows an image whose size is animated." "The result is displayed on top of a static image." "Both textures use a Bitmap node to allow efficient handling of the textures." "The resizing of the image is not done using a Transform2D node (or TransformMatrix2D) but by changing the size property of the Bitmap node." "" "GPAC Regression Tests" "(C) 2002-2006 GPAC Team" ] title "Image Resizing" } Transform2D { translation 0 128 children [ DEF TR Transform2D { children [ Transform2D { translation -128 0 children [ DEF S Shape { appearance Appearance { texture ImageTexture { url [od:12] repeatS FALSE repeatT FALSE } } geometry Bitmap {} } ] } Transform2D { children [ USE S ] } Transform2D { translation 128 0 children [ USE S ] } ] } ] } Transform2D { children [ USE TR ] } Transform2D { translation 0 -128 children [ USE TR ] } Transform2D { children [ Transform2D { children [ Shape { appearance Appearance { texture ImageTexture { url [od:10] repeatS FALSE repeatT FALSE } } geometry DEF BMP Bitmap { scale 0.75 0.75 } } ] } ] } DEF TS TimeSensor { loop TRUE } DEF PI PositionInterpolator2D { key [0 0.5 1] keyValue [0.75 0.75 0.25 0.25 0.75 0.75] } ] } ROUTE TS.fraction_changed TO PI.set_fraction ROUTE PI.value_changed TO BMP.scale RAP AT 0 { UPDATE OD [ ObjectDescriptor { objectDescriptorID 10 esDescr [ ES_Descriptor { ES_ID 20 muxInfo MuxInfo { fileName "auxiliary_files/sky.jpg" } } ] } ObjectDescriptor { objectDescriptorID 12 esDescr [ ES_Descriptor { ES_ID 21 muxInfo MuxInfo { fileName "auxiliary_files/logo.jpg" } } ] } ] }