diff options
Diffstat (limited to 'examples/qt3d/scene_animations/cube_2rotations_angles_text.x')
-rwxr-xr-x | examples/qt3d/scene_animations/cube_2rotations_angles_text.x | 433 |
1 files changed, 433 insertions, 0 deletions
diff --git a/examples/qt3d/scene_animations/cube_2rotations_angles_text.x b/examples/qt3d/scene_animations/cube_2rotations_angles_text.x new file mode 100755 index 000000000..ff7d0b6f0 --- /dev/null +++ b/examples/qt3d/scene_animations/cube_2rotations_angles_text.x @@ -0,0 +1,433 @@ +xof 0303txt 0032 +template Frame { + <3d82ab46-62da-11cf-ab39-0020af71e433> + [...] +} + +template Matrix4x4 { + <f6f23f45-7686-11cf-8f52-0040333594a3> + array FLOAT matrix[16]; +} + +template FrameTransformMatrix { + <f6f23f41-7686-11cf-8f52-0040333594a3> + Matrix4x4 frameMatrix; +} + +template Vector { + <3d82ab5e-62da-11cf-ab39-0020af71e433> + FLOAT x; + FLOAT y; + FLOAT z; +} + +template MeshFace { + <3d82ab5f-62da-11cf-ab39-0020af71e433> + DWORD nFaceVertexIndices; + array DWORD faceVertexIndices[nFaceVertexIndices]; +} + +template Mesh { + <3d82ab44-62da-11cf-ab39-0020af71e433> + DWORD nVertices; + array Vector vertices[nVertices]; + DWORD nFaces; + array MeshFace faces[nFaces]; + [...] +} + +template MeshNormals { + <f6f23f43-7686-11cf-8f52-0040333594a3> + DWORD nNormals; + array Vector normals[nNormals]; + DWORD nFaceNormals; + array MeshFace faceNormals[nFaceNormals]; +} + +template ColorRGBA { + <35ff44e0-6c7c-11cf-8f52-0040333594a3> + FLOAT red; + FLOAT green; + FLOAT blue; + FLOAT alpha; +} + +template ColorRGB { + <d3e16e81-7835-11cf-8f52-0040333594a3> + FLOAT red; + FLOAT green; + FLOAT blue; +} + +template Material { + <3d82ab4d-62da-11cf-ab39-0020af71e433> + ColorRGBA faceColor; + FLOAT power; + ColorRGB specularColor; + ColorRGB emissiveColor; + [...] +} + +template MeshMaterialList { + <f6f23f42-7686-11cf-8f52-0040333594a3> + DWORD nMaterials; + DWORD nFaceIndexes; + array DWORD faceIndexes[nFaceIndexes]; + [Material <3d82ab4d-62da-11cf-ab39-0020af71e433>] +} + +template Coords2d { + <f6f23f44-7686-11cf-8f52-0040333594a3> + FLOAT u; + FLOAT v; +} + +template MeshTextureCoords { + <f6f23f40-7686-11cf-8f52-0040333594a3> + DWORD nTextureCoords; + array Coords2d textureCoords[nTextureCoords]; +} + +template Animation { + <3d82ab4f-62da-11cf-ab39-0020af71e433> + [...] +} + +template AnimationSet { + <3d82ab50-62da-11cf-ab39-0020af71e433> + [Animation <3d82ab4f-62da-11cf-ab39-0020af71e433>] +} + +template FloatKeys { + <10dd46a9-775b-11cf-8f52-0040333594a3> + DWORD nValues; + array FLOAT values[nValues]; +} + +template TimedFloatKeys { + <f406b180-7b3b-11cf-8f52-0040333594a3> + DWORD time; + FloatKeys tfkeys; +} + +template AnimationKey { + <10dd46a8-775b-11cf-8f52-0040333594a3> + DWORD keyType; + DWORD nKeys; + array TimedFloatKeys keys[nKeys]; +} + + +Frame Box01 { + + + FrameTransformMatrix { + 1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000;; + } + + Mesh { + 20; + -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;20.000000;, + -20.000000;0.000000;-20.000000;, + 20.000000;20.000000;-20.000000;, + 20.000000;0.000000;-20.000000;, + -20.000000;20.000000;-20.000000;, + 20.000000;0.000000;20.000000;, + 20.000000;20.000000;-20.000000;, + 20.000000;0.000000;20.000000;, + -20.000000;20.000000;20.000000;, + -20.000000;0.000000;20.000000;, + 20.000000;20.000000;20.000000;, + -20.000000;0.000000;20.000000;, + -20.000000;20.000000;-20.000000;; + 12; + 3;0,3,2;, + 3;3,0,1;, + 3;4,7,5;, + 3;7,4,6;, + 3;8,9,10;, + 3;9,8,11;, + 3;1,7,12;, + 3;7,1,13;, + 3;14,15,16;, + 3;15,14,17;, + 3;18,19,0;, + 3;19,18,6;; + + MeshNormals { + 6; + 0.000000;-1.000000;0.000000;, + 0.000000;1.000000;0.000000;, + 0.000000;0.000000;-1.000000;, + 1.000000;0.000000;0.000000;, + 0.000000;0.000000;1.000000;, + -1.000000;0.000000;0.000000;; + 12; + 3;0,0,0;, + 3;0,0,0;, + 3;1,1,1;, + 3;1,1,1;, + 3;2,2,2;, + 3;2,2,2;, + 3;3,3,3;, + 3;3,3,3;, + 3;4,4,4;, + 3;4,4,4;, + 3;5,5,5;, + 3;5,5,5;; + } + + MeshMaterialList { + 1; + 12; + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0; + + Material { + 0.890196;0.596078;0.596078;1.000000;; + 0.000000; + 0.890196;0.596078;0.596078;; + 0.000000;0.000000;0.000000;; + } + } + + MeshTextureCoords { + 20; + 1.000000;1.000000;, + 0.000000;1.000000;, + 1.000000;0.000000;, + 0.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;0.000000;, + 1.000000;1.000000;, + 0.000000;0.000000;, + 1.000000;1.000000;, + 0.000000;0.000000;, + 0.000000;1.000000;, + 1.000000;0.000000;, + 1.000000;1.000000;, + 0.000000;0.000000;, + 0.000000;1.000000;, + 1.000000;0.000000;; + } + } +} + +AnimationSet rotate1 { + + + Animation Anim-Box01 { + + { Box01 } + + AnimationKey { + 0; + 25; + 0;4;-1.000000,0.000000,0.000000,0.000000;;, + 160;4;-0.999992,0.000000,-0.003977,0.000000;;, + 320;4;-0.999881,0.000000,-0.015453,0.000000;;, + 480;4;-0.999431,0.000000,-0.033741,0.000000;;, + 640;4;-0.998308,0.000000,-0.058145,0.000000;;, + 800;4;-0.996125,0.000000,-0.087948,0.000000;;, + 960;4;-0.992480,0.000000,-0.122411,0.000000;;, + 1120;4;-0.986993,0.000000,-0.160765,0.000000;;, + 1280;4;-0.979341,0.000000,-0.202218,0.000000;;, + 1440;4;-0.969281,0.000000,-0.245955,0.000000;;, + 1600;4;-0.956676,0.000000,-0.291154,0.000000;;, + 1760;4;-0.941506,0.000000,-0.336997,0.000000;;, + 1920;4;-0.923880,0.000000,-0.382683,0.000000;;, + 2080;4;-0.904038,0.000000,-0.427452,0.000000;;, + 2240;4;-0.882349,0.000000,-0.470595,0.000000;;, + 2400;4;-0.859302,0.000000,-0.511469,0.000000;;, + 2560;4;-0.835488,0.000000,-0.549509,0.000000;;, + 2720;4;-0.811587,0.000000,-0.584231,0.000000;;, + 2880;4;-0.788346,0.000000,-0.615232,0.000000;;, + 3040;4;-0.766555,0.000000,-0.642178,0.000000;;, + 3200;4;-0.747025,0.000000,-0.664796,0.000000;;, + 3360;4;-0.730563,0.000000,-0.682846,0.000000;;, + 3520;4;-0.717949,0.000000,-0.696096,0.000000;;, + 3680;4;-0.709913,0.000000,-0.704289,0.000000;;, + 3840;4;-0.707107,0.000000,-0.707107,0.000000;;; + } + + AnimationKey { + 1; + 25; + 0;3;1.000000,1.000000,1.000000;;, + 160;3;1.000000,1.000000,1.000000;;, + 320;3;1.000000,1.000000,1.000000;;, + 480;3;1.000000,1.000000,1.000000;;, + 640;3;1.000000,1.000000,1.000000;;, + 800;3;1.000000,1.000000,1.000000;;, + 960;3;1.000000,1.000000,1.000000;;, + 1120;3;1.000000,1.000000,1.000000;;, + 1280;3;1.000000,1.000000,1.000000;;, + 1440;3;1.000000,1.000000,1.000000;;, + 1600;3;1.000000,1.000000,1.000000;;, + 1760;3;1.000000,1.000000,1.000000;;, + 1920;3;1.000000,1.000000,1.000000;;, + 2080;3;1.000000,1.000000,1.000000;;, + 2240;3;1.000000,1.000000,1.000000;;, + 2400;3;1.000000,1.000000,1.000000;;, + 2560;3;1.000000,1.000000,1.000000;;, + 2720;3;1.000000,1.000000,1.000000;;, + 2880;3;1.000000,1.000000,1.000000;;, + 3040;3;1.000000,1.000000,1.000000;;, + 3200;3;1.000000,1.000000,1.000000;;, + 3360;3;1.000000,1.000000,1.000000;;, + 3520;3;1.000000,1.000000,1.000000;;, + 3680;3;1.000000,1.000000,1.000000;;, + 3840;3;1.000000,1.000000,1.000000;;; + } + + AnimationKey { + 2; + 25; + 0;3;0.000000,0.000000,0.000000;;, + 160;3;0.000000,0.000000,0.000000;;, + 320;3;0.000000,0.000000,0.000000;;, + 480;3;0.000000,0.000000,0.000000;;, + 640;3;0.000000,0.000000,0.000000;;, + 800;3;0.000000,0.000000,0.000000;;, + 960;3;0.000000,0.000000,0.000000;;, + 1120;3;0.000000,0.000000,0.000000;;, + 1280;3;0.000000,0.000000,0.000000;;, + 1440;3;0.000000,0.000000,0.000000;;, + 1600;3;0.000000,0.000000,0.000000;;, + 1760;3;0.000000,0.000000,0.000000;;, + 1920;3;0.000000,0.000000,0.000000;;, + 2080;3;0.000000,0.000000,0.000000;;, + 2240;3;0.000000,0.000000,0.000000;;, + 2400;3;0.000000,0.000000,0.000000;;, + 2560;3;0.000000,0.000000,0.000000;;, + 2720;3;0.000000,0.000000,0.000000;;, + 2880;3;0.000000,0.000000,0.000000;;, + 3040;3;0.000000,0.000000,0.000000;;, + 3200;3;0.000000,0.000000,0.000000;;, + 3360;3;0.000000,0.000000,0.000000;;, + 3520;3;0.000000,0.000000,0.000000;;, + 3680;3;0.000000,0.000000,0.000000;;, + 3840;3;0.000000,0.000000,0.000000;;; + } + } +} + +AnimationSet rotate2 { + + + Animation Anim-Box01 { + + { Box01 } + + AnimationKey { + 0; + 25; + 0;4;-1.000000,0.000000,-0.000000,0.000000;;, + 160;4;-0.999992,0.000000,-0.000000,-0.003977;;, + 320;4;-0.999881,0.000000,-0.000000,-0.015453;;, + 480;4;-0.999431,0.000000,-0.000000,-0.033741;;, + 640;4;-0.998308,0.000000,-0.000000,-0.058145;;, + 800;4;-0.996125,0.000000,-0.000000,-0.087948;;, + 960;4;-0.992480,0.000000,-0.000000,-0.122411;;, + 1120;4;-0.986993,0.000000,-0.000000,-0.160765;;, + 1280;4;-0.979341,0.000000,-0.000000,-0.202218;;, + 1440;4;-0.969281,0.000000,-0.000000,-0.245955;;, + 1600;4;-0.956676,0.000000,-0.000000,-0.291154;;, + 1760;4;-0.941506,0.000000,-0.000000,-0.336997;;, + 1920;4;-0.923880,0.000000,-0.000000,-0.382683;;, + 2080;4;-0.904038,0.000000,-0.000000,-0.427452;;, + 2240;4;-0.882349,0.000000,-0.000000,-0.470595;;, + 2400;4;-0.859302,0.000000,-0.000000,-0.511469;;, + 2560;4;-0.835488,0.000000,-0.000000,-0.549509;;, + 2720;4;-0.811587,0.000000,-0.000000,-0.584231;;, + 2880;4;-0.788346,0.000000,-0.000000,-0.615232;;, + 3040;4;-0.766555,0.000000,-0.000000,-0.642178;;, + 3200;4;-0.747025,0.000000,-0.000000,-0.664796;;, + 3360;4;-0.730563,0.000000,-0.000000,-0.682846;;, + 3520;4;-0.717949,0.000000,-0.000000,-0.696096;;, + 3680;4;-0.709913,0.000000,-0.000000,-0.704289;;, + 3840;4;-0.707107,0.000000,-0.000000,-0.707107;;; + } + + AnimationKey { + 1; + 25; + 0;3;1.000000,1.000000,1.000000;;, + 160;3;1.000000,1.000000,1.000000;;, + 320;3;1.000000,1.000000,1.000000;;, + 480;3;1.000000,1.000000,1.000000;;, + 640;3;1.000000,1.000000,1.000000;;, + 800;3;1.000000,1.000000,1.000000;;, + 960;3;1.000000,1.000000,1.000000;;, + 1120;3;1.000000,1.000000,1.000000;;, + 1280;3;1.000000,1.000000,1.000000;;, + 1440;3;1.000000,1.000000,1.000000;;, + 1600;3;1.000000,1.000000,1.000000;;, + 1760;3;1.000000,1.000000,1.000000;;, + 1920;3;1.000000,1.000000,1.000000;;, + 2080;3;1.000000,1.000000,1.000000;;, + 2240;3;1.000000,1.000000,1.000000;;, + 2400;3;1.000000,1.000000,1.000000;;, + 2560;3;1.000000,1.000000,1.000000;;, + 2720;3;1.000000,1.000000,1.000000;;, + 2880;3;1.000000,1.000000,1.000000;;, + 3040;3;1.000000,1.000000,1.000000;;, + 3200;3;1.000000,1.000000,1.000000;;, + 3360;3;1.000000,1.000000,1.000000;;, + 3520;3;1.000000,1.000000,1.000000;;, + 3680;3;1.000000,1.000000,1.000000;;, + 3840;3;1.000000,1.000000,1.000000;;; + } + + AnimationKey { + 2; + 25; + 0;3;0.000000,0.000000,0.000000;;, + 160;3;0.000000,0.000000,0.000000;;, + 320;3;0.000000,0.000000,0.000000;;, + 480;3;0.000000,0.000000,0.000000;;, + 640;3;0.000000,0.000000,0.000000;;, + 800;3;0.000000,0.000000,0.000000;;, + 960;3;0.000000,0.000000,0.000000;;, + 1120;3;0.000000,0.000000,0.000000;;, + 1280;3;0.000000,0.000000,0.000000;;, + 1440;3;0.000000,0.000000,0.000000;;, + 1600;3;0.000000,0.000000,0.000000;;, + 1760;3;0.000000,0.000000,0.000000;;, + 1920;3;0.000000,0.000000,0.000000;;, + 2080;3;0.000000,0.000000,0.000000;;, + 2240;3;0.000000,0.000000,0.000000;;, + 2400;3;0.000000,0.000000,0.000000;;, + 2560;3;0.000000,0.000000,0.000000;;, + 2720;3;0.000000,0.000000,0.000000;;, + 2880;3;0.000000,0.000000,0.000000;;, + 3040;3;0.000000,0.000000,0.000000;;, + 3200;3;0.000000,0.000000,0.000000;;, + 3360;3;0.000000,0.000000,0.000000;;, + 3520;3;0.000000,0.000000,0.000000;;, + 3680;3;0.000000,0.000000,0.000000;;, + 3840;3;0.000000,0.000000,0.000000;;; + } + } +}
\ No newline at end of file |