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

Degenerate triangles when accessing BVH

Gouder__Darryl
Beginner
210 Views

I am trying to determine why embree's BVH gives me triangles with co-linear vertices.

I am printing out a 12-triangle version of cornell box (it's empty so just the room and the light). The vertex information is correct is fine in the obj and it looks good in Maya but not the console output - listed below:

Image showing the console output

I am using the BVH access example code from the tutorials.

Is there a reason there's vertex modification after the BVH is built?

0 Kudos
1 Reply
SvenW_Intel
Moderator
210 Views

Embree does not modify the vertices. Does the model render correctly with the viewer --rtcore accel=bvh4.triangle4v? Could you attach a reproducer?

Reply