Blender to Collada to Assimp - Rigid (Non-skinned) Animation
Posted
by
gareththegeek
on Game Development
See other posts from Game Development
or by gareththegeek
Published on 2013-06-26T21:24:02Z
Indexed on
2013/06/26
22:30 UTC
Read the original article
Hit count: 451
I am trying to get simple animations to work, exporting from Blender and importing into my application.
My first attempt was as follows:
- Open Blender at factory settings.
- Select the default cube and insert a location keyframe.
- Select another frame and move the cube.
- Insert a second location keyframe.
- Export to Collada.
When I open the Collada file using assimp it contains zero animations, even though in Blender the cube animates correctly.
On my next attempt, I inserted a bone armature with a single bone, made it the parent of the cube, and animated the bone instead. Again the animation worked correctly in Blender.
Assimp now lists one animation but both key frames have the position [0, 0, 0]
Does anyone have any suggestions as to how I can get animated (non-skinned) meshes from Blender into Assimp?
My ultimate goal here is to export animated meshes from Blender, process them offline into my own model format, and load them into my SharpDX based graphics engine..
© Game Development or respective owner