Advertisement Jump to content
Sword7

Culling cone frustum

This topic is 455 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!