- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Compile Embree with the RTCORE_BACKFACE_CULLING cmake option enabled, and all back-facing triangle will be ignored.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page