blender/intern/cycles/kernel/light
Lukas Stockner 392b84f879 Fix #114515: Cycles: Numerical precision issues in triangle light sampling
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
2024-05-23 02:27:48 +02:00
..
area.h Fix: Cycles volume light tree using wrong point to compute uncertainty angle 2024-03-27 15:06:05 +01:00
background.h Lights: Option to use old point light falloff 2024-02-07 19:07:11 +01:00
common.h Fix #114634: correlated samples in volume when using equiangular sampling and light tree 2024-03-25 18:50:52 +01:00
distant.h Cycles: use low-distortion mapping when sampling cone and hemisphere 2023-08-23 17:25:27 +02:00
distribution.h Fix #114634: correlated samples in volume when using equiangular sampling and light tree 2024-03-25 18:50:52 +01:00
light.h Cleanup: remove unused function parameters 2024-04-17 18:49:00 +02:00
point.h Cleanup: remove unused function parameters 2024-04-17 18:49:00 +02:00
sample.h Refactor: handle MIS weight in lower-level functions 2024-04-17 18:49:00 +02:00
spot.h Cleanup: remove unused function parameters 2024-04-17 18:49:00 +02:00
tree.h Cleanup: remove unused function parameters 2024-04-17 18:49:00 +02:00
triangle.h Fix #114515: Cycles: Numerical precision issues in triangle light sampling 2024-05-23 02:27:48 +02:00