InitialObjectDescriptor {
  objectDescriptorID 1
  ODProfileLevelIndication 0xFF
  sceneProfileLevelIndication 0xFE
  audioProfileLevelIndication 0xFF
  visualProfileLevelIndication 0xFF
  graphicsProfileLevelIndication 0xFE

  esdescr [
    ES_Descriptor {
      es_id 1
      decConfigDescr DecoderConfigDescriptor {
				streamType 3
				decSpecificInfo BIFSConfig {
				  isCommandStream true
				  pixelMetric true
				  pixelWidth 380
				  pixelHeight 300
				}
      }
    }
    ES_Descriptor {
      es_id 2
      decConfigDescr DecoderConfigDescriptor {
				streamType 1
      }
    }
  ]
}

Group { 
 children [
	Background2D { backColor 1 1 1}
  WorldInfo {
   title "Cylinder test"
   info ["This shows a cylinder" "with and without cap and side and a texture map" "" "GPAC Regression Tests" "$Date: 2007-07-27 09:46:08 $ - $Revision: 1.2 $" "(C) 2002-2004 GPAC Team"]
  }

  Transform {
  	translation -100 100 0
  	children [
     Shape {
     	appearance DEF APP Appearance {
				material Material {diffuseColor 1.0 0.0 0.0 }
				texture	ImageTexture {  url "5" }
     	}
      geometry Cylinder {height 150 radius 25}
     }
    ]
  }
  Transform {
  	translation 0 100 0
  	rotation 1 0 0 0.78
  	children [
     Shape {
     	appearance USE APP
      geometry Cylinder {height 150 radius 25 top FALSE}
     }
    ]
  }
  Transform {
  	translation -100 -100 0
  	rotation 1 0 0 -0.78
  	children [
     Shape {
     	appearance USE APP
      geometry Cylinder {height 150 radius 25 bottom FALSE}
     }
    ]
  }
  Transform {
  	translation 0 -100 0
  	rotation 1 0 0 1.2
  	children [
     Shape {
     	appearance USE APP
      geometry Cylinder {height 150 radius 25 bottom FALSE top FALSE}
     }
    ]
  }
  Transform {
  	translation 100 0 0
  	children [
     Shape {
     	appearance USE APP
      geometry Cylinder {height 150 radius 25 side FALSE }
     }
    ]
  }
 ]
}

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