PDA

View Full Version : don't render the objects not in the sight



beginner620824
02-28-2003, 04:31 AM
If i have a lot of objects and i know which of them are or are not in the sight of the viwer.
The question is: if i don't render those not in the sight in the main loop, will this increase the speed quite a deal?
thanks

mikael_aronsson
02-28-2003, 05:00 AM
Hi !

Yes, frustum culling will improve speed, at least if you have more then a few objects, the less data you send down the pipeline to the hardware the better performance you get.

You do of course have the cost of doing the frustum culling, but this can be done pretty fast.

Mikael