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 } } } ] } DEF OG OrderedGroup { children [ WorldInfo { info ["This shows node deletion" "through removeChildren field" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] title "Node delete test" } DEF BACK Background2D { backColor 1 1 1 } DEF TR1 Transform2D { translation -100 0 } DEF TR2 Transform2D { translation 100 0 children [ Shape { appearance Appearance { material Material2D { emissiveColor 1 1 0 filled TRUE } } geometry Circle { radius 50 } } ] } ] } DEF R1 ROUTE TR1.children TO TR2.addChildren AT 2000 { APPEND TO TR1.children Shape { appearance Appearance { material DEF M1 Material2D { emissiveColor 1 0 0 filled TRUE } } geometry Rectangle { size 100 50 } } } AT 3000 { DELETE ROUTE R1 INSERT ROUTE TR1.children TO TR2.removeChildren } AT 4000 { APPEND TO TR1.children Shape { appearance Appearance { material Material2D { emissiveColor 1 1 1 filled TRUE } } geometry Circle { radius 20 } } } AT 100000 { DELETE ROUTE R1 }