Advertisement

How to locate a point in a triangle

Started by January 10, 2000 04:28 AM
1 comment, last by Yoshi 24 years, 11 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)
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!).
Advertisement
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