Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPUs.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
265 Discussions

Build using OBBs as the default bounding entity?

pshr
Beginner
228 Views

Hi all, 

I'm curious as to whether or not there is a way to build Embree using OBBs as the default bounding entity for the BVH4/8 or even a small patch which would allow this. 

 

Cheers,

 

Patrick

0 Kudos
3 Replies
SvenW_Intel
Moderator
228 Views

We use oriented bounding boxes for curves and hair, but have no support for other primitives. This can also not easily be switched somewhere, as  we use quite specialized code to select the orientation of the OBBs for curves.

pshr
Beginner
228 Views

Thanks for the quick reply! Are AABBs used exclusively for Tri/Quad/etc. geometries because of the kind of tessellations typically used for rendering?

SvenW_Intel
Moderator
228 Views

AABBs work very well for triangles and quads. Curves are long and thin structures which cannot be bound tightly with AABBs, which is why we use OBBs in this case.

Reply