<MTSScene Version="3" > <MTSSceneParms AntiAlias="1" DoShadow="1" RequiresClear="1" BlendShadow="1" BoundShadow="1" ShadowY="-0.2375" ShadowOpacity="0.85" ShadowRadius="10" AccumMax="12" EdgeBias="1" EdgeEffect="0" SortRule="-1" FilterMinimumMilliSecs="100" AntiAliasMinimumMilliSecs="333" DoHilite="0" Prelite="0" VirtualMouse="1" > <Transform> <Scale x="1" y="1" z="1" /> <Shear xy="0" yz="0" xz="0" /> <Rotate x="0" y="0" z="0" /> <Position x="0" y="0" z="0" /> </Transform> </MTSSceneParms> <MTSCamera Mode="Orbit" CameraDistMin="0" CameraDistMax="10000000" CameraRotateMin="-90.000003 -180.000005 -180.000005" CameraRotateMax="90.000003 180.000005 180.000005" CameraScaleMin="0.2 0.2 0.2" CameraScaleMax="10000000 10000000 10000000" PreliteColor="0 0 0.99" StickyMouse="0" SenseMouse="0" OrbitDist="4" > <Rotate x="0.57296" y="-2.29183" z="0" /> <Translate x="0" y="0" z="0" /> <Pivot x="0" y="0" z="0" /> <Scale x="1" y="1" z="1" /> <ViewLocation x="0" y="0" z="4" /> <LookAt x="0" y="0" z="0" /> <Translate2d x="0" y="0" z="0" /> </MTSCamera> <!-- Keyframes for the animation --> <MTSTextureMap Name="4x4" /> <MTSTextureMap Name="gasPump_512CLR" /> <MTSTextureMap Name="jeep" /> <!-- cube --> <MTSInstance Name="Simple_0" AntiAlias="1" Visible="1" DoShadow="1" Collapsed="0" PassClick="0" ZBuffer="1" EdgeFlag="0" Billboard="0" Opacity="1" Dragable="0" CursorOver="0" PreliteColor="0 0 0.99" > <Transform> <Scale x="0.5" y="0.5" z="0.5" /> <Shear xy="0" yz="0" xz="0" /> <Rotate x="0" y="0" z="0" /> <Position x="0" y="0" z="0" /> </Transform> <MTSGeometry Name="MTSSimple_0" BackFaceCull="1" BackFaceDir="1" CreaseAngle="60" SpecWrap="0" Type="MTSCube" CubeMapping="0" > <Transform> <Scale x="1" y="1" z="1" /> <Shear xy="0" yz="0" xz="0" /> <Rotate x="0" y="0" z="0" /> <Position x="0" y="0" z="0" /> </Transform> </MTSGeometry> <MTSMaterial ID="0" Opacity="1" Dither="0" RenderMode="Default" > <MTSTextureMap Type="Diffuse" Name="allexternal_TEXTURE_0" /> <MTSColor Type="Diffuse" r="0.65" g="0.65" b="0.65" /> </MTSMaterial> </MTSInstance> <!-- Texture Animation Starts Here --> <MTSTimeElem Type="Keyframe" Name="changetexture" On="0" > <Target Name="MTSTexture.allexternal_TEXTURE_0" Property="pixl" Timeline="T0" /> <Time> 0 4 8 </Time> <Timeline Name="T0" Type="Texture"> * [ MTSTexture.gasPump_512CLR ] [ MTSTexture.jeep ] </Timeline> </MTSTimeElem> <!-- Second Texture Animation Starts Here --> <MTSTimeElem Type="Keyframe" Name="backtostart" On="0" > <Target Name="MTSTexture.allexternal_TEXTURE_0" Property="pixl" Timeline="T0" /> <Time> 0 0.5 4 </Time> <Timeline Name="T0" Type="Texture"> * [ MTSTexture.gasPump_512CLR ] [ MTSTexture.4x4 ] </Timeline> </MTSTimeElem> <!-- XML to assign a texture onto the cube --> <MTSTimeElem Type="MTSImageStream" On="1" Path="4x4.jpg" > <Target Name="MTSTexture.allexternal_TEXTURE_0" /> </MTSTimeElem> <MTSTimeElem Type="MTSImageStream" On="1" Path="4x4.jpg" > <Target Name="MTSTexture.4x4" /> </MTSTimeElem> <MTSTimeElem Type="MTSImageStream" On="1" Path="gasPump_512CLR.jpg" > <Target Name="MTSTexture.gasPump_512CLR" /> </MTSTimeElem> <MTSTimeElem Type="MTSImageStream" On="1" Path="jeep.jpg" > <Target Name="MTSTexture.jeep" /> </MTSTimeElem> </MTSScene>