Frustum Culling

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
Guest

Frustum Culling

Post by Guest »

Hi

I have a quadtree terrain. Each node has its own bounding box. How should I do the culling against the view frustum... I never worked with the view frustum. I'm a real noob there...

I palyed around with the intersectsWithBox() functions... but I'm not sure if my code is correct:

if( pChild->getBoundingBox().intersectsWithBox(pVF->getBoundingBox()) )
{
pChild->Render(..);
}

Any hints \ tipps \ idea's ?

thx
Post Reply