InitialObjectDescriptor {
  objectDescriptorID 1
  ODProfileLevelIndication 0xFF
  sceneProfileLevelIndication 0xFE
  audioProfileLevelIndication 0xFF
  visualProfileLevelIndication 0xFF
  graphicsProfileLevelIndication 0xFE

  esdescr [
    ES_Descriptor {
      es_id 1
      decConfigDescr DecoderConfigDescriptor {
				streamType 3
				decSpecificInfo BIFSConfig {
				  isCommandStream true
				  pixelMetric true
				  pixelWidth 200
				  pixelHeight 200
				}
      }
    }
  ]
}

Group { 
 children [

  WorldInfo {
   title "Transform test"
   info ["This shows 3D transform on a box" "using DEF/USE and oriented scaling" "" "GPAC Regression Tests" "$Date: 2007-07-27 09:46:08 $ - $Revision: 1.2 $" "(C) 2002-2004 GPAC Team"]
  }

  DEF TR Transform {
  	translation -50 0 0
  	children [
     Shape {
     	appearance Appearance {
     		material DEF MAT Material {
     			diffuseColor 1 1 0
     		}
     	}
      geometry Box {size 50 50 50}
     }
    ]
  }
  DEF TS TimeSensor { cycleInterval 2.0 loop TRUE }
  DEF OI OrientationInterpolator  {
  	key [0 0.5 1]
  	keyValue [1 1 1 0, 1 1 1 3.14, 1 1 1 6.26]
 	}
  Transform {
  	translation 100 0 0
  	scale 0.5 0.5 1
  	scaleOrientation 1 0 0 0.2
  	children [
  		USE TR
  	]
  		
  }
 ]
}

ROUTE TS.fraction_changed TO OI.set_fraction
ROUTE OI.value_changed TO TR.rotation
