- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone!
I have a small question regarding Embree compilation configuration.
I am playing around with Embree subdivision surfaces (which work great btw) and when trying out ray masks with them, it turns out the macro __USE_RAY_MASK__ is left undefined.
I did define the more official RTCORE_RAY_MASK macro when buiding Embree with Cmake, but it does not seem to trigger the definition of __USE_RAY_MASK__.
I basically had to add its definition at the end of the generated config.h header.
I suppose it is an ugly workaround and that __USE_RAY_MASK__ is meant to stay private, but I could not find a better way to get ray masks to work with subdivision surfaces.
Could someone knowledgeable help me with this?
Many thanks!
Pierre.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pierre,
thanks for reporting the issue. It seems the subdiv intersectors in 2.7.1 do not correctly handle ray masks. We'll fix this in the next release.
Thanks,
Carsten
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page