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 false
				  pixelWidth 400
				  pixelHeight 400
				}
      }
    }
  ]
}

Group { 
 children [

  WorldInfo {
   title "IndexedLineSet test"
   info ["This shows an ILS" "with and without color per vertex" "" "GPAC Regression Tests" "$Date: 2007-07-27 09:46:08 $ - $Revision: 1.2 $" "(C) 2002-2004 GPAC Team"]
  }

  Transform {
  	translation -1.5 0 0
  	children [
     Shape {
     	geometry IndexedLineSet {
     		coord DEF COORD Coordinate {
     			point [
     				# the top of the cube
						-1.0 1.0 1.0,
						1.0 1.0 1.0,
						1.0 1.0 -1.0,
						-1.0 1.0 -1.0,
						# around the bottom of the cube
						-1.0 -1.0 1.0,
						1.0 -1.0 1.0,
						1.0 -1.0 -1.0,
						-1.0 -1.0 -1.0
					]
				}
				coordIndex [ 
					# top
					0, 1, 2, 3, 0, -1,
					# bottom
					4, 5, 6, 7, 4, -1,
					# vertical edges
					0, 4, -1,
					1, 5, -1,
					2, 6, -1,
					3, 7
				]
				color Color {
					color [1 0 0, 0 1 0, 0 0 1, 1 1 0]
				}
				colorPerVertex TRUE
				colorIndex [0, 1, 2, 3, 0, -1, 0, 1, 2, 3, 0, -1, 0, 3, -1, 0, 2, -1, 0, 1, -1, 1 3]
			}
	   }
   ]
  }
  Transform {
  	translation 1.5 0 0
  	children [
     Shape {
     	geometry IndexedLineSet {
     		coord USE COORD 
				coordIndex [ 
					# top
					0, 1, 2, 3, 0, -1,
					# bottom
					4, 5, 6, 7, 4, -1,
					# vertical edges
					0, 4, -1,
					1, 5, -1,
					2, 6, -1,
					3, 7
				]
				color Color {
					color [1 0 0, 0 1 0, 0 0 1, 1 1 0, 0 1 1, 1 0 1]
				}
				colorPerVertex FALSE
				colorIndex [0, 1, 2, 3, 4, 5]
			}
		}
   ]
  }
 ]
}
