Page 1 of 1

Recording modifier animation to keyframes in blender

Posted: Fri Oct 05, 2012 4:24 pm
by enderman
Hi. I am working on a game in OGRE and I created a model in blender that uses wave modifier for its animation. Can I somehow record that animation onto keyframes so that I could export it and use it in my game?

Posted: Fri Oct 05, 2012 10:54 pm
by CoDEmanX
what kind of animations does OGRE support?

if it can handle one mesh per frame, then bake the anim

maybe try "apply as shape"

but if it supports armature animation only, then you need sort of a hack... basically a skeleton with one bone per vertex (at least in theory)

Posted: Sat Oct 06, 2012 1:27 pm
by enderman
To be honest I'm not sure on what exactly ogre supports. I have programmed in it before and I have made models in blender but I only used the rigged models while the one I made now is rather unriggable.

Apply as shape just applies the shape and the animation stops.

I think what I'm going to do is just export a mesh for every frame and just animate through them by code in ogre.

Thanks for the reply anyway and if anyone has any ideas or experience with this please say.

Posted: Sat Oct 06, 2012 8:25 pm
by CoDEmanX
looks like shape key animations are supported:
http://www.ogre3d.org/docs/api/html/cla ... Track.html

and here they list "shape animation":
http://code.google.com/p/blender2ogre/