Skeletal animation - one skeleton for all the meshes?

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
Cancel
Posts: 4
Joined: Fri Nov 11, 2005 1:03 pm

Skeletal animation - one skeleton for all the meshes?

Post by Cancel »

I remember when creating models for Half Life 1 that there was only ONE base skeleton which you attached the mesh to. This way you did not have to worry about animating each model but have each model use the same animation data provided by the skeleton.

Now my question: Is something similiar possible in Irrlicht?

When I read about (skeletal) animation with Irrlicht I could only find examples which were loading an .X or .ms3d file and animating the mesh based on the animation data within this file. But I want it so that I only read in the mesh data of several models (and probably the data about which vertexes are connected to which bones) and only load ONE file containing the actual animation data. Since all of my game's protagonists will share a similiar outward appearance(humanoid shape)
it would be nice if they could also share their animations^^

Thanks in advance,

Cancel
ThommyE
Posts: 48
Joined: Sun Sep 18, 2005 3:02 pm
Location: germany/badnerlaendle

Post by ThommyE »

.. you can work around this problem using milkshape.
create your skeleton,animate it and save the whole thing as smd-animation vor halflive.
now you can create several meshes and just import the skeleton, assign the bones and you will have the animation=).
not that much additional work.

but i would also like to have mesh and skeleton seperated..best would be if you can splitt the skeleton so body/legs can play different animations at the same time without strange workaorunds^^
athlon2400xp+,geforce4200ti, 0.2Tb hd+64mb extern, 512mb ram, linux FC5 2.6.16-1.2096, 100%gates-free system
elander
Posts: 193
Joined: Tue Oct 05, 2004 11:37 am

Post by elander »

This is important for blending and sharing animations. I think there should be an AnimationData class that can be loaded separately and can be freely linked to animated meshes.
Cancel
Posts: 4
Joined: Fri Nov 11, 2005 1:03 pm

Post by Cancel »

Thx you two! I gotta look a little deeper in irrlicht's documentation i guess :D
If that does't work I'll try to use SMD-Format ^^
Post Reply