Sign in to follow this  
rajesh_nest

View frustrum culling.

Recommended Posts

The GPU will do it for you, yes, but in order for that to happen you need to:
[list][*]Do a lot of scene traversal for objects that won't even be visible,[*]Possibly add these objects to a dynamic vertex buffer,[*]Submit them with draw calls,[*]Send them through the per-vertex stages of the pipeline,[*]Send them through the primitive assembly stage of the pipeline.[/list]That's a lot of potentially expensive work for something that's not even going to be in the scene. It also occurs at earlier stages in the pipeline where bottlenecks tend to mount up and affect everything that comes after; if you're going to have a bottleneck that's not where you want it to be. Frustum culling also nets you gains from being able to trivially accept or reject large amounts of geometry: assuming you've got your scene organised in some kind of tree structure, you'll realise that if any given node is rejected then all of it's child nodes are also rejected, and likewise for being accepted. As a bonus it's so trivially easy to implement that there's no reason not to use it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this