Jump to content
  • Advertisement
Sign in to follow this  
dpadam450

Point vs Finite Plane

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

Best Approach? Right now I have all the dot products working (inside or outside the INFINITE plane), but not for the finite spaced plane? Best Approach to make it finite is..?

Share this post


Link to post
Share on other sites
Advertisement
A plane is infinite by definition, so I'm not sure what you mean by a finite plane. I assume that you actually mean some volume defined by the intersection of a series of half-spaces (i.e. the normal-facing side of a bunch of planes). In that case you just check to see if the point is in front of all the planes. If that's not what you mean then you may need to clarify a bit further.

Share this post


Link to post
Share on other sites
If you by finite plane mean a quad then you're looking for a point-polygon intersection test. These a often made by using barycentric coordinates. Google should give you plenty of results. If your quad is made of triangles google for point-triangle intersection.

Share this post


Link to post
Share on other sites
Right so project the point onto the finite plane and check with the barycentric coords? Thats really the only way I can think of doing it.

Share this post


Link to post
Share on other sites
Stop calling your polygon a finite plane and then look for information on point in polygon testing.

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!