my speed concern with irrlicht

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
juliusctw
Posts: 392
Joined: Fri Apr 21, 2006 6:56 am
Contact:

my speed concern with irrlicht

Post by juliusctw »

Hello I have been programming irrlicht and working on my project for several month now, i have recently run into a problem i am very worried about. My game has grown to the point where I would possible have much over 400 meshes (bout 3000 poly each) , and irrlicht is not cutting it...

i have been doing research on other engines such as light feather and realized that it is much faster than irrlicht :cry: , i know that irrlicht in the past was not open , and now that Bitplane and Hybrid are working on it , there's an effort to catch up , and "maybe" surpass LF , :shock:

i guess i just want people's opinion on how far behind we are to LF ?

I love irrlicht, but i need to decide if its less work to just help improve irrlicht or port my entire project, about 10,000 lines of code to LF .


This is from my last discussion with Electron which LF has edge over Irrlicht:

# OpenGL vertex buffers (also found in IrrSpintz and possibly IrrlichtSVN).

# Particle rendering is helped by dynamic vertex buffers. It is also more memory efficient than Irrlicht's and requires much less memory reallocation

# More accurate frustum culling (down to aabb vs planes)
# Better BHV structure for fast rejection

# hardware occlusion culling

# Node transformations only updated when needed (possibly in some Irrlicht incarnations by now, I'm not 100% sure about that. I know I proposed it on the Irrlicht forums long ago)

# Fewer state changes in rendering

# Portal rendering system (requires additional scene setup

# Potentially Visible Set (PVS) culling for large meshes (requires additional scene setup and preprocessing)
# GUI faster because uses orthographic projection instead of actual 2D blitting
# More efficient octtree

# DLOD (requires external LOD generation)
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

I've been experimenting with LF. I was dissapointed. Several of the example/test programs crashed, and the ones that didn't crash left lots of memory in use at exit. Not only that, but in the version that I downloaded, you can't compile the D3D9 driver.

It looks like it has some really nice features, but seems a little half-baked at the moment.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Oh no, not again... :(
Please, julius, go and use LF. You won't get any speed improvements in Irrlicht just by comparing it to some other engines, nor by posting these things in the forums. Just try it, use it, see if it's faster. And even if you made some comparisons be careful where and what you're telling about it. Never ever make facts or flames from your results. Better ask how to achieve an effect you saw at some other engine with more speed or something like that - and provide implementation details if available.
So for now: Goodbye, you're better off using LF as it seems. So have fun with it. (and just to be sure: This is my personal opinion after reading the list you posted, nothing less or more).
mm765
Posts: 172
Joined: Fri May 28, 2004 10:12 am

Post by mm765 »

vitek wrote:I've been experimenting with LF. I was dissapointed. Several of the example/test programs crashed, and the ones that didn't crash left lots of memory in use at exit. Not only that, but in the version that I downloaded, you can't compile the D3D9 driver.

It looks like it has some really nice features, but seems a little half-baked at the moment.
lf doesnt support d3d atm, only opengl.
the memory-leaks are in the tests because they are programmed very sloppily (thats why they are called tests and not examples). im sure you will find the two examples to be very different in that regard.
as to the crashes id like to know more (use pm/irc/lf-forum for that please).
juliusctw
Posts: 392
Joined: Fri Apr 21, 2006 6:56 am
Contact:

man, i got stoned

Post by juliusctw »

Just to clearify things, Ihave no clue which one is faster , I simply wanted see people's opinion about what I have heard of LF, as well as my speed problem, i am definitely not trying to stir up anything 8) , I love irrlicht


yes, travis, i did download LF and tried to compile it an samething happened to me , i guess you guys are right ,,

I am however still concerned with the speed, just the terrain + collision took 250 fps away from me, But we decided to stick with irrlicht and make necessary improvements ourselves , or if we can't we'll just stuff hybrid with some money and beg to make certain improvements :wink:
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

however, most improvements found on hte patch page were not developed by me :(
although I'd love to take the money there are others doing the real improvements. Maybe it's best to spread the money and keep the whole community happy, or proceed with developing things for Irrlicht on your own and keep us happy by sharing them :D
So "welcome back" :wink:
Post Reply