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 1
  }
  WorldInfo {
   info ["This tests encoding of non-linear declared nodes used in conditionals" "" "GPAC Regression Tests" "$Date: 2007-07-27 09:46:10 $ - $Revision: 1.2 $" "(C) 2002-2004 GPAC Team"]
   title "Non-linear conditional test"
  }
  DEF N0 Conditional {
   buffer {
    REPLACE N1.point BY [-75 0 -40 75 40 75 75 0 40 -75 -40 -75]
   }
  }
  DEF N2 Conditional {
   buffer {
    REPLACE N1.point BY [-100 0 -50 100 50 100 100 0 50 -100 -50 -100]
    DELETE ROUTE R0
    DELETE ROUTE R1
   }
  }
  Transform2D {
   scale 0.5 0.5
   children [
    Shape {
     appearance Appearance {
      material Material2D {
       emissiveColor 1 0 0
       filled TRUE
      }
     }
     geometry IndexedFaceSet2D {
      coord DEF N1 Coordinate2D {
       point [-100 0 -50 100 50 100 100 0 50 -100 -50 -100]
      }
     }
    }
    DEF N3 TouchSensor {}
   ]
  }
 ]
}

DEF R0 ROUTE N3.isActive TO N0.activate
DEF R1 ROUTE N3.isActive TO N2.reverseActivate

