ray-box intersection: how to find the normal?

Started by
1 comment, last by fnm 16 years, 2 months ago
I'm implementing this algorithm and it's working. I can find the point and the time of intersection, but how can i find the normal? Wich face of the box the ray hit? I would appreciate any help.
Advertisement
Unless I am missing something, the normal would be the same as the normal for the plane the ray intersects for T-Near.
Now that i know, seems obvious... Thanks.

This topic is closed to new replies.

Advertisement