- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I was wondering if it is possible to enable backface culling without using CMake. I already have my VS2013 project working with a bunch of other libraries. I need to add this option to the already existing project.
Thank you,
Jose
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just enable the EMBREE_BACKFACE_CULLING define in embree/kernels/config.h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sven,
I don't think I made myself clear in the question. The thing is that my VS2013 project is a standalone project, I dont have any kernels folder, nor config.h file. I just built a VS project and included <embree3/rtcore.h>. Hence, I do not know how to enable backface culling.
Thanks
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As you use the precompiled binaries there is no way to enable the backface culling. Backface culling can only get enabled at compile time.
However, you could implement an intersection filter callback that achieves the same result, but at slightly lower performance.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page