Page 1 of 1
How to use the advanced animation, like combine animations
Posted: Tue Mar 11, 2008 8:29 am
by wuallen
I just can build a MD2 model and some run, idle animation by Milkshape. I load it into irrlicht and it works.
I also heard about some advanced animation skills, such as combine two animations, like wave hands and run by legs.
How to do this? Can milkshape do this?
Posted: Tue Mar 11, 2008 8:40 am
by JP
Milkshape wouldn't do that, i guess you'd just make the two animations in Milkshape and then combine them in irrlicht.
Posted: Tue Mar 11, 2008 9:26 am
by hybrid
md2 doesn't support more than one animation at a time. You'd have to use skeletal animation for this, or split your mesh into several md3 parts (though md2 would work in that case, too).
Posted: Wed Mar 12, 2008 2:12 am
by wuallen
I look through some post here, and I get some unclear idea.
Milkshape supports the skeletal animation.
1) I build model and skeletal animation by Milkshape.
2) I export a ms3d model to a B3D model.
3) AnimationSceneNode->setTransitionTime(10);
4) AnimationSceneNode->setJointMode(2);
5) IBoneSceneNode* arm = AnimationSceneNode->getJointNode("arm");
6) arm->animateJoints();
7) arm->setFrame("waveHand"); // how to set frame
![Cool 8)](./images/smilies/icon_cool.gif)
IBoneSceneNode* leg = AnimationSceneNode->getJointNode("leg");
9) leg->animateJoints();
10) arm->setFrame("run");
11) showAll()
Does this work? I havn't tried this, because I don't know how to set two different frame loop in one animated scene node.
Posted: Wed Mar 12, 2008 6:50 am
by wuallen
JP wrote:Milkshape wouldn't do that, i guess you'd just make the two animations in Milkshape and then combine them in irrlicht.
how to combine?
Posted: Thu Mar 13, 2008 3:43 am
by wuallen
Jp , hybrid where are you?
Posted: Thu Mar 13, 2008 8:31 am
by Virion
interesting topic... how to animate the joints separately in modeling software? any tutorial? thanks.
Posted: Thu Mar 13, 2008 9:06 am
by JP
wuallen wrote:Jp , hybrid where are you?
Do you find it strange we weren't online in the middle of the night?
Personally i was tucked up in bed awaiting the new work day!
Posted: Fri Mar 14, 2008 1:51 am
by wuallen
Virion wrote:interesting topic... how to animate the joints separately in modeling software? any tutorial? thanks.
I want to know it too. But I think Milkshape can't do this, and b3d model can't do this. To do this, you must use some powerful and special tools and special model format.