InitialObjectDescriptor {
 objectDescriptorID 1
 ODProfileLevelIndication 1
 esDescr [
  ES_Descriptor {
   ES_ID 1
   decConfigDescr DecoderConfigDescriptor {
    objectTypeIndication 1
    streamType 3
    bufferSizeDB 177
    decSpecificInfo BIFSConfig {
     nodeIDbits 24
     isCommandStream true
     pixelMetric true
     pixelWidth 400
     pixelHeight 300
    }
   }
  }
 ]
}

OrderedGroup {
 children [
  Background2D {backColor 1 1 1}
  WorldInfo {
   info [
    "This test shows usage of the EnvironmentTest node. The various settings of the node are tested."
    "" 
    "GPAC Regression Tests" "$Date: $ - $Revision: $" 
    "(C) 2010-200X GPAC Team"
   ]
   title "EnvironmentTest Node testing"
  }

  Transform2D {
   translation 0 50
   children [
    Shape {
     appearance DEF APP Appearance {
      material Material2D {
       emissiveColor 0 0 0
       filled true
      }
     }
     geometry Text {
      string ["Width:"]
      fontStyle DEF FSEND FontStyle {
       size 24
       justify "END"
      }
     }
    }
    Shape {
     appearance USE APP 
     geometry DEF T1 Text {
      string [""]
      fontStyle DEF FSBEGIN FontStyle {
       size 24
       justify "BEGIN"
      }
     }
    }
   ]
  }
  Transform2D {
   children [
    Shape {
     appearance USE APP
     geometry Text {
      string ["Height:"]
      fontStyle USE FSEND
     }
    }
    Shape {
     appearance USE APP 
     geometry DEF T2 Text {
      string [""]
      fontStyle USE FSBEGIN 
     }
    }
   ]
  }

  Transform2D {
   translation 0 -50
   children [
    Shape {
     appearance USE APP
     geometry Text {
      string ["Portrait:"]
      fontStyle USE FSEND
     }
    }
    Shape {
     appearance USE APP 
     geometry DEF T3 Text {
      string [""]
      fontStyle USE FSBEGIN 
     }
    }
   ]
  }

  DEF V1 Valuator {}
  DEF EV1 EnvironmentTest {
   parameter 2
  }

  DEF V2 Valuator {}
  DEF EV2 EnvironmentTest {
   parameter 3
  }

  DEF V3 Valuator {}
  DEF EV3 EnvironmentTest {
   parameter 1
  }
 ]
}

ROUTE EV1.parameterValue TO V1.inSFString
ROUTE V1.outMFString TO T1.string 

ROUTE EV2.parameterValue TO V2.inSFString
ROUTE V2.outMFString TO T2.string 

ROUTE EV3.valueEqual TO V3.inSFBool
ROUTE V3.outMFString TO T3.string 
