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

OrderedGroup {
 children [
  Background2D {
   backColor 1 1 1
  }
  WorldInfo {
   info ["This shows Form node" "with different vertical spreads" "" "GPAC Regression Tests" "$Date: 2007-07-27 09:46:07 $ - $Revision: 1.2 $" "(C) 2002-2004 GPAC Team"]
   title "Form Test"
  }
  Transform2D {
   translation -120 20
   children [
    DEF FORM Shape {
     appearance Appearance {
      material Material2D {
       emissiveColor 0 0 0
      }
     }
     geometry Rectangle {
      size 100 200
     }
    }
    Transform2D {
     translation 0 -120
     children [
      Shape {
       appearance DEF APP Appearance {
        material Material2D {
         emissiveColor 0 0 0
         filled TRUE
        }
       }
       geometry Text {
        string ["Constraints:" "AT SV 10"]
        fontStyle DEF FS FontStyle {
         justify ["MIDDLE"]
         size 16
        }
       }
      }
     ]
    }
    Form {
     size 100 200
     groups [1 -1 2 -1 3 -1]
     constraints ["AT" "SV 10"]
     groupsIndex [0 1 -1 1 2 3 -1]
     children [
      DEF S1 Shape {
       appearance Appearance {
        material Material2D {
         emissiveColor 1 0 0
         filled TRUE
        }
       }
       geometry Rectangle {
        size 50 30
       }
      }
      DEF S2 Shape {
       appearance Appearance {
        material Material2D {
         emissiveColor 0 1 0
         filled TRUE
        }
       }
       geometry Circle {
        radius 20
       }
      }
      DEF S3 Shape {
       appearance Appearance {
        material Material2D {
         emissiveColor 0 0 1
         filled TRUE
        }
       }
       geometry Rectangle {
        size 60 40
       }
      }
     ]
    }
   ]
  }
  Transform2D {
   translation 0 20
   children [
    USE FORM
    Transform2D {
     translation 0 -120
     children [
      Shape {
       appearance USE APP
       geometry Text {
        string ["Constraints:" "AT AB SV"]
        fontStyle USE FS
       }
      }
     ]
    }
    Form {
     size 100 200
     groups [1 -1 2 -1 3 -1]
     constraints ["AT" "AB" "SV"]
     groupsIndex [0 1 -1 0 3 -1 1 2 3 -1]
     children [
      USE S1
      USE S2
      USE S3
     ]
    }
   ]
  }
  Transform2D {
   translation 120 20
   children [
    USE FORM
    Transform2D {
     translation 0 -120
     children [
      Shape {
       appearance USE APP
       geometry Text {
        string ["Constraints:" "SVin"]
        fontStyle USE FS
       }
      }
     ]
    }
    Form {
     size 100 200
     groups [1 -1 2 -1 3 -1]
     constraints ["SVin"]
     groupsIndex [1 2 3 -1]
     children [
      USE S1
      USE S2
      USE S3
     ]
    }
   ]
  }
 ]
}


