Skeletal Animations: Examples?

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
andreasky
Posts: 30
Joined: Tue Jun 09, 2009 2:36 pm

Skeletal Animations: Examples?

Post by andreasky »

Hi,

I would like to control an animated skeletal model. I would import a ".X" file into Irrlicht.

Are there any examples/code snippets on how to control skeletal animations?

Thanks in advance.

Andrea
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

At least the dwarf is a skeletal model to my knowledge. Not sure about the other models. But you can see the dwarf in examples 07 and 09.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
fmx

Post by fmx »

http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=32709

I wrote this a while ago, it might be worth a read if you haven't figured it out yet :wink:
andreasky
Posts: 30
Joined: Tue Jun 09, 2009 2:36 pm

Post by andreasky »

Where can I find Examples 07 and 09? Are they among ghe tutorials?
CuteAlien wrote:At least the dwarf is a skeletal model to my knowledge. Not sure about the other models. But you can see the dwarf in examples 07 and 09.
Thanks.

Bye-bye,

Andrea
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Yes, they are those with number 7 and 9 in their name
andreasky
Posts: 30
Joined: Tue Jun 09, 2009 2:36 pm

Post by andreasky »

fmx wrote:http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=32709

I wrote this a while ago, it might be worth a read if you haven't figured it out yet :wink:
Many thanks, I looked at your example. It is very helpful for me.

A question:

Why do we need to get the absolute Inverse Transformation Matrix of the parent?


==========================================

// Get the absolute INVERSE Transformation matrix of the parent

matrix4 iparentTransform = parentJoint->getAbsoluteTransformation();
iparentTransform.makeInverse();

==========================================


Thank you!
andreasky
Posts: 30
Joined: Tue Jun 09, 2009 2:36 pm

Post by andreasky »

hybrid wrote:Yes, they are those with number 7 and 9 in their name
Thank you!
Post Reply