Extending RayHit by TriangleIndex and BarycentricCoordinate
Posted: Thu Aug 11, 2016 4:10 pm
Long time no see!
Can I somehow motivate you to extend the RayHit struct by an index and the Barycentric Coordinate of the triangle a corresponding ray hit? If not, do you plan something like this for version 2.0 of your engine?
I ask this because I am trying to use QueryAccelerator and FindRayTriangleIntersection to get the triangle index on my own and I now noticed that an extension of the RayHit struct as mentioned above might be easy to add and would solve my problem.
BTW: It's not important but I always wondered: What does BEPU stand for?
Can I somehow motivate you to extend the RayHit struct by an index and the Barycentric Coordinate of the triangle a corresponding ray hit? If not, do you plan something like this for version 2.0 of your engine?
I ask this because I am trying to use QueryAccelerator and FindRayTriangleIntersection to get the triangle index on my own and I now noticed that an extension of the RayHit struct as mentioned above might be easy to add and would solve my problem.
BTW: It's not important but I always wondered: What does BEPU stand for?