Blender Git Loki

Git Commits -> Revision 2102321

Revision 2102321 by Sebastian Herholz (lineart-shadow)
December 8, 2021, 06:51 (GMT)
Cycles: fix bugs in point and spot light multiple importance sampling

* Spot lights are now handled as disks aligned with the direction of the
spotlight instead of view aligned disks.

* Point light is now handled separately from the spot light, to fix a case
where multiple lights are intersected in a row. Before the origin of the
ray was the previously intersected light and not the origin of the initial
ray traced from the last surface/volume interaction.

This makes both strategies in multiple importance sampling converge to the same
result. It changes the render results in some scenes, for example the junkshop
scene where there are large point lights overlapping scene geometry and each
other.

Differential Revision: https://developer.blender.org/D13233

Commit Details:

Full Hash: 210232151fb7ec7dee56d278f436bce73f503c42
Parent Commit: d5abcab
Committed By: YimingWu
Lines Changed: +119, -26

3 Modified Paths:

/intern/cycles/kernel/integrator/intersect_closest.h (+1, -2) (Diff)
/intern/cycles/kernel/light/light.h (+89, -24) (Diff)
/intern/cycles/util/math_intersect.h (+29, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021