🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

How to locate a point in a triangle

Started by
1 comment, last by Yoshi 24 years, 5 months ago
If I have a triangle defined by three 3d vectors and a point (x,y,z). What is the fastest method to find out whether the point is inside the triangle or not. The last truth is that there is no magic(Feist)
The last truth is that there is no magic(Feist)
Advertisement
I had quite the same problem (finding out whether the intersection point of a triangle with a ray / line lies inside the triangle or not), but the guys over at the Graphics Programming and Theory Forum helped me a lot. The post is called "intersecting triangles with lines" and was started by Chappa (hey, that''s me!).
Hi,
you could also have a look at http://www.acm.org/tog/resources/RTR/ , there''s a .pdf on ray-triangle- and ray-box-intersections, which might be useful.

CU

Graphix Coding @
Skullpture Entertainment
Graphix Coding @Skullpture Entertainmenthttp://www.skullpture.de

This topic is closed to new replies.

Advertisement