+ add 3 test cubes to improve testing coverage of the x file format. The compressed cube is a test for the previous commit, r1012, which fixed a bug in the x loader.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1018 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
228be125cf
commit
0db3f8b3f4
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,273 @@
|
|||
xof 0303txt 0032
|
||||
template XSkinMeshHeader {
|
||||
<3cf169ce-ff7c-44ab-93c0-f78f62d172e2>
|
||||
WORD nMaxSkinWeightsPerVertex;
|
||||
WORD nMaxSkinWeightsPerFace;
|
||||
WORD nBones;
|
||||
}
|
||||
|
||||
template VertexDuplicationIndices {
|
||||
<b8d65549-d7c9-4995-89cf-53a9a8b031e3>
|
||||
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;;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue