Multiple animation file over a single mesh?

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
christianclavet
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA
Contact:

Multiple animation file over a single mesh?

Post by christianclavet »

Is there a way that I could load multiple animation file to apply to single mesh that is having a skeleton (rigged) inside Irrlicht?

From what I see right now, the mesh will have the animation directly inside, so for a walk, run or anything else, we have to create all the animation inside the single file and play from ranges.

Is there a way, I could have a rigged character, then load a walk cycle to apply to it for a specific set? This would be easier when we want to rework the animation again (expanding the frames, etc.)

Source SDK allow this by using a feature called "bonemerge" that merge the bone info from the 2 meshes and keep only the animation for the animation file.
B@z
Posts: 876
Joined: Thu Jan 31, 2008 5:05 pm
Location: Hungary

Post by B@z »

Image
Image
christianclavet
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA
Contact:

Post by christianclavet »

wow! I did not know that we already had that feature!! Great!
virtual bool irr::scene::ISkinnedMesh::useAnimationFrom ( const ISkinnedMesh * mesh ) [pure virtual]

Use animation from another mesh.

The animation is linked (not copied) based on joint names so make sure they are unique.
So with this I should be able to create a reference mesh and create animations sets for it.(walk, run, jump, etc.) (A set of animation could then be applied to a lot of characters using the same bone set)
Post Reply