Sign in to follow this  
resle

Ray casting vs frustum culling

Recommended Posts

resle    129
In the classic scenario of a large grid of quads making up a terrain, what would you suggest for culling out non-visibile tiles, raycasting from the camera point of view and checking intersection with each tile vertex, or culling out the quad using the frustum? Before implementing one or the other method I'd like to understand which method is the most computationally intensive. Thanks - a

Share this post


Link to post
Share on other sites
resle    129
Right, I intended to use the recursive structure of a quadtree. But isn't that actually an abstraction that would apply to raycasting too?

Let's say I have a 128x128 tiles terrain. First I check each of the 4 64x64 "macrotiles" for visiblity. For each one which passes the test, I split it into 4 16x16 macrotiles and check it... and so on recursively.

The check can still be performed either by raycasting or frustum culling.

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