gkjohnson/three-bvh-csg

Use only a single ray query for whole triangles

gkjohnson opened this issue · 1 comments

Must ensure we have a triangle intersect function that will not allow rays to slip through gaps, though.

Related to #99, as well, since we can use this for clipped triangles, as well, if we know already that triangles are intersecting in a coplanar way.

Potentially a savings of almost ~10% for the geometry example when using 1 sample for all geometry in addition to using a non-normal ray for sampling.