Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Gouder__Darryl
Beginner
87 Views

Degenerate triangles when accessing BVH

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