I'd have a very basic question on how to use RTCRay with rtcIntesect: am I required to provide a normalized direction vector?
And if I don't: how is the value of "tfar" interpreted?
Is the endpoint: ray.tfar * ray.dir?
I'm trying to use a direction vector with the full length between two points p1 and p2:
ray.dir = p2 - p1;
Can I set ray.tfar = 1 now, assuming that it will travel the whole distance from p1 up to point p2?
Thanks for clarifying this,