|
发表于 2003-12-30 11:30:00
|
显示全部楼层
Re: 我的3dsmax导出插件和一个相关的演示Demo
有意思.
看来你比我大几天,昨天是我生日:19801229
我的文件格式也和你的一样.
头一个标志就是生日.
struct LWXHeader_t
{
int iMagic;
int iVersion;
LWXHeader_t()
{
iMagic = 19801229; 我生日.
//iVersion = 3;
}
}
支持一下,希望对你有点用:
枚举biped node很容易:
// 枚举所有的biped node,去掉dummy node
Control *pControl;
pControl = node->GetTMController();
if(((pControl->ClassID() == BIPSLAVE_CONTROL_CLASS_ID) ||
(pControl->ClassID() == BIPBODY_CONTROL_CLASS_ID)) && os.obj->ClassID() != Class_ID(DUMMY_CLASS_ID, 0))
{
....
}
|
|