Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


frustum culling

This topic is 6228 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

Your frustrum is defined by six clipping planes (near/far/left/right/top/bottom).
Dot product of a point and plane tells in which side of the plane point is. If one or more of these corners is inside the frustrum, it's atleast partially visible [edit](unless frustrum is reasonably bigger than your boxes).
Search for topics and you'll get a lot of topics conserning frustrum culling and plane equitations. There are much great topics. So did I too.

Edited by - stefu on June 27, 2001 5:02:13 PM

Share this post

Link to post
Share on other sites
Check this link:


Tells you how to cull lines. To test if a box is completely outside of the frustum you can make 4 lines out of the box from opposite corners.

|\ |\
| \ | \
| \________|__\
| |H | |G
|D_|________|C |
\ | \ |

Make these line segments:
A - F
B - E
C - H
D - G

Test these 4 lines against your frustum. If all 4 lines are outside then the entire box is outside.


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.

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!