Blender Git Commit Log

Git Commits -> Revision cb33442

Revision cb33442 by Sebastian Herholz (master)
December 1, 2021, 19:20 (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: cb334428b012294a4503a34e1e2eca5c84d516bd
Parent Commit: 9afd6e7
Committed By: Brecht Van Lommel
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021