Page 1 of 1

.Md2

Posted: Thu Oct 25, 2007 6:29 pm
by Yellow_Yackets
Is it possible to join a weapon using other types of files like .md2 or a simple .3ds. OR does it has to be only b3d to be able to use joints in IRRLICHT?

Posted: Thu Oct 25, 2007 6:36 pm
by Vsk
I have this doubt too.
I am using 3ds.
By the way, if this is not possible for 3ds, is ther any way to map the 3ds coord to exact irrlicht coords???
I have seen google and FAQ but nothing.

Posted: Sun Feb 24, 2008 4:53 am
by Yellow_Yackets
I think there is something out there that explanes how to export md2 in the irrlicht FAQ but its hard to find....

if someone finds it please give us the link..

Posted: Sun Feb 24, 2008 6:31 am
by Luke
b3d, ms3d, and x formats use skeletal animation so you can use joints etc.

md2 uses vertex based animation so it has no underlining skeleton. thereof no joints

Posted: Sun Feb 24, 2008 6:46 am
by BlindSide
You can however track the position of a vertex or two, and use that information to position your weapons.

This can be done through IAnimatedSceneNode->getMesh()->getMesh(TheFrameThatItsOn)->getMeshBuffer(TheMeshBufferThatTheVertexIsIn)->getVertices ()[TheIndexOfTheVertex].Pos

Cheers