Jump to content
  • Advertisement
Sign in to follow this  
Pudelmuetze

Plane - AABB intersection

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

Hi! I already looked at http://www.realtimerendering.com/intersections.html for a Plane - AABB intersection test, but I can't access any of the listed ones. My check would simply be to test if the eight vertices of the box lie on the same side of the plane. Does anyone know a better test? Best regards, Pudelmuetze

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Does anyone know a better test?
Yes, the 'separating axis test' (SAT).

In the case of an axis-aligned box and a plane, the SAT reduces to projecting the box onto the plane normal and comparing the projection to the plane distance (you'll often see this test expressed in terms of the box's 'n-vertex' and 'p-vertex').

The method is explained here, in the section titled 'Geometric Approach - Testing Boxes II'.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!