Ray Tracing, Bounding Volume Hierarchy, Bvh, Axis Aligned, Tetrahedron Octahedron.
for tmin/tmax. Finally, just like in the AABB test, we must select the min/max components of the vectors. The only thing left to check is if any of the tmin candidates are negative. Then, we don’t hit the tetrahedron. Translating all these things into code: Final Ray-AABT Intersection Algorithm The