Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPUs.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

One sided triangle intersection only

Tony_M_2
Beginner
260 Views

Is there a flag to tell Embree to only return hit intersections for "one sided" triangles

I.E. If the triangle's normal was pointing away from the casting ray, opposed to if they were in opposite directions.

0 Kudos
2 Replies
Al_N_
Beginner
260 Views
I don't believe so. You need to use the filter function and test which side of the triangle was hit and discard those hitting the wrong side.
SvenW_Intel
Moderator
260 Views

Compile Embree with the RTCORE_BACKFACE_CULLING cmake option enabled, and all back-facing triangle will be ignored.

Reply