Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPU(s)
280 Discussions

rtcCollide early exit after one intersection

Iciar
Beginner
969 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
914 Views

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

0 Kudos
Reply