Jump to content
  • Advertisement
Sword7

Culling cone frustum

Recommended Posts

Does anyone know any algorithms about culling cone frustum?  I was searching through google but can't find any source.  I only know about culling rectangle frustum (5-6 planes for view normal).

Thanks,
Tim

Share this post


Link to post
Share on other sites
Advertisement

Have you  searched for cone-box, cone-sphere and cone-plane intersection? Those ought to be enough to code some culling. It's a regular cone, the hard part of the usual frustum is that it has tons of planes, so you need to do intersection with each, but a cone is a more basic shape so there are equations to test directly for it.

Share this post


Link to post
Share on other sites

I mean for cone-sphere culling.  When it is inside or intersection of cone frustum, raise flag.  

I recently searched about cone-sphere and now found a few sources about "Cull the cone" article about box, sphere, and plane. I now got it. Thanks for that reply.

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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!