<MTSScene Version="3" > <MTSSceneParms AntiAlias="1" DoShadow="1" BlendShadow="1" BoundShadow="0" ShadowOpacity="0.85" ShadowRadius="5" ShadowY="-0.8625" /> <MTSCamera OrbitDist="4" > <Rotate x="0" y="0" z="0" /> <ViewLocation x="0" y="0" z="4" /> </MTSCamera> <MTSInstance Name="cone-sphere" > <MTSInstance Name="Simple_0" > <Transform> <Scale x="0.3" y="0.5" z="0.3" /> <Position x="-1" y="0" z="0" /> </Transform> <MTSGeometry Name="MTSSimple_0" Type="MTSCone" Resolution="10" Segments="10" StartDegrees="0" EndDegrees="360" /> <MTSMaterial Name="cone-sphere_MATERIAL_0" ID="0" > <MTSColor Type="Diffuse" r="0" g="0" b="1"/> </MTSMaterial> </MTSInstance> <MTSInstance Name="Simple_1" > <Transform> <Scale x="0.5" y="0.5" z="0.5" /> <Position x="1" y="0" z="0" /> </Transform> <MTSGeometry Name="MTSSimple_1" Type="MTSSphere" Resolution="50" Segments="10" StartDegrees="0" EndDegrees="360" /> <MTSMaterial Name="cone-sphere_MATERIAL_1" ID="0" > <MTSColor Type="Diffuse" r="1" g="0" b="0"/> </MTSMaterial> </MTSInstance> </MTSInstance> <MTSTimeElem Type="MTSStream" Name="cone-sphere" On="1" Path="cone-sphere.mts" > <Target Name="MTSInstance.cone-sphere" /> </MTSTimeElem> <!-- This section contains 3 animations. The first animates the cone, the second animates the sphere, and the third animates both the cone and the sphere --> <!-- Cone animation --> <MTSTimeElem Name="anim1" Type="Keyframe" On="0"> <Target Name="Simple_0" Property="loc_" Timeline="T1"/> <Time> 0 2 4</Time> <Timeline Name="T1" Type="3D"> * [-1 1 0] [-1 0 0]</Timeline> </MTSTimeElem> <!-- Sphere animation --> <MTSTimeElem Name="anim2" Type="Keyframe" On="0"> <Target Name="Simple_1" Property="loc_" Timeline="T2"/> <Time> 0 2 4</Time> <Timeline Name="T2" Type="3D"> * [1 1 0] [1 0 0]</Timeline> </MTSTimeElem> <!-- Combined animation of cone and sphere --> <MTSTimeElem Name="anim3" Type="Keyframe" On="0"> <Target Name="Simple_0" Property="loc_" Timeline="T1"/> <Target Name="Simple_1" Property="loc_" Timeline="T2"/> <Time> 0 2 4</Time> <Timeline Name="T1" Type="3D"> * [-1 1 0] [-1 0 0]</Timeline> <Timeline Name="T2" Type="3D"> * [1 1 0] [1 0 0]</Timeline> </MTSTimeElem> </MTSScene>