setFarValue question

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
MeisterK
Posts: 66
Joined: Sat Feb 26, 2005 1:20 pm

setFarValue question

Post by MeisterK »

As far as I understood is the Irrlicht farValue the farest distance to a point the camera can view before it's clipped off?!
Clipping off meshes increases the "frames per second" and decreases the primitives(triangles) drawn.

I've tested this using an empty scene first with only a TestSceneNode and later with only an AnimatedMeshSceneNode (ms3d).
Both were not displayed after the camera moved too far away.

But "irrDriver->getPrimitiveCountDrawn()" never changed when using an AnimatedMeshSceneNode as it does with a TestSceneNode.
On the other hand having a scene with 100s of AnimatedMeshSceneNodes and a small farValue doesn't speed up the performance even when they are not display (since they are too far away) :-(

Is my understand wrong or is this probably a bug?
Xception
Posts: 22
Joined: Tue Feb 24, 2004 10:05 am

Post by Xception »

It's a bug.
Culling does not work right.
Look in the bug reports forum for a fix:
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=6549
MeisterK
Posts: 66
Joined: Sat Feb 26, 2005 1:20 pm

Post by MeisterK »

Thx for the reply.

I tried the fix (and it seemed to work) but it incredable slowed the rendering (from 17 FPS to 1 FPS!)

Maybe I did something wrong and so I'm waiting for the 0.10 :-)
Post Reply