Enjoy,
Eric Haines http://www.acm.org/tog/editors/erich/
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!
Enjoy,
Eric Haines http://www.acm.org/tog/editors/erich/
The first algo is very slow. I need to use line triangle intersection for my raytracer (producing lightmaps for my 3D Engine). The second one is very good, and very fast. And if you need it, you can get the intersection point, too (just ray->start + t*ray->dir), where t is the returned parameter.
Phillip