Where does it end?

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
Sparrow
Posts: 10
Joined: Mon Jul 02, 2012 4:14 pm

Where does it end?

Post by Sparrow »

I just got the hang of irrlicht, and everything was going great. I started developing a neat game I have a great passion for and then decided to start modelling the characters for it. I learned enough blender to create a textured, key frame animated armatured mesh. For the last 2.5 months I have been struggling and peddling to get my model exported to anything irrlicht will handle.

I am on the verge of completely giving up and becoming a plumber. Please tell me how you guys export your models from blender 2.63 to .b3d or .x or md5 or anything. Is it possible for me to give you my .blend files so you can tell me what I'm doing wrong?
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Where does it end?

Post by CuteAlien »

Did you see the b3d exporter from the supertuxcart people? Was recently mentioned in that thread: http://irrlicht.sourceforge.net/forum/v ... 8&start=15

I can't help with 2.63 unfortunately - I spend a few hours recently getting back into Blender with the new Interface (which is rather nicer than the old one, I just wasn't used to it yet). But haven't build up a real toolchain for myself yet from 2.63 to Irrlicht (which is why I still have 2.49 around on my system...).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Andreas
Posts: 166
Joined: Sun Oct 31, 2004 7:15 am
Location: Münster / Germany
Contact:

Re: Where does it end?

Post by Andreas »

Hi Sparrow,

i finally found a way to export animated models to irrlicht, but it took me some time as well. What currently works for me is the following:

- Blender 2.63 (Windows or Linux)
- The supertuxcart exporter mentioned by CuteAlien
- A single mesh in Blender with one simple UV-Texture.
- Armatures and animations done in the "pose mode" with the "timeline" view. (I think blender offers different possibilities to animate a model)

With these restrictions the export works fine. You could additionally try the Blender integrated .x exporter, but i had to play around with the options to get my models exporter with animations.
Sparrow
Posts: 10
Joined: Mon Jul 02, 2012 4:14 pm

Re: Where does it end?

Post by Sparrow »

Thanks guys. Being so frustrated these comments really made my day, I'm ready for more. I'll try the exporter and I'll make sure I only have one mesh. I'll let you know how it goes.
Sparrow
Posts: 10
Joined: Mon Jul 02, 2012 4:14 pm

Re: Where does it end?

Post by Sparrow »

It works... that wonderful b3d exporter works... If you were all girls, I'd screw you all sideways. My model looks like a paper mashe doll that fell into a blender, but that I'm guessing is due to my objects not being situated at the origin?
PioBeat
Posts: 4
Joined: Wed Aug 22, 2012 6:48 am

Re: Where does it end?

Post by PioBeat »

Hello!

At first thank you for the answers in this post. These are really helpful. Searching for hours to find a start.
I followed the steps mentioned by Andreas, but when loading the exported *.b3d model from blender 2.63
in irrlicht, the mesh is not visible.
Irrlicht could load the mesh, as it says in the commandline. Scaling doesn't help.

I tried this with different models: with skeleton bones, and even a simple cube is not visible, but can be loaded in irrlicht.


I use the latest irrlicht lime wrapper with irrlicht 1.7. But I tried loading the model with the default irrlicht "meshviewer" and it doesn't show up neither.



EDIT:

I think a have solved my problem. I am modelling with wings3d and exported it in the 3ds format. The problem in blender was (I probably think): I joined every mesh to one single object. I think that was the mistake.

Another reason: Blender 2.63 with the b3d export plugin isn't automatically overwriting the previous ceated file. So I couldn't see any changes I have made.

Hope this helps.
Post Reply