An efficient ray-quadrilateral intersection test


Ares Lagae

Katholieke Universiteit Leuven

            

Philip Dutré

Katholieke Universiteit Leuven



Contact: Ares Lagae

Journal of Graphics Tools, 10(4):23-32, October 2005





Abstract

We present a new and efficient method to compute the intersection point between a convex planar quadrilateral and a ray. Contrary to the Schlick-Subrenat intersection test, the bilinear coordinates of the intersection point are computed only for rays that hit the quadrilateral. Rays that do not hit the quadrilateral are rejected early. Our method is up to 40% faster compared to the algorithm presented by Schlick and Subrenat. The intersection test we present is based on the Moeller-Trumbore ray-triangle intersection algorithm. The new test is at least as fast as two ray triangle intersection tests, and yields bilinear coordinates with no discontinuities in the isoparametrics. Source code implementing the intersection test is available online.




Downloads


Links