Community
cancel
Showing results for 
Search instead for 
Did you mean: 
pshr
Beginner
111 Views

Build using OBBs as the default bounding entity?

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
111 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
111 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
111 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