InitialObjectDescriptor {
 objectDescriptorID 1
 audioProfileLevelIndication 1
 visualProfileLevelIndication 1
 sceneProfileLevelIndication 1
 graphicsProfileLevelIndication 1
 ODProfileLevelIndication 1
 esDescr [
  ES_Descriptor {
   ES_ID 2
   decConfigDescr DecoderConfigDescriptor {
    streamType 3
    decSpecificInfo BIFSConfig {
     isCommandStream true
     pixelMetric true
     pixelWidth 600
     pixelHeight 400
    }
   }
  }
  ES_Descriptor {
   ES_ID 1
   decConfigDescr DecoderConfigDescriptor {
    streamType 1
   }
  }
 ]
}

OrderedGroup {
 children [
  DEF B1 Background2D {
   url [od:10]
  }
  WorldInfo {
   info ["This shows usage of Viewport in the scene" "viewport can be changed through the player's viewport list" "" "GPAC Regression Tests" "$Date: 2007-07-27 09:46:08 $ - $Revision: 1.2 $" "(C) 2002-2004 GPAC Team"]
   title "Viewport Test"
  }
  DEF VP Viewport {
   size 200 200
   orientation 0.5
   alignment [0 0]
   fit 2
   description "basic Viewport"
  }
  Transform2D {
   children [
    Shape {
     appearance Appearance {
      texture RadialGradient {
       focalPoint 0.5 0.5
       key [0 1]
       keyValue [0 1 0 0 1 1]
       radius 0.8
      }
     }
     geometry Rectangle {
      size 100 100
     }
    }
    DEF TS TouchSensor {}
   ]
  }
 ]
}

ROUTE TS.isOver TO VP.set_bind

AT 0 {
 REPLACE VP.set_bind BY FALSE
}

AT 0 {
  UPDATE OD [
   ObjectDescriptor {
    objectDescriptorID 10
    esDescr [
     ES_Descriptor {
      ES_ID 22
      muxInfo MuxInfo {
       fileName "../auxiliary_files/sky.jpg"
      }
     }
    ]
   }
  ]
}

