you do`t have to download the SDK.just do a Search on msdn for .x format.
this is how a textered with on animation .x file looks
xof 0302txt 0032
// header
// random template
template XSkinMeshHeader {
<3cf169ce-ff7c-44ab-93c0-f78f62d172e2>
WORD nMaxSkinWeightsPerVertex;
WORD nMaxSkinWeightsPerFace;
WORD nBones;
}
template SkinWeights {
<6f0d123b-bad2-4167-a0d0-80224f25fabb>
STRING transformNodeName;
DWORD nWeights;
array DWORD vertexIndices[nWeights];
array FLOAT weights[nWeights];
Matrix4x4 matrixOffset;
}
template VertexElement {
<f752461c-1e23-48f6-b9f8-8350850f336f>
DWORD Type;
DWORD Method;
DWORD Usage;
DWORD UsageIndex;
}
// frames
Frame Frame01 {
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;;
}
// Meah
Mesh Mesh01 {
// VECTOR POSITION
6;
2.49999952316;2.49999952316;-2.18556920117e-007;,
-2.49999952316;2.49999952316;2.18556920117e-007;,
2.49999952316;-2.49999952316;-2.18556920117e-007;,
-2.49999952316;2.49999952316;2.18556920117e-007;,
-2.49999952316;-2.49999952316;2.18556920117e-007;,
2.49999952316;-2.49999952316;-2.18556920117e-007;;
// VECTOR links
2;
3;0,1,2;,
3;3,4,5;;
MeshNormals {
// VECTOR nomels
6;
-8.7422769468e-008;0;-0.999999940395;,
-8.7422769468e-008;0;-0.999999940395;,
-8.7422769468e-008;0;-0.999999940395;,
-8.7422769468e-008;0;-0.999999940395;,
-8.7422769468e-008;0;-0.999999940395;,
-8.7422769468e-008;0;-0.999999940395;;
// VECTOR links
2;
3;0,1,2;,
3;3,4,5;;
}
MeshMaterialList {
// Material vailes for faces
1;
2;
0,
0;;
// Material vailes
Material brink {
0.537254989147;0.196078002453;0.196078002453;1;;
2.14354705811;
0.898038983345;0.898038983345;0.898038983345;;
0.0352940000594;0.0125489998609;0.0125489998609;;
TextureFilename {
"brick1_t.BMP";
}}
}
MeshTextureCoords {
// VECTOR Texture Coords
6;
1;0;,
0;0;,
1;1;,
0;0;,
0;1;,
1;1;;
}}}
hope this is uesful but look at msdn it will tell you better what going on then i can.
--Dr 0--