InitialObjectDescriptor {
 objectDescriptorID 1
 audioProfileLevelIndication 255
 visualProfileLevelIndication 255
 sceneProfileLevelIndication 254
 graphicsProfileLevelIndication 254
 ODProfileLevelIndication 255
 esDescr [
  ES_Descriptor {
   ES_ID 1
   decConfigDescr DecoderConfigDescriptor {
    streamType 3
    decSpecificInfo BIFSConfig {
     isCommandStream true
     pixelMetric true
     pixelWidth 320
     pixelHeight 200
    }
   }
  }
 ]
}

OrderedGroup {
 children [
  DEF B1 Background2D {
   backColor $FFFFFF
  }
  DEF B2 Background2D {
   backColor 1 0 0
  }
  WorldInfo {
   info [
    "This shows 2 Background2D nodes and the bind mechanism" 
    "" 
    "GPAC Regression Tests" "$Date: 2007-07-27 09:37:08 $ - $Revision: 1.4 $" 
    "(C) 2002-2006 GPAC Team"
   ]
   title "Background Test"
  }
  Transform2D {
   children [
    Shape {
     appearance Appearance {
      material Material2D {
       emissiveColor 0 1 0
       filled TRUE
      }
     }
     geometry Rectangle {
      size 100 100
     }
    }
    DEF TS TouchSensor {}
   ]
  }
  DEF C2 Conditional {
   buffer {
    REPLACE B1.set_bind BY TRUE
   }
  }
  DEF C1 Conditional {
   buffer {
    REPLACE B2.set_bind BY TRUE
   }
  }
 ]
}

ROUTE TS.isOver TO C1.activate
ROUTE TS.isOver TO C2.reverseActivate
