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

OrderedGroup {
 children [
  WorldInfo {
   info [
    "This test shows field replacement using BIFS commands."
    "At initialization, the scene shows a polygon filled in red"
    "At 2s, the scene is modified and the polygon is not filled, just the border is diplayed."
    "The command used in this sequence replaces the content of the field and not just a single value"
    "It applies to both SFField and MFField, for replacement of single value in an MFField, use Indexed Replacement"
    "cf bifs-command-replace-index"
    ""
    "GPAC Regression Tests" "$Date: 2007-07-27 09:46:09 $ - $Revision: 1.3 $" 
    "(C) 2002-2004 GPAC Team"]
   title "Field Replacement"
  }
  DEF BACK Background2D {
   backColor 1 1 1
  }
  DEF TR Transform2D {
   scale 0.5 0.5
   children [
    Shape {
     appearance Appearance {
      material DEF MAT Material2D {
       emissiveColor 1 0 0
       filled TRUE
      }
     }
     geometry IndexedFaceSet2D {
      coord DEF COORD Coordinate2D {
       point [-100 0 -50 100 50 100 100 0 50 -100 -50 -100]
      }
     }
    }
   ]
  }
 ]
}


AT 2000 {
 REPLACE MAT.filled BY FALSE
}

