Previous Thread  Next Thread

chat icon Recording modifier animation to keyframes in blender

enderman

Posted: Fri Oct 05, 2012 3:24 pm
Joined: 05 Oct 2012
Posts: 2
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?
Reply with quote


CoDEmanX

Posted: Fri Oct 05, 2012 9:54 pm
Joined: 05 Apr 2009
Posts: 694
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)
_________________
I'm sitting, waiting, wishing, building Blender in superstition...
Reply with quote


enderman

Posted: Sat Oct 06, 2012 12:27 pm
Joined: 05 Oct 2012
Posts: 2
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.
Reply with quote


CoDEmanX

Posted: Sat Oct 06, 2012 7:25 pm
Joined: 05 Apr 2009
Posts: 694
looks like shape key animations are supported:
http://www.ogre3d.org/docs/api/html/classOgre_1_1VertexAnimationTrack.html

and here they list "shape animation":
http://code.google.com/p/blender2ogre/
_________________
I'm sitting, waiting, wishing, building Blender in superstition...
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group