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 300 pixelHeight 300 } } } ] } OrderedGroup { children [ Background2D { backColor 1 1 0 } WorldInfo { info [ "This test shows scene replacement using BIFS commands." "At initialization, the scene is empty, only a yellow background." "At 2s, the whole scene is replaced by a new one containing a red polygon." "All resources belonging to the previous scene are reclaimed." "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] title "Scene Replacement" } ] } AT 2000 { REPLACE SCENE BY OrderedGroup { children [ WorldInfo { info ["This shows scene replacement" "through BIFS commands" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] title "scene replace test" } 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] } } } ] } ] } }