assets pipeline blender to 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
lordadamson
Posts: 10
Joined: Sun Nov 29, 2015 6:49 pm

assets pipeline blender to irrlicht

Post by lordadamson »

Hi all,
I need the standard pipeline that works best for the engine. Or kind of the best practices to get the best results.

which format would be best to export a scene from blender?
which format would be best to export a movable object?
Which format would be best for skeleton animated objects?

and sample code would be awesome so that I'd know what are the proper functions to use and how to handle materials and texture?

Thanks in advance.
CuteAlien
Admin
Posts: 9693
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: assets pipeline blender to irrlicht

Post by CuteAlien »

You probably have to experiment around a little bit. For static objects (like scenes) using .obj might work. For animated objects using b3d with the exporter from STK (http://sourceforge.net/p/supertuxkart/c ... lender_25/) seems to be a good solution. Somehwere in the forum there was also some importer for .blend files.

But it all depends a lot on the features you need exactly. Irrlicht is a realtime engine and so it has a different features set than Blender. And different formats export different features again. Best think first which features you need exactly and then try a few exporters and load the results inside the MeshViewer example in Irrlicht.
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
chronologicaldot
Competition winner
Posts: 685
Joined: Mon Sep 10, 2012 8:51 am

Re: assets pipeline blender to irrlicht

Post by chronologicaldot »

Throwing this out there: There's also an Irrlicht static mesh exporter for Blender... somewhere... in Code Snippets maybe?... Not sure how that one fares against the others, though, and I assume it's larger considering that it uses XML, but at least its native so I assume it supports all the static mesh features for Irrlicht... maybe.
lordadamson
Posts: 10
Joined: Sun Nov 29, 2015 6:49 pm

Re: assets pipeline blender to irrlicht

Post by lordadamson »

thanks you all
lordadamson
Posts: 10
Joined: Sun Nov 29, 2015 6:49 pm

Re: assets pipeline blender to irrlicht

Post by lordadamson »

Hey guys, since the tutorials only talked about the md2/md3 file formates and no tutorials spoke about how skinned models are loaded so I thought I'd share this tutorial so that others would have their lives eased.
https://www.youtube.com/watch?v=bKprS53tXpA
hope it helps
CuteAlien
Admin
Posts: 9693
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: assets pipeline blender to irrlicht

Post by CuteAlien »

Thanks for posting. If you want to help out some more, maybe update the wiki-page about b3d: http://irrlicht3d.org/wiki/index.php?n=Main.B3d
Needs updated links to working b3d exporter and you could also link to your tutorial there (and yes I could do that as well, I'm just lazy ^_^)
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
Post Reply