Blender Git Loki

Git Commits -> Revision 99e20d7

Revision 99e20d7 by Thomas Dinges (master)
March 9, 2014, 21:20 (GMT)
Cycles: Option to Sample all Lights in the Branched Path integrator for indirect samples

This adds a new option "Sample All Lights" to the Sampling panel in Cycles (Branched Path). When enabled, Cycles will sample all the lights in the scene for the indirect samples, instead of randomly picking one. This is already happening for direct samples, now you can optionally enable it for indirect.

Example file and renders:
Blend file: http://www.pasteall.org/blend/27411
Random: http://www.pasteall.org/pic/show.php?id=68033
All: http://www.pasteall.org/pic/show.php?id=68034

Sampling all lights is a bit slower, but there is less variance, so it should help in situations with many lights.

Patch by myself with some tweaks by Brecht.
Differential Revision: https://developer.blender.org/D391

Commit Details:

Full Hash: 99e20d7b8930479edfacae246a529e03b84264ae
Parent Commit: 6fdbab4
Lines Changed: +105, -96

7 Modified Paths:

/intern/cycles/blender/addon/properties.py (+5, -0) (Diff)
/intern/cycles/blender/addon/ui.py (+2, -0) (Diff)
/intern/cycles/blender/blender_sync.cpp (+2, -0) (Diff)
/intern/cycles/kernel/kernel_path.h (+90, -94) (Diff)
/intern/cycles/kernel/kernel_types.h (+2, -1) (Diff)
/intern/cycles/render/integrator.cpp (+3, -1) (Diff)
/intern/cycles/render/integrator.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021