Getting blender 2.5 animated meshes into Irrlicht

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Rocko Bonaparte
Posts: 48
Joined: Tue Aug 31, 2010 6:27 am

Getting blender 2.5 animated meshes into Irrlicht

Post by Rocko Bonaparte »

I have the 2.56 Linux beta from Blender's website and have been learning Blender's basics. I am at the point where I am starting to animate with bones. In Blender I have a few keyframes set, and I can see the model change from keyframe to keyframe. My problem is I just can't get this to show up in Irrlicht at all.

I don't see a Blitz3d exporter for 2.5 so that might make things even more complicated. I am trying to use the DirectX exporter. I do see entries in the .x file for animations, but none end up playing in the MeshViewer. Also I have a model where if I export with animations, the mesh turns up garbled. I am wondering if there's some known method for exporting Blender 2.5 dynamic meshes into Irrlicht.
BassieEnAdriaan
Posts: 2
Joined: Sun May 29, 2011 2:54 pm

Post by BassieEnAdriaan »

Hello, I made this account just to reply here, I also thought it would be better to bump one then make a new thread.

I am having exactly the same problem, I did however find a md3 exporter by xembie but I had no luck installing that.

If anyone found a solution please share it!
ChaiRuiPeng
Posts: 363
Joined: Thu Dec 16, 2010 8:50 pm
Location: Somewhere in the clouds.. drinking pink lemonade and sunshine..

Post by ChaiRuiPeng »

in order for skinned meshes to work in irrlicht you must have one parent bone for all bones in blender and make sure ALL vertices are mapped to a bone or animated mesh will not work at all.
ent1ty wrote: success is a matter of concentration and desire
Butler Lampson wrote: all problems in Computer Science can be solved by another level of indirection
at a cost measure in computer resources ;)
BassieEnAdriaan
Posts: 2
Joined: Sun May 29, 2011 2:54 pm

Post by BassieEnAdriaan »

ChaiRuiPeng wrote:in order for skinned meshes to work in irrlicht you must have one parent bone for all bones in blender and make sure ALL vertices are mapped to a bone or animated mesh will not work at all.
Are you talking about the .x file type?

Update: i've managed to get the .x file type working correctly.
_ph_
Posts: 8
Joined: Tue Aug 24, 2010 10:38 am

Post by _ph_ »

Personally, with blender (2.49), i use the ".b3d" exporter from "gandaldf" which work fine for me.
There is also ".md2" and ".md3" exporter if you prefer.
Rocko Bonaparte
Posts: 48
Joined: Tue Aug 31, 2010 6:27 am

Post by Rocko Bonaparte »

Yeah 2.49 is easy because the exporters really do work. Anyways for the DirectX importer, some of the stuff above was very relevant. In particular, when doing an animated mesh you have to make sure each vertex has an assignment. Unfortunately the exporters don't make this stuff clear.
Post Reply