.Md2

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Yellow_Yackets
Posts: 29
Joined: Thu Oct 25, 2007 5:58 pm
Location: Florida
Contact:

.Md2

Post 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?
Last edited by Yellow_Yackets on Wed Nov 14, 2007 11:30 pm, edited 1 time in total.
Y_Y
Vsk
Posts: 343
Joined: Thu Sep 27, 2007 4:43 pm

Post 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.
Yellow_Yackets
Posts: 29
Joined: Thu Oct 25, 2007 5:58 pm
Location: Florida
Contact:

Post 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..
Y_Y
Luke
Admin
Posts: 449
Joined: Fri Jul 14, 2006 7:55 am
Location: Australia
Contact:

Post 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
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post 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
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Post Reply