Enjoy,
Eric Haines http://www.acm.org/tog/editors/erich/
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