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

OrderedGroup {
 children [
  Background2D {
   backColor 1 1 1
  }
  WorldInfo {
   info [
    "This test shows a bit more how to use the IndexedFaceSet2D node with different color fill modes."
    "This node can hold a Coordinate2D node to list points and use the coordIndex field to form faces (-1 separated indexes)."
    "Each face can have different color. If colorPerVertex is TRUE each point has a separate color and the result is that a face is filled using color interpolation."
    "" 
    "GPAC Regression Tests" "$Date: 2007-07-27 09:46:08 $ - $Revision: 1.3 $" 
    "(C) 2002-2006 GPAC Team"
   ]
   title "IndexedFaceSet2D and Color Modes"
  }
  Transform2D {
   scale 0.8 0.8
   translation -120 120
   children [
    Shape {
     appearance Appearance {
      material DEF MAT Material2D {
       lineProps DEF LP LineProperties {
        width 6
       }
      }
     }
     geometry IndexedFaceSet2D {
      colorIndex [0 1 2 3 4 5]
      coordIndex [0 1 2 3 4 5]
      color Color {
       color [0 0 1 0 1 0 1 0 0 1 1 0 1 0 1 0 1 1]
      }
      coord Coordinate2D {
       point [-100 0 -50 100 50 100 100 0 50 -100 -50 -100]
      }
     }
    }
   ]
  }
  Transform2D {
   scale 0.8 0.8
   translation 120 120
   children [
    Shape {
     appearance Appearance {
      material Material2D {
       filled TRUE
      }
     }
     geometry IndexedFaceSet2D {
      colorIndex [0 1 2 3 4 5]
      coordIndex [0 1 2 3 4 5]
      color Color {
       color [0 0 1 0 1 0 1 0 0 1 1 0 1 0 1 0 1 1]
      }
      coord Coordinate2D {
       point [-100 0 -50 100 50 100 100 0 50 -100 -50 -100]
      }
     }
    }
   ]
  }
  Transform2D {
   scale 0.8 0.8
   translation -120 -120
   children [
    Shape {
     appearance Appearance {
      material Material2D {
       lineProps USE LP
      }
     }
     geometry DEF IFS2 IndexedFaceSet2D {
      coord Coordinate2D {
       point [-100 0 -50 100 50 100 100 0 50 -100 -50 -100]
      }
     }
    }
   ]
  }
  Transform2D {
   scale 0.8 0.8
   translation 120 -120
   children [
    Shape {
     appearance Appearance {
      material Material2D {
       filled TRUE
      }
     }
     geometry USE IFS2
    }
   ]
  }
 ]
}


