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
				}
      }
    }
    ES_Descriptor {
      es_id 2
      decConfigDescr DecoderConfigDescriptor {
				streamType 1
      }
    }
  ]
}

Group { 
 children [

  WorldInfo {
   title "Texture Transform test"
   info ["This shows a 3D cube" "mapped with an alpha PNG and texture transform" "" "GPAC Regression Tests" "$Date: 2007-07-27 09:46:08 $ - $Revision: 1.2 $" "(C) 2002-2004 GPAC Team"]
  }
			
	DEF TR Transform {
  	rotation 1 1 1 0.75
  	children [
     Shape {
     	appearance Appearance {
     		material DEF MAT Material {}
     		textureTransform DEF MX TransformMatrix2D {mxx 3 myy 2}
	      texture ImageTexture { url "10"}
   	 }
     geometry Box {size 64 64 64 }
    }
   ]
  }

  DEF TS TimeSensor { cycleInterval 8.0 loop TRUE }
  DEF SI ScalarInterpolator  {
  	key [0 0.25 0.5 0.75 1]
  	keyValue [1 1 1 6 1]
 	}
  DEF SI2 ScalarInterpolator  {
  	key [0 0.25 0.5 0.75 1]
  	keyValue [1 6 1 1 1]
 	}
  DEF CI ColorInterpolator {
  	key [0 0.5 1]
  	keyValue [1 1 1, 0 0 1, 1 1 1]
 	}
 ]
}

ROUTE TS.fraction_changed TO SI.set_fraction
ROUTE SI.value_changed TO MX.mxy
ROUTE TS.fraction_changed TO SI2.set_fraction
ROUTE SI2.value_changed TO MX.myx
ROUTE TS.fraction_changed TO CI.set_fraction
ROUTE CI.value_changed TO MAT.diffuseColor

AT 0 {
	UPDATE OD [
		ObjectDescriptor {
		  objectDescriptorID  10
		  esDescr [
		    ES_Descriptor {
		      ES_ID 20
		      muxInfo MuxInfo {
		       fileName "../auxiliary_files/logo.jpg"
		      }
		    }
		  ]
		}
	]
}

