Partial commit - X files

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@10 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2008-05-09 17:22:08 +00:00
parent a7bfaaab72
commit 14abdcbbed
8 changed files with 103542 additions and 0 deletions

32880
test/XFiles/BCN_Epileptic.X Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
A human body separated into three meshes: lower body, upper body, head. A common bone hierarchy for all three meshes, plus an test animation that makes the body sort of jump. No material information exported.

36618
test/XFiles/Testwuson.X Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,9 @@
Zylinder animation:
Frame 1 - 10: Zylinder knickt ein, so dass der Knick in Richtung z+ zeigt.
Frame 10 - 18: Zylinder-Spitze streckt sich in Richtung z-.
Frame 18 - 24: Zylinder-Spitze bewegt sich zu Position in Richtung x+
Remarks: The exporter failed here for some reasons... although the mesh referres to four bones, only two of them are stored in the corresponding node hierarchy. So you have a mesh with 4 bones, a hirarchy with 2 nodes and a animation that affects only those two nodes.
There is no timing given for the animation. You have to scale the animation manually. For this file, the timing seems to be 24 ticks per second.

33714
test/XFiles/anim_test.x Normal file

File diff suppressed because it is too large Load Diff

BIN
test/XFiles/test.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

3
test/XFiles/test.txt Normal file
View File

@@ -0,0 +1,3 @@
Simple textured test cube exported from Maya. Has a texture that does label each cube side uniquely, but the sides do not match DirectX coordinate space.
Is not readable using D3DXLoadFrameHierarchy, needs custom text parsing.

317
test/XFiles/test.x Normal file
View File

@@ -0,0 +1,317 @@
xof 0303txt 0032
Frame pCube1 {
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 pCubeShape1 {
24;
-0.820374; -0.680440; -0.820374;,
0.820374; -0.680440; -0.820374;,
0.820374; 0.960307; -0.820374;,
-0.820374; 0.960307; -0.820374;,
-0.820374; 0.960307; -0.820374;,
0.820374; 0.960307; -0.820374;,
0.820374; 0.960307; 0.820374;,
-0.820374; 0.960307; 0.820374;,
-0.820374; 0.960307; 0.820374;,
0.820374; 0.960307; 0.820374;,
0.820374; -0.680440; 0.820374;,
-0.820374; -0.680440; 0.820374;,
-0.820374; -0.680440; 0.820374;,
0.820374; -0.680440; 0.820374;,
0.820374; -0.680440; -0.820374;,
-0.820374; -0.680440; -0.820374;,
0.820374; -0.680440; -0.820374;,
0.820374; -0.680440; 0.820374;,
0.820374; 0.960307; 0.820374;,
0.820374; 0.960307; -0.820374;,
-0.820374; -0.680440; 0.820374;,
-0.820374; -0.680440; -0.820374;,
-0.820374; 0.960307; -0.820374;,
-0.820374; 0.960307; 0.820374;;
12;
3;0,3,1;,
3;1,3,2;,
3;4,7,5;,
3;5,7,6;,
3;8,11,9;,
3;9,11,10;,
3;12,15,13;,
3;13,15,14;,
3;16,19,17;,
3;17,19,18;,
3;20,23,21;,
3;21,23,22;;
MeshNormals {
24;
-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;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;,
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;;
12;
3;0,3,1;,
3;1,3,2;,
3;4,7,5;,
3;5,7,6;,
3;8,11,9;,
3;9,11,10;,
3;12,15,13;,
3;13,15,14;,
3;16,19,17;,
3;17,19,18;,
3;20,23,21;,
3;21,23,22;;
}
MeshTextureCoords {
24;
0.047652;-0.358017;,
0.280665;-0.358017;,
0.280665;-0.591031;,
0.047652;-0.591031;,
0.006692;-0.252428;,
0.006692;-0.014798;,
0.244319;-0.014797;,
0.244319;-0.252427;,
0.664454;-0.615566;,
0.386476;-0.615566;,
0.386476;-0.337586;,
0.664454;-0.337586;,
0.598258;-0.030994;,
0.598258;-0.252985;,
0.376269;-0.252985;,
0.376269;-0.030994;,
0.047977;-0.707994;,
0.292494;-0.707994;,
0.292494;-0.952511;,
0.047977;-0.952511;,
0.371893;-0.686273;,
0.651245;-0.686273;,
0.651245;-0.965625;,
0.371893;-0.965625;;
}
MeshMaterialList {
1;
12;
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0;
Material {
0.800000;0.800000;0.800000;1.000000;;
0.000000;
0.000000;0.000000;0.000000;;
0.000000;0.000000;0.000000;;
TextureFileName {
".\\test.png";
}
}
}
VertexDuplicationIndices {
24;
8;
0,
1,
2,
3,
3,
2,
6,
7,
7,
6,
10,
11,
11,
10,
1,
0,
1,
10,
6,
2,
11,
0,
3,
7;
}
DeclData {
2;
2;0;6;0;,
2;0;7;0;;
144;
1065353216,
0,
2147483648,
0,
1065353216,
2147483648,
1065353216,
0,
2147483648,
0,
1065353216,
2147483648,
1065353216,
0,
2147483648,
0,
1065353216,
2147483648,
1065353216,
0,
2147483648,
0,
1065353216,
2147483648,
3054993143,
0,
1065353216,
3212836864,
0,
3054993143,
3054993142,
0,
1065353216,
3212836864,
0,
3054993142,
3054993141,
0,
1065353216,
3212836864,
0,
3054993141,
3054993142,
0,
1065353216,
3212836864,
0,
3054993142,
3212836864,
0,
2147483648,
0,
1065353216,
2147483648,
3212836864,
0,
2147483648,
0,
1065353216,
2147483648,
3212836864,
0,
2147483648,
0,
1065353216,
2147483648,
3212836864,
0,
2147483648,
0,
1065353216,
2147483648,
3046123087,
0,
1065353216,
1065353216,
0,
898639439,
3037734479,
0,
1065353216,
1065353216,
0,
890250831,
0,
0,
1065353216,
1065353216,
0,
2147483648,
3037734479,
0,
1065353216,
1065353216,
0,
890250831,
0,
0,
1065353216,
2147483648,
1065353216,
2147483648,
0,
0,
1065353216,
2147483648,
1065353216,
2147483648,
0,
0,
1065353216,
2147483648,
1065353216,
2147483648,
0,
0,
1065353216,
2147483648,
1065353216,
2147483648,
0,
0,
3212836864,
0,
1065353216,
0,
0,
0,
3212836864,
0,
1065353216,
0,
0,
0,
3212836864,
0,
1065353216,
0,
0,
0,
3212836864,
0,
1065353216,
0;
}
}
}