Embree in progress

I managed to get it to work with embree4. With embree3, it worked by adding some extra options to the RTCRayHit structure.

  rayhit.hit.instID[0] = RTC_INVALID_GEOMETRY_ID;
  rayhit.ray.mask = -1;
  rayhit.ray.flags = 0;
1 Like