Blender Multiple animation, B3D exporter and Irrlicht
Posted: Tue Jul 14, 2015 12:21 pm
This post is hard to decide where to insert as it has to do with game programming, advanced help, animations and so on. Anyway, here goes...
PART 1: BLENDER
I'm handling all my animations in a single timeline. It looks like this
The problem is if I need to do some modification and one animation must be longer all must be modified.
The problem is explained here and solved easily in blender as you can create separate animations with the Action Editor pane, so each animation start at frame 1 and finish whenever needed. If one animation must be modified the others are not affected. So the blender part of the problem is solved.
PART 2 IRRLICHT
I'm using B3D as meshes format to do the export. The Gandalf export script doesn't care about multiple animations. It only export the first one. Also Irrlicht as far as I can see only handle the first animation too. I suppose I can do the modifications to the engine to handle multiple animation (or just concatenate the animations), my problem is in the gandalf script. As you know the plugins in Blender are writen in python and I really have trouble following how this code work. Also no idea how the multiple animations are stored in blender.
Anyone have any experience with all this? Any advise how to modify the export script to handle multiple animations?
Thanks a lot!!
PART 1: BLENDER
I'm handling all my animations in a single timeline. It looks like this
Code: Select all
Start Frame End Frame Animation name
1 30 idle 1
31 60 idle 2
61 90 Walking
91 120 Picking object
etc..
The problem is explained here and solved easily in blender as you can create separate animations with the Action Editor pane, so each animation start at frame 1 and finish whenever needed. If one animation must be modified the others are not affected. So the blender part of the problem is solved.
PART 2 IRRLICHT
I'm using B3D as meshes format to do the export. The Gandalf export script doesn't care about multiple animations. It only export the first one. Also Irrlicht as far as I can see only handle the first animation too. I suppose I can do the modifications to the engine to handle multiple animation (or just concatenate the animations), my problem is in the gandalf script. As you know the plugins in Blender are writen in python and I really have trouble following how this code work. Also no idea how the multiple animations are stored in blender.
Anyone have any experience with all this? Any advise how to modify the export script to handle multiple animations?
Thanks a lot!!