[fixed]Low framerates in 1.4.1

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
squisher
Competition winner
Posts: 91
Joined: Sat May 17, 2008 2:23 am
Contact:

[fixed]Low framerates in 1.4.1

Post by squisher »

My apologies if this has already been addressed (and if it has, can someone please point me in the right direction)

I'm using the CLensFlareSceneNode worked on by gammaray and others.

source
original post

This scene node worked like a charm, out of the box for Irrlicht 1.4. After upgrading to 1.4.1, I discoverred my frames per second dropped to 2 or 3 while looking at the node, and back up to 80-90 frames per second looking away from it. I downgraded back to version 1.4 and the problem went away.. I got 80-90 fps while viewing the node.

The only rendering method I see in the scene node that I don't use elsewhere is drawIndexedTriangleList. Maybe that's the culprit, maybe it's not. In any case, I have to use 1.4 until this is resolved.

Thanks
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

The problem is that some ATI cards use a SW fallback for NPOT textures under OpenGL 2.0. You should find a bug report somewhere down here which also has a fix for this issue, see also this patch in SVN:
http://irrlicht.svn.sourceforge.net/vie ... threv=1363
which shows the changed line.
squisher
Competition winner
Posts: 91
Joined: Sat May 17, 2008 2:23 am
Contact:

Post by squisher »

hybrid wrote:The problem is that some ATI cards use a SW fallback for NPOT textures under OpenGL 2.0. You should find a bug report somewhere down here which also has a fix for this issue, see also this patch in SVN:
http://irrlicht.svn.sourceforge.net/vie ... threv=1363
which shows the changed line.
Thanks!
Post Reply