Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPU(s)
281 Discussions

Build using OBBs as the default bounding entity?

pshr
Beginner
504 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
504 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.

0 Kudos
pshr
Beginner
504 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?

0 Kudos
SvenW_Intel
Moderator
504 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.

0 Kudos
Reply