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 200
				  pixelHeight 200
				}
      }
    }
  ]
}

Group { 
 children [
  WorldInfo {
   title "Anchor and Viewpoints test"
   info ["This shows anchors triggering viewpoint binding" "" "GPAC Regression Tests" "$Date: 2007-07-27 09:46:10 $ - $Revision: 1.3 $" "(C) 2002-2004 GPAC Team"]
  }

	DEF VP1 Viewpoint {description "Front View" position 0 0 300}
	DEF VP2 Viewpoint {description "Above View" position 0 300 30 orientation 1 0 0 -1.2 }
	
	DEF TR Transform {
  	translation 50 0 0
  	children [
  		Anchor {
  			url "#VP2"
  			children [
		     Shape {
		     	appearance Appearance {
		     		material Material {
		     			diffuseColor 0 1 1
		     		}
		     	}
		      geometry DEF BOX Box {size 50 50 50}
		     }
		    ]
		  }
  	]
  }
	
  Transform {
  	translation -80 0 20
  	children [
     Shape {
     	appearance Appearance {
     		material Material2D { emissiveColor 1 0 0 filled TRUE }
     	}
      geometry DEF RC_RED Rectangle {size 100 100}
     }
	  ]
  }

	Anchor {
		url "bifs-3D-viewpoint-bind.mp4#VP2"
		children [
			Shape {
				appearance Appearance {
					material Material2D { emissiveColor 1 1 1 filled TRUE }
				}
				geometry DEF RC_WHITE Rectangle { size 200 200 }
			}
 		]
 	}		

  Transform {
  	translation -30 0 0
  	children [
     Shape {
     	appearance Appearance {
     		material DEF MAT Material {
     			diffuseColor 1 1 0
     		}
     	}
      geometry DEF SPHERE Sphere {radius 30}
     }
    ]
  }
 ]
}
