You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Proposal: Add a lightweight build-option for BVH-construction-only usecases #600
I use Embree for building efficient BVHs that I then convert to a GPU format and RT using my own compute shader (simulating a specific HW ISA). In this scenario, I try to disable most of everything:
I however still see intersection code compiling (bvh_intersector and curve_intersector_virtual_ etc). In my usecase, Embree still takes quite a while to compile. My proposal is to add an option EMBREE_RAY_INTERSECTION_KERNELS=OFF or EMBREE_RAY_DISABLE_INTERSECTION_KERNELS that disables everything related to intersection tests. I'm posting this as a proposal to hear if others use Embree this way, and what the maintainance burden would be. I'm open to publishing a PR if this is of interest.
Activity
KBentley57 commentedon May 14, 2026
I may be mistaken here but mitsuba3 might benefit from this option.