关于.x文件的结构,哪位大狭帮我一下
// Created with Milkshape 3D DirectX .X File Exporter V2.0
我不知道下面的两个摸板的参数什么意思:
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]; //是不是就是文件中的mesh块中的哪个数的编号?
array float weights[nWeights]; //什么意思?
Matrix4x4 matrixOffset; //什么意思?
}
还有很多内外镶套的frame,那里面的16个数表示的巨正是什么意思,是不是他在世界坐标的位子
那如果是,那上面的第二个摸板中的matrixOffset是什么,IDirectXFileData在枚举后装的是什么数据,各位大狭帮帮小弟,小弟我想了很久想不出,又找不到资料。谢谢。