Overview
Ray-Triangle Intersection is a core geometric test for rendering, collision picking, and spatial queries.
Finds whether and where a ray hits a triangle.
Compact metadata for implementation and discovery.
Ray-Triangle Intersection is a core geometric test for rendering, collision picking, and spatial queries.
Quick facts
Runtime and memory behavior at a glance.
Best
O(1)
Average
O(1)
Worst
O(1)
Space
O(1)
p(t) = origin + t * directionRepresents every point along the ray.
Show a ray piercing a triangle and the hit point expressed with barycentric weights.
Moller-Trumbore is a common fast formulation of this test.
What each reference supports for this entry.
Rendering reference for ray-geometry intersection tests including ray-triangle intersection.
Open sourceGeometric collision reference for Ray-Triangle Intersection's primitive tests, bounding volumes, and numerical edge cases.
Good next jumps from the relationship graph, ranked for useful discovery.
Ray-triangle hit points are often represented with barycentric coordinates.
BVH traversal often ends in ray-triangle intersection tests.
Ray tracers use ray-triangle tests at primitive intersections.