blender/intern
Thomas Dinges 99e20d7b89 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
2014-03-09 22:20:01 +01:00
..
atomic Attempt to fix compilation error on Debian armel kernel 2013-12-12 17:33:36 +06:00
audaspace Fix compile error using MSVC2008 + cmake 2014-03-09 09:55:49 +01:00
container Rework carve integration into boolean modifier 2014-02-13 17:16:53 +06:00
cycles Cycles: Option to Sample all Lights in the Branched Path integrator for indirect samples 2014-03-09 22:20:01 +01:00
dualcon quiet double-promotion warnings, change octree.cpp to use a float (vector accumulated into a float anyway) 2013-08-06 06:38:52 +00:00
elbeem Cleanup some useless/unneeded #ifdefs for MSVC2013. 2014-03-09 00:25:08 +01:00
ffmpeg Fix wrong animation duration when using older Libav 2014-02-06 15:57:32 +06:00
ghost Fix X11 mouse cursor flickering briefly to the standard cursor when changing it. 2014-03-06 18:23:21 +01:00
guardedalloc Fix typo in mmap commit from a while ago 2014-01-23 18:41:38 +06:00
iksolver Code cleanup: white space and cmake was broken on all platforms 2014-02-03 13:56:34 +11:00
itasc Adapt KDL for compile with clang 3.4, which is stricter with friend classes, 2014-02-17 16:39:03 +01:00
locale Locale_wrapper: make the bad_cast catch more clear and fix the std::exception message 2014-02-26 17:33:44 +01:00
memutil Fix T37898: blenderplayer painfully slow in recent builds 2013-12-22 15:26:59 +06:00
mikktspace Style Cleanup: remove preprocessor indentation (updated wiki style guide too) 2013-12-22 14:12:19 +11:00
moto Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
opencl Possible fix for [#36086] Activating the opencl option in the compositor causes blender crash 2013-07-17 12:57:03 +00:00
opencolorio Fix T37810: GLSL dither shader not working on OS X. 2013-12-14 16:01:48 +01:00
opennl remove duplicate sys-types headers. 2013-05-29 21:38:23 +00:00
raskter code cleanup: use NULL rather then 0 for pointers, and make vars static where possible. 2013-03-22 05:34:10 +00:00
rigidbody Fix for potential memory leak in Bullet API: freeing dynamic arrays 2014-03-05 10:01:46 +01:00
smoke Code Cleanup: WIN32 defines, check for _MSC_VER instead of !FREE_WINDOWS 2014-01-03 20:46:12 +11:00
string fix for buffer out-of-bounds reading for STR_String comparisons with char arrays. 2013-03-22 21:26:59 +00:00
utfconv Fix related to #36319: restore SDL_VIDEODRIVER=dummy environment variable, it 2013-09-23 14:48:28 +00:00
CMakeLists.txt Rework carve integration into boolean modifier 2014-02-13 17:16:53 +06:00
SConscript Totally remove BSP from SConscript 2014-02-19 15:46:44 +06:00