Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPUs.
266 Discussions

rtcCollide early exit after one intersection

Iciar
Beginner
685 Views

I was wondering, is there a way to stop rtcCollide after one collision has already been found? I just want to know if there is a collision, so I was hoping I could avoid iterating through all the geometry once the first collision is found. 

0 Kudos
1 Reply
SvenW_Intel
Moderator
630 Views

Unfortunately, it is not possible to terminate the rtcCollide function.

Reply