The code I wrote to group triangles or multires quads that belonging to single faces into single PBVH nodes had edge cases that failed. The code is now much simpler and simply assigns groups of primitives to nodes.
The code I wrote to group triangles or multires quads that belonging to single faces into single PBVH nodes had edge cases that failed. The code is now much simpler and simply assigns groups of primitives to nodes.