In finding ray-triangle intersection, the formula for finding t, the ray distance, is
t = (vertex.normal – rayOrigin.normal)/(raydirection.normal)
where vertex is one on the vertices of a triangle, normal is the normal to the triangle.
I am applying the inverse transform to ray origin and ray direction. What transforms should I apply for the vertex and normal?
Thanks
New contributor
Surya Namankar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.