RenderKit / embree

Embree ray tracing kernels repository.
Apache License 2.0
2.32k stars 383 forks source link

Plane-BVH intersection #449

Closed mikemccarty-vertex closed 1 year ago

mikemccarty-vertex commented 1 year ago

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?

svenwoop commented 1 year ago

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.

mikemccarty-vertex commented 1 year ago

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