irr vs 3ds

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
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

irr vs 3ds

Post by ent1ty »

I'm making a game with a large landscape/terrain/call it whatever you want. I'm deciding which one should I use. I'd rather use 3ds since its easier to work with it but i dont know if exporting to .3ds from blender supports lights like exporting to irr.
So, which one would you use?
Mag-got
Posts: 42
Joined: Tue Dec 04, 2007 5:53 pm

Post by Mag-got »

Just tried my physics thingie with both .3ds and .irrmesh, with .irrmesh I had over two times more FPS
NightCrawler
Posts: 20
Joined: Thu Nov 05, 2009 11:36 am

Post by NightCrawler »

irrmesh with lightmapping, good choice but the problem is, if ur map is huge(really huge, like IGI 2), it will slow down ur system's performance. try some other light mapping application(use googling), that export 3ds, x or any other formate that irrlicht supports :wink: .
I Hate Those, Who Like To Sleep.
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Post by ent1ty »

So i tried the 3ds format and i'm getting some pretty cool results. What in .irr format loaded in about half a minute now loads in a second. I think this is clear for me :)
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

well the loading time is due to the fact that 3ds is a binary fileformat and irrmesh is xml based and has to be parsed which is quite slow. you could create a binary irrmesh format :D
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Post by ent1ty »

Is there any tutorial how to do that?
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

well not really....
first you have to layout your format then write some functions to write the mesh into a file and then functions to load it. that will then be as fast as 3ds loading.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Post by ent1ty »

Thanks.
I think i will stick with .3ds for now :lol:
roelor
Posts: 240
Joined: Wed Aug 13, 2008 8:06 am

Post by roelor »

How long would it take to load a list of model files and locations?
Is it possible to pre-parse the xml without huge files?
Post Reply