From 058f98a63658dc1a2579826ba167fd61bed1e21f Mon Sep 17 00:00:00 2001 From: sanine Date: Fri, 4 Mar 2022 10:47:15 -0600 Subject: add assimp submodule --- .../assimp-master/test/models/X/test_cube_text.x | 273 +++++++++++++++++++++ 1 file changed, 273 insertions(+) create mode 100644 src/mesh/assimp-master/test/models/X/test_cube_text.x (limited to 'src/mesh/assimp-master/test/models/X/test_cube_text.x') diff --git a/src/mesh/assimp-master/test/models/X/test_cube_text.x b/src/mesh/assimp-master/test/models/X/test_cube_text.x new file mode 100644 index 0000000..9fd16e4 --- /dev/null +++ b/src/mesh/assimp-master/test/models/X/test_cube_text.x @@ -0,0 +1,273 @@ +xof 0303txt 0032 +template XSkinMeshHeader { + <3cf169ce-ff7c-44ab-93c0-f78f62d172e2> + WORD nMaxSkinWeightsPerVertex; + WORD nMaxSkinWeightsPerFace; + WORD nBones; +} + +template VertexDuplicationIndices { + + DWORD nIndices; + DWORD nOriginalVertices; + array DWORD indices[nIndices]; +} + +template SkinWeights { + <6f0d123b-bad2-4167-a0d0-80224f25fabb> + STRING transformNodeName; + DWORD nWeights; + array DWORD vertexIndices[nWeights]; + array FLOAT weights[nWeights]; + Matrix4x4 matrixOffset; +} + +template AnimTicksPerSecond { + <9e415a43-7ba6-4a73-8743-b73d47e88476> + DWORD AnimTicksPerSecond; +} + + +AnimTicksPerSecond { + 24; +} + +Material Material { + 0.639216;0.639216;0.639216;1.000000;; + 96.078430; + 0.498039;0.498039;0.498039;; + 0.000000;0.000000;0.000000;; +} + +Frame Root { + + + FrameTransformMatrix { + 1.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,1.000000,-0.000000,0.000000,0.000000,0.000000,0.000000,1.000000;; + } + + Frame Cube { + + + 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 Cube { + 24; + -1.000000;-1.000000;1.000000;, + 1.000000;-1.000000;-1.000000;, + -1.000000;-1.000000;-1.000000;, + 1.000000;-1.000000;1.000000;, + 0.999999;1.000000;-1.000001;, + -1.000000;1.000000;1.000000;, + -1.000000;1.000000;-1.000000;, + 1.000000;1.000000;0.999999;, + 1.000000;-1.000000;-1.000000;, + 1.000000;1.000000;0.999999;, + 0.999999;1.000000;-1.000001;, + 1.000000;-1.000000;1.000000;, + -1.000000;-1.000000;-1.000000;, + 0.999999;1.000000;-1.000001;, + -1.000000;1.000000;-1.000000;, + 1.000000;-1.000000;-1.000000;, + -1.000000;-1.000000;1.000000;, + -1.000000;1.000000;-1.000000;, + -1.000000;1.000000;1.000000;, + -1.000000;-1.000000;-1.000000;, + -1.000000;1.000000;1.000000;, + 1.000000;-1.000000;1.000000;, + -1.000000;-1.000000;1.000000;, + 1.000000;1.000000;0.999999;; + 12; + 3;0,2,1;, + 3;0,1,3;, + 3;4,6,5;, + 3;4,5,7;, + 3;8,10,9;, + 3;8,9,11;, + 3;12,14,13;, + 3;12,13,15;, + 3;16,18,17;, + 3;16,17,19;, + 3;20,22,21;, + 3;20,21,23;; + + MeshNormals { + 24; + 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;, + 0.000000;0.000000;-1.000000;, + 0.000000;0.000000;-1.000000;, + 0.000000;0.000000;-1.000000;, + 0.000000;0.000000;-1.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;0.000000;1.000000;, + 0.000000;0.000000;1.000000;, + 0.000000;0.000000;1.000000;, + 0.000000;0.000000;1.000000;; + 12; + 3;0,2,1;, + 3;0,1,3;, + 3;4,6,5;, + 3;4,5,7;, + 3;8,10,9;, + 3;8,9,11;, + 3;12,14,13;, + 3;12,13,15;, + 3;16,18,17;, + 3;16,17,19;, + 3;20,22,21;, + 3;20,21,23;; + } + + MeshTextureCoords { + 24; + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;, + 0.000000;0.000000;; + } + + VertexDuplicationIndices { + 24; + 24; + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23; + } + + MeshMaterialList { + 1; + 12; + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0; + { Material } + } + + XSkinMeshHeader { + 1; + 1; + 1; + } + + SkinWeights { + "Cube"; + 24; + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23; + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000, + 1.000000; + 1.000000,-0.000000,-0.000000,-0.000000,-0.000000,-0.000000,1.000000,-0.000000,-0.000000,1.000000,-0.000000,-0.000000,-0.000000,-0.000000,-0.000000,1.000000;; + } + } + } +} \ No newline at end of file -- cgit v1.2.1