Editor Progress Week 10 - Ogre .mesh and Irrlicht .irr

I've made some great progress this week. I finished implementing to read and write the whole scene graph including materials and animators into and from an .irr file (it's just an own xml format). This means I'm nearly finished with this new feature. Another new thing is this:

These are OGRE .mesh files, loaded directly into Irrlicht. It's nothing unusual - after all just another file format added to Irrlichts loader list, but OGRE being the other popular open source 3d graphics engine which is nearly always mentioned in forum posts when irrlicht is mentioned, seeing the ogre head displayed in Irrlicht feels a bit odd. (I just integrated hybrid's loader and modified it slightly, thanks for his great work!) In this way I hope Irrlicht can profit a bit from Steve's/OGRE's useful exporters and - who knows - maybe the OGRE community can profit somehow from this too - maybe by using irrEdit as mesh viewer or whatever. :)
I'm going to work on the editor and the Irrlicht source for this still a bit and I hope I'm going to release both this or next weekend, depending on the amount of sunshine available in Vienna. :)
Update: The editor is done, you can download the editor here.

sixteen comments, already:

woha! great!
tuk - 15 06 06 - 12:38


Does this mean we ‘ll get an Irrlicht-builtin Ogre Loader or do we have to use the Editor for loading Ogre Meshes?
[Duncan Mac Leod] (link) - 15 06 06 - 12:47

There will be an Irrlicht integrated ogre .mesh loader. It’s already available from my webpage. Niko’s changes have not been included there, yet, but I’ll try to update the patch ASAP.
Nice to hear that all this will be released very soon. You did not say anything about Linux compatability…
hybrid (link) - 15 06 06 - 13:23

great work !
wait for the IRREdit.

other. new directx 10 is out. irrlicht can plan support it?
d3dworld () - 15 06 06 - 14:26

You’re officially a mesh-napper ;) Nice looking editor.

You might have to be careful with more unusual Ogre meshes though since our vertex format is completely flexible, if Irr’s is still fixed you might not be able to map certain semantics or layouts I guess (things like 3/4D texture coords, different vertex colour packing options, that kind of thing).

The Ogre .mesh format seems to have been the most common export to other engines – people like Multiverse are using it too and it’s cropping up in quite a few editors. I guess that must mean we’re doing something right ;)
Steve () (link) - 15 06 06 - 14:55

Are animations supported or is this just for meshes?
WhiteNoise (link) - 15 06 06 - 15:01

Right now only static meshes. I’ll continue with animations when I find enough time. Though ogre supports so many things that indeed, as Steve pointed out, support will probably be always partial only.
hybrid - 15 06 06 - 15:45

“depending on the amount of sunshine available in Vienna. :)” Wow, you have solarpower? ;)
Matthias - 15 06 06 - 16:01

will reading and writing the .irr scene files be available in .NET also? sometimes bleeding edge features initially seem to come out as c++ only…
buhatkj - 15 06 06 - 18:21

Oauu! Just wainting for them! (h)
Lonerunner () - 15 06 06 - 19:38

The editor is just a visual frontend for irrlicht, so everything you see is in irrlicht, yes. d3d 10 support: sure, as soon as someone can get me d3d10 hardware. :D And btw: Meshnapping is still legal, at least in Austria. :) .NET availability: As soon as everything is stable. Will have to test a bit before finalizing the interface.
niko - 15 06 06 - 22:46

Ahyes, and about Linux compatibility: Should be no problem because I used wxWidgets, but currently, in Irrlicht only the windows devices support rendering into windows the way as the editor needs it, with the OpenGL renderer it does not work currently.
niko - 15 06 06 - 22:52

Sweeeeeeeeeeeet !
andrei25ni () - 16 06 06 - 16:22

Can’t wait for it to be released..
ted - 17 06 06 - 07:32

It’s worthy to wait.
Joe Black () (link) - 17 06 06 - 08:14

respect :) thats really nice work! now i’ve got a new favorite ogre mesh viewer with software rendering. guess i’ve to take another look at irrlicht.
okki (link) - 15 08 06 - 16:27

Remember personal info?
Email (optional):
URL (optional):
Enter "layered" (antispam):
Comment:Emoticons / Textile

  ( Register your username / Log in )

Notify: Yes, send me email when someone replies.  

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.
Note: If you type in your email adress above, it will be visible to other visitors, although it will be hidden for bots using javaScript.