http://www.psionic3d.co.uk/cgi-bin/imag ... D%20Models
which has 300 frames of animation, but irrlicht load almost 63000 (sixty three thousand !!!) frames
Same goes for default dwarf.x. But this this time it's only 8800. And 5000 for tiny.x from DX9 SDK
I tried to do some conversions using DX9 MeshViewer, CharacterFX and Milkshape and the only time i get correct result was when i used "DirectX 8.0 File..." exporter from milkshape (using "DirectX(JT)..." from Milkshape also gives bed results).
I also tried to load ninja.ms3d and get almos 1200 frames instead of 300. And 1600 for sydney,md2 (maybe this on is correct, because i wasn't able to loaded it to any animation program).
And here's the code i used for loading (taken from MeshViewer tutorial):
Code: Select all
void LoadModel(const c8* filename)
{
if (model) model->remove();
model = 0;
scene::IAnimatedMesh* m = device->getSceneManager()->getMesh(filename);
model = device->getSceneManager()->addAnimatedMeshSceneNode(m);
model->setMaterialFlag(video::EMF_LIGHTING, false);
}