Point vs Finite Plane

Started by
3 comments, last by Vorpy 15 years, 10 months ago
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..?

NBA2K, Madden, Maneater, Killing Floor, Sims http://www.pawlowskipinball.com/pinballeternal

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.
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.
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.

NBA2K, Madden, Maneater, Killing Floor, Sims http://www.pawlowskipinball.com/pinballeternal

Stop calling your polygon a finite plane and then look for information on point in polygon testing.

This topic is closed to new replies.

Advertisement