forked from bartvdbraak/blender
392b84f879
The refactor in 97d9bbbc97f8 changed the way q is computed in the spherical triangle sampling code. While the new approach is more efficient and saves a few operations, it introduces numerical precision issues for skinny/small (spherical) triangles. Therefore, this change moves the computation of q back to the method from the paper, while keeping the more efficient solid angle computation. Pull Request: https://projects.blender.org/blender/blender/pulls/119224 |
||
---|---|---|
.. | ||
area.h | ||
background.h | ||
common.h | ||
distant.h | ||
distribution.h | ||
light.h | ||
point.h | ||
sample.h | ||
spot.h | ||
tree.h | ||
triangle.h |