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

OrderedGroup {
 children [
  Background2D {
   backColor 1 1 1
  }
  WorldInfo {
   info [
    "This test shows how to specify the filling and simple outlining of 2D shapes"
    "It uses the Material2D node. The filled property indicates if the shape is filled or not. The emissiveColor property specifies the fill color if filled or the outline color if not filled. Transparency can be set using the transparency property." 
    "In this simple example, the width and other properties of the outline cannot be set. To set more properties, use the LineProperties or XLineProperties nodes." 
    "cf bifs-2D-painting-lineproperties" 
    "cf bifs-2D-painting-xlineproperties-cap"
    "cf bifs-2D-painting-xlineproperties-compositetexture2D"
    "cf bifs-2D-painting-xlineproperties-dash"
    "cf bifs-2D-painting-xlineproperties-imagetexture"
    "cf bifs-2D-painting-xlineproperties-join"
    "cf bifs-2D-painting-xlineproperties-lineargradient"
    "cf bifs-2D-painting-xlineproperties-radialgradient"
    "cf bifs-2D-painting-xlineproperties-scalable"
    "cf bifs-2D-painting-xlineproperties-transparent"
    "" 
    "GPAC Regression Tests" "$Date: 2007-07-27 09:46:07 $ - $Revision: 1.4 $" 
    "(C) 2002-2006 GPAC Team"]
   title "Material2D properties"
  }
  Transform2D {
   translation -180 0
   children [
    DEF TR Transform2D {
     children [
      Shape {
       appearance Appearance {
        material Material2D {
         emissiveColor 0 0 0
         filled TRUE
        }
       }
       geometry Rectangle {
        size 80 80
       }
      }
     ]
    }
    Shape {
     appearance Appearance {
      material Material2D {
       emissiveColor 1 0 1
      }
     }
     geometry DEF REC Rectangle {
      size 150 100
     }
    }
    Transform2D {
     translation 0 -70
     children [
      Shape {
       appearance DEF TEXTAPP Appearance {
        material Material2D {
         emissiveColor 0 0 0
         filled TRUE
        }
       }
       geometry Text {
        string ["Not filled, Color 1 0 1"]
        fontStyle DEF FS FontStyle {
         justify ["MIDDLE" "MIDDLE"]
         size 14
        }
       }
      }
     ]
    }
   ]
  }
  Transform2D {
   children [
    USE TR
    Shape {
     appearance Appearance {
      material Material2D {
       emissiveColor 1 0 1
       filled TRUE
      }
     }
     geometry USE REC
    }
    Transform2D {
     translation 0 -70
     children [
      Shape {
       appearance USE TEXTAPP
       geometry Text {
        string ["filled, Color 1 0 1"]
        fontStyle USE FS
       }
      }
     ]
    }
   ]
  }
  Transform2D {
   translation 180 0
   children [
    USE TR
    Shape {
     appearance Appearance {
      material DEF M Material2D {
       emissiveColor 1 0 1
       filled TRUE
       transparency 0.6
      }
     }
     geometry USE REC
    }
    Transform2D {
     translation 0 -70
     children [
      Shape {
       appearance USE TEXTAPP
       geometry Text {
        string ["filled, Color 1 0 1" "transparency 0.6"]
        fontStyle USE FS
       }
      }
     ]
    }
   ]
  }
 ]
}
