diff options
Diffstat (limited to 'examples/qt3d/scene_animations/cube_rotated.dae')
-rw-r--r-- | examples/qt3d/scene_animations/cube_rotated.dae | 561 |
1 files changed, 561 insertions, 0 deletions
diff --git a/examples/qt3d/scene_animations/cube_rotated.dae b/examples/qt3d/scene_animations/cube_rotated.dae new file mode 100644 index 000000000..ac681b5fb --- /dev/null +++ b/examples/qt3d/scene_animations/cube_rotated.dae @@ -0,0 +1,561 @@ +<?xml version="1.0" encoding="utf-8"?> +<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.0"> + <asset> + <contributor> + <author></author> + <authoring_tool>FBX COLLADA exporter</authoring_tool> + <comments></comments> + </contributor> + <created>2012-01-09T10:08:02Z</created> + <modified>2012-01-09T10:08:02Z</modified> + <revision></revision> + <title></title> + <subject></subject> + <keywords></keywords> + <unit meter="0.025400"/> + <up_axis>Y_UP</up_axis> + </asset> + <library_images> + <image id="Map__2-image" name="Map__2"> + <init_from>file://stonewal.jpg</init_from> + </image> + <image id="Map__1-image" name="Map__1"> + <init_from>file://stonewal.jpg</init_from> + </image> + </library_images> + <library_materials> + <material id="_02___Default" name="_02___Default"> + <instance_effect url="#_02___Default-fx"/> + </material> + <material id="_01___Default" name="_01___Default"> + <instance_effect url="#_01___Default-fx"/> + </material> + </library_materials> + <library_effects> + <effect id="_02___Default-fx" name="_02___Default"> + <profile_COMMON> + <technique sid="standard"> + <phong> + <emission> + <color sid="emission">0.000000 0.000000 0.000000 1.000000</color> + </emission> + <ambient> + <color sid="ambient">0.588235 0.588235 0.588235 1.000000</color> + </ambient> + <diffuse> + <texture texture="Map__2-image" texcoord="CHANNEL0"> + <extra> + <technique profile="MAYA"> + <wrapU sid="wrapU0">TRUE</wrapU> + <wrapV sid="wrapV0">TRUE</wrapV> + <blend_mode>ADD</blend_mode> + </technique> + </extra> + </texture> + </diffuse> + <specular> + <color sid="specular">0.000000 0.000000 0.000000 1.000000</color> + </specular> + <shininess> + <float sid="shininess">2.000000</float> + </shininess> + <reflective> + <color sid="reflective">0.000000 0.000000 0.000000 1.000000</color> + </reflective> + <reflectivity> + <float sid="reflectivity">1.000000</float> + </reflectivity> + <transparent> + <color sid="transparent">1.000000 1.000000 1.000000 1.000000</color> + </transparent> + <transparency> + <float sid="transparency">0.000000</float> + </transparency> + </phong> + </technique> + </profile_COMMON> + </effect> + <effect id="_01___Default-fx" name="_01___Default"> + <profile_COMMON> + <technique sid="standard"> + <phong> + <emission> + <color sid="emission">0.000000 0.000000 0.000000 1.000000</color> + </emission> + <ambient> + <color sid="ambient">0.588235 0.588235 0.588235 1.000000</color> + </ambient> + <diffuse> + <texture texture="Map__1-image" texcoord="CHANNEL0"> + <extra> + <technique profile="MAYA"> + <wrapU sid="wrapU0">TRUE</wrapU> + <wrapV sid="wrapV0">TRUE</wrapV> + <blend_mode>ADD</blend_mode> + </technique> + </extra> + </texture> + </diffuse> + <specular> + <color sid="specular">0.000000 0.000000 0.000000 1.000000</color> + </specular> + <shininess> + <float sid="shininess">2.000000</float> + </shininess> + <reflective> + <color sid="reflective">0.000000 0.000000 0.000000 1.000000</color> + </reflective> + <reflectivity> + <float sid="reflectivity">1.000000</float> + </reflectivity> + <transparent> + <color sid="transparent">1.000000 1.000000 1.000000 1.000000</color> + </transparent> + <transparency> + <float sid="transparency">0.000000</float> + </transparency> + </phong> + </technique> + </profile_COMMON> + </effect> + </library_effects> + <library_geometries> + <geometry id="Box01-lib" name="Box01Mesh"> + <mesh> + <source id="Box01-lib-Position"> + <float_array id="Box01-lib-Position-array" count="24"> +-50.000000 -50.000000 0.000000 +50.000000 -50.000000 0.000000 +-50.000000 50.000000 0.000000 +50.000000 50.000000 0.000000 +-50.000000 -50.000000 1.000000 +50.000000 -50.000000 1.000000 +-50.000000 50.000000 1.000000 +50.000000 50.000000 1.000000 +</float_array> + <technique_common> + <accessor source="#Box01-lib-Position-array" count="8" stride="3"> + <param name="X" type="float"/> + <param name="Y" type="float"/> + <param name="Z" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box01-lib-Normal0"> + <float_array id="Box01-lib-Normal0-array" count="108"> +0.000000 0.000000 -1.000000 +0.000000 0.000000 -1.000000 +0.000000 0.000000 -1.000000 +0.000000 0.000000 -1.000000 +0.000000 0.000000 -1.000000 +0.000000 0.000000 -1.000000 +0.000000 0.000000 1.000000 +0.000000 0.000000 1.000000 +0.000000 0.000000 1.000000 +0.000000 0.000000 1.000000 +0.000000 0.000000 1.000000 +0.000000 0.000000 1.000000 +0.000000 -1.000000 0.000000 +0.000000 -1.000000 0.000000 +0.000000 -1.000000 0.000000 +0.000000 -1.000000 0.000000 +0.000000 -1.000000 0.000000 +0.000000 -1.000000 0.000000 +1.000000 0.000000 0.000000 +1.000000 0.000000 0.000000 +1.000000 0.000000 0.000000 +1.000000 0.000000 0.000000 +1.000000 0.000000 0.000000 +1.000000 0.000000 0.000000 +0.000000 1.000000 0.000000 +0.000000 1.000000 0.000000 +0.000000 1.000000 0.000000 +0.000000 1.000000 0.000000 +0.000000 1.000000 0.000000 +0.000000 1.000000 0.000000 +-1.000000 0.000000 0.000000 +-1.000000 0.000000 0.000000 +-1.000000 0.000000 0.000000 +-1.000000 0.000000 0.000000 +-1.000000 0.000000 0.000000 +-1.000000 0.000000 0.000000 +</float_array> + <technique_common> + <accessor source="#Box01-lib-Normal0-array" count="36" stride="3"> + <param name="X" type="float"/> + <param name="Y" type="float"/> + <param name="Z" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box01-lib-UV0"> + <float_array id="Box01-lib-UV0-array" count="24"> +0.000000 0.000000 +1.000000 0.000000 +0.000000 1.000000 +1.000000 1.000000 +0.000000 0.000000 +1.000000 0.000000 +0.000000 1.000000 +1.000000 1.000000 +0.000000 0.000000 +1.000000 0.000000 +0.000000 1.000000 +1.000000 1.000000 +</float_array> + <technique_common> + <accessor source="#Box01-lib-UV0-array" count="12" stride="2"> + <param name="S" type="float"/> + <param name="T" type="float"/> + </accessor> + </technique_common> + </source> + <vertices id="Box01-lib-Vertex"> + <input semantic="POSITION" source="#Box01-lib-Position"/> + </vertices> + <polygons material="_02___Default" count="12"> + <input semantic="VERTEX" offset="0" source="#Box01-lib-Vertex"/> + <input semantic="NORMAL" offset="1" source="#Box01-lib-Normal0"/> + <input semantic="TEXCOORD" offset="2" set="0" source="#Box01-lib-UV0"/> + <p>0 0 9 2 1 11 3 2 10</p> + <p>3 3 10 1 4 8 0 5 9</p> + <p>4 6 8 5 7 9 7 8 11</p> + <p>7 9 11 6 10 10 4 11 8</p> + <p>0 12 4 1 13 5 5 14 7</p> + <p>5 15 7 4 16 6 0 17 4</p> + <p>1 18 0 3 19 1 7 20 3</p> + <p>7 21 3 5 22 2 1 23 0</p> + <p>3 24 4 2 25 5 6 26 7</p> + <p>6 27 7 7 28 6 3 29 4</p> + <p>2 30 0 0 31 1 4 32 3</p> + <p>4 33 3 6 34 2 2 35 0</p> + </polygons> + </mesh> + </geometry> + <geometry id="Box02-lib" name="Box02Mesh"> + <mesh> + <source id="Box02-lib-Position"> + <float_array id="Box02-lib-Position-array" count="24"> +-20.000000 -20.000000 0.000000 +20.000000 -20.000000 0.000000 +-20.000000 20.000000 0.000000 +20.000000 20.000000 0.000000 +-20.000000 -20.000000 20.000000 +20.000000 -20.000000 20.000000 +-20.000000 20.000000 20.000000 +20.000000 20.000000 20.000000 +</float_array> + <technique_common> + <accessor source="#Box02-lib-Position-array" count="8" stride="3"> + <param name="X" type="float"/> + <param name="Y" type="float"/> + <param name="Z" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box02-lib-Normal0"> + <float_array id="Box02-lib-Normal0-array" count="108"> +0.000000 0.000000 -1.000000 +0.000000 0.000000 -1.000000 +0.000000 0.000000 -1.000000 +0.000000 0.000000 -1.000000 +0.000000 0.000000 -1.000000 +0.000000 0.000000 -1.000000 +0.000000 0.000000 1.000000 +0.000000 0.000000 1.000000 +0.000000 0.000000 1.000000 +0.000000 0.000000 1.000000 +0.000000 0.000000 1.000000 +0.000000 0.000000 1.000000 +0.000000 -1.000000 0.000000 +0.000000 -1.000000 0.000000 +0.000000 -1.000000 0.000000 +0.000000 -1.000000 0.000000 +0.000000 -1.000000 0.000000 +0.000000 -1.000000 0.000000 +1.000000 0.000000 0.000000 +1.000000 0.000000 0.000000 +1.000000 0.000000 0.000000 +1.000000 0.000000 0.000000 +1.000000 0.000000 0.000000 +1.000000 0.000000 0.000000 +0.000000 1.000000 0.000000 +0.000000 1.000000 0.000000 +0.000000 1.000000 0.000000 +0.000000 1.000000 0.000000 +0.000000 1.000000 0.000000 +0.000000 1.000000 0.000000 +-1.000000 0.000000 0.000000 +-1.000000 0.000000 0.000000 +-1.000000 0.000000 0.000000 +-1.000000 0.000000 0.000000 +-1.000000 0.000000 0.000000 +-1.000000 0.000000 0.000000 +</float_array> + <technique_common> + <accessor source="#Box02-lib-Normal0-array" count="36" stride="3"> + <param name="X" type="float"/> + <param name="Y" type="float"/> + <param name="Z" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box02-lib-UV0"> + <float_array id="Box02-lib-UV0-array" count="24"> +0.000000 0.000000 +1.000000 0.000000 +0.000000 1.000000 +1.000000 1.000000 +0.000000 0.000000 +1.000000 0.000000 +0.000000 1.000000 +1.000000 1.000000 +0.000000 0.000000 +1.000000 0.000000 +0.000000 1.000000 +1.000000 1.000000 +</float_array> + <technique_common> + <accessor source="#Box02-lib-UV0-array" count="12" stride="2"> + <param name="S" type="float"/> + <param name="T" type="float"/> + </accessor> + </technique_common> + </source> + <vertices id="Box02-lib-Vertex"> + <input semantic="POSITION" source="#Box02-lib-Position"/> + </vertices> + <polygons material="_01___Default" count="12"> + <input semantic="VERTEX" offset="0" source="#Box02-lib-Vertex"/> + <input semantic="NORMAL" offset="1" source="#Box02-lib-Normal0"/> + <input semantic="TEXCOORD" offset="2" set="0" source="#Box02-lib-UV0"/> + <p>0 0 9 2 1 11 3 2 10</p> + <p>3 3 10 1 4 8 0 5 9</p> + <p>4 6 8 5 7 9 7 8 11</p> + <p>7 9 11 6 10 10 4 11 8</p> + <p>0 12 4 1 13 5 5 14 7</p> + <p>5 15 7 4 16 6 0 17 4</p> + <p>1 18 0 3 19 1 7 20 3</p> + <p>7 21 3 5 22 2 1 23 0</p> + <p>3 24 4 2 25 5 6 26 7</p> + <p>6 27 7 7 28 6 3 29 4</p> + <p>2 30 0 0 31 1 4 32 3</p> + <p>4 33 3 6 34 2 2 35 0</p> + </polygons> + </mesh> + </geometry> + </library_geometries> + <library_animations> + <animation id="Box02-anim" name="Box02"> + <animation> + <source id="Box02-rotateX-animation-inputANGLE"> + <float_array id="Box02-rotateX-animation-inputANGLE-array" count="2"> + +0.000000 0.800000</float_array> + <technique_common> + <accessor source="#Box02-rotateX-animation-inputANGLE-array" count="2"> + <param name="TIME" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box02-rotateX-animation-outputANGLE"> + <float_array id="Box02-rotateX-animation-outputANGLE-array" count="2"> + +0.000000 0.000000</float_array> + <technique_common> + <accessor source="#Box02-rotateX-animation-outputANGLE-array" count="2"> + <param name="ANGLE" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box02-rotateX-animation-intanANGLE"> + <float_array id="Box02-rotateX-animation-intanANGLE-array" count="2"> + +0.000000 -0.000000</float_array> + <technique_common> + <accessor source="#Box02-rotateX-animation-intanANGLE-array" count="2"> + <param name="ANGLE" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box02-rotateX-animation-outtanANGLE"> + <float_array id="Box02-rotateX-animation-outtanANGLE-array" count="2"> + +0.000000 0.000000</float_array> + <technique_common> + <accessor source="#Box02-rotateX-animation-outtanANGLE-array" count="2"> + <param name="ANGLE" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box02-rotateX-animation-interpolationANGLE"> + <Name_array id="Box02-rotateX-animation-interpolationANGLE-array" count="2"> + BEZIER BEZIER</Name_array> + <technique_common> + <accessor source="#Box02-rotateX-animation-interpolationANGLE-array" count="2"> + <param type="name"/> + </accessor> + </technique_common> + </source> + <sampler id="Box02-rotateX-animationANGLE"> + <input semantic="INPUT" source="#Box02-rotateX-animation-inputANGLE"/> + <input semantic="OUTPUT" source="#Box02-rotateX-animation-outputANGLE"/> + <input semantic="IN_TANGENT" source="#Box02-rotateX-animation-intanANGLE"/> + <input semantic="OUT_TANGENT" source="#Box02-rotateX-animation-outtanANGLE"/> + <input semantic="INTERPOLATION" source="#Box02-rotateX-animation-interpolationANGLE"/> + </sampler> + <channel source="#Box02-rotateX-animationANGLE" target="Box02/rotateX.ANGLE"/> + </animation> + <animation> + <source id="Box02-rotateY-animation-inputANGLE"> + <float_array id="Box02-rotateY-animation-inputANGLE-array" count="2"> + +0.000000 0.800000</float_array> + <technique_common> + <accessor source="#Box02-rotateY-animation-inputANGLE-array" count="2"> + <param name="TIME" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box02-rotateY-animation-outputANGLE"> + <float_array id="Box02-rotateY-animation-outputANGLE-array" count="2"> + +-0.000000 -0.000000</float_array> + <technique_common> + <accessor source="#Box02-rotateY-animation-outputANGLE-array" count="2"> + <param name="ANGLE" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box02-rotateY-animation-intanANGLE"> + <float_array id="Box02-rotateY-animation-intanANGLE-array" count="2"> + +0.000000 -0.000000</float_array> + <technique_common> + <accessor source="#Box02-rotateY-animation-intanANGLE-array" count="2"> + <param name="ANGLE" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box02-rotateY-animation-outtanANGLE"> + <float_array id="Box02-rotateY-animation-outtanANGLE-array" count="2"> + +0.000000 0.000000</float_array> + <technique_common> + <accessor source="#Box02-rotateY-animation-outtanANGLE-array" count="2"> + <param name="ANGLE" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box02-rotateY-animation-interpolationANGLE"> + <Name_array id="Box02-rotateY-animation-interpolationANGLE-array" count="2"> + BEZIER BEZIER</Name_array> + <technique_common> + <accessor source="#Box02-rotateY-animation-interpolationANGLE-array" count="2"> + <param type="name"/> + </accessor> + </technique_common> + </source> + <sampler id="Box02-rotateY-animationANGLE"> + <input semantic="INPUT" source="#Box02-rotateY-animation-inputANGLE"/> + <input semantic="OUTPUT" source="#Box02-rotateY-animation-outputANGLE"/> + <input semantic="IN_TANGENT" source="#Box02-rotateY-animation-intanANGLE"/> + <input semantic="OUT_TANGENT" source="#Box02-rotateY-animation-outtanANGLE"/> + <input semantic="INTERPOLATION" source="#Box02-rotateY-animation-interpolationANGLE"/> + </sampler> + <channel source="#Box02-rotateY-animationANGLE" target="Box02/rotateY.ANGLE"/> + </animation> + <animation> + <source id="Box02-rotateZ-animation-inputANGLE"> + <float_array id="Box02-rotateZ-animation-inputANGLE-array" count="2"> + +0.000000 0.800000</float_array> + <technique_common> + <accessor source="#Box02-rotateZ-animation-inputANGLE-array" count="2"> + <param name="TIME" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box02-rotateZ-animation-outputANGLE"> + <float_array id="Box02-rotateZ-animation-outputANGLE-array" count="2"> + +0.000000 90.000008</float_array> + <technique_common> + <accessor source="#Box02-rotateZ-animation-outputANGLE-array" count="2"> + <param name="ANGLE" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box02-rotateZ-animation-intanANGLE"> + <float_array id="Box02-rotateZ-animation-intanANGLE-array" count="2"> + +0.000000 -0.000000</float_array> + <technique_common> + <accessor source="#Box02-rotateZ-animation-intanANGLE-array" count="2"> + <param name="ANGLE" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box02-rotateZ-animation-outtanANGLE"> + <float_array id="Box02-rotateZ-animation-outtanANGLE-array" count="2"> + +0.000000 0.000000</float_array> + <technique_common> + <accessor source="#Box02-rotateZ-animation-outtanANGLE-array" count="2"> + <param name="ANGLE" type="float"/> + </accessor> + </technique_common> + </source> + <source id="Box02-rotateZ-animation-interpolationANGLE"> + <Name_array id="Box02-rotateZ-animation-interpolationANGLE-array" count="2"> + BEZIER BEZIER</Name_array> + <technique_common> + <accessor source="#Box02-rotateZ-animation-interpolationANGLE-array" count="2"> + <param type="name"/> + </accessor> + </technique_common> + </source> + <sampler id="Box02-rotateZ-animationANGLE"> + <input semantic="INPUT" source="#Box02-rotateZ-animation-inputANGLE"/> + <input semantic="OUTPUT" source="#Box02-rotateZ-animation-outputANGLE"/> + <input semantic="IN_TANGENT" source="#Box02-rotateZ-animation-intanANGLE"/> + <input semantic="OUT_TANGENT" source="#Box02-rotateZ-animation-outtanANGLE"/> + <input semantic="INTERPOLATION" source="#Box02-rotateZ-animation-interpolationANGLE"/> + </sampler> + <channel source="#Box02-rotateZ-animationANGLE" target="Box02/rotateZ.ANGLE"/> + </animation> + </animation> + </library_animations> + <library_visual_scenes> + <visual_scene id="RootNode" name="RootNode"> + <node id="Box01" name="Box01"> + <rotate sid="jointOrientX">1 0 0 -90.000000</rotate> + <instance_geometry url="#Box01-lib"> + <bind_material> + <technique_common> + <instance_material symbol="_02___Default" target="#_02___Default"/> + </technique_common> + </bind_material> + </instance_geometry> + </node> + <node id="Box02" name="Box02"> + <translate sid="translate">0.000000 5.000000 -0.000000</translate> + <rotate sid="jointOrientX">1 0 0 -90.000000</rotate> + <rotate sid="rotateZ">0 0 1 0.000000</rotate> + <rotate sid="rotateY">0 1 0 0.000000</rotate> + <rotate sid="rotateX">1 0 0 0.000000</rotate> + <instance_geometry url="#Box02-lib"> + <bind_material> + <technique_common> + <instance_material symbol="_01___Default" target="#_01___Default"/> + </technique_common> + </bind_material> + </instance_geometry> + </node> + </visual_scene> + </library_visual_scenes> + <scene> + <instance_visual_scene url="#RootNode"/> + </scene> +</COLLADA> + |