Menu
  • HOME
  • TAGS

Finding Exit Face of Ray-AABB Intersection (Ray Tracing)

raytracing,aabb

I think I have discovered a satisfactory solution! Knowing the exit point, the exit plane is the one with the smallest distance to the exit point. It's as precise as the ray-AABB intersection algorithm and (being an AABB) it only requires a few subtractions, which makes it pretty fast. I...