RenderKit / embree

Embree ray tracing kernels repository.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plane-BVH intersection

mikemccarty-vertex opened this issue · comments

What would it take to implement a plane-intersection-query BVH operation in the same spirit as the existing rtcPointQuery()?

Is this something that a semi-competent third-party (like myself) could implement on top of the existing embree BVH implementation or does it, practically speaking, really require native embree support?

I would recommend to use the BVH build API (see embree_bvh_builder for an example) to build some BVH and implement traversal in your app. This should be easiest way to get this working.

Ah, I didn't understand how well abstracted the BVH builder functionality was! Thanks!