I am building an implementation which needs figure out every intersection ray-geometry. Since in my case all rays never change their directions, an any-hit program might be ideal to handle the calculation. So I wonder if it’s possible to use the “rtIntersectionDistance” in an any hit program to locate the hit position or is there any other corresponding variable. Otherwise, how to determine a hit point in an any-hit program?
Thanks in advance.