blender/intern
Brecht Van Lommel 3d847ed6e6 Fix #36064: cycles direct/indirect light passes with materials that have zero
RGB color components gave non-grey results when you might no expect it.

What happens is that some of the color channels are zero in the direct light
pass because their channel is zero in the color pass. The direct light pass is
defined as lighting divided by the color pass, and we can't divide by zero. We
do a division after all samples are added together to ensure that multiplication
in the compositor gives the exact combined pass even with antialiasing, DoF, ..

Found a simple tweak here, instead of setting such channels to zero it will set
it to the average of other non-zero color channels, which makes the results look
like the expected grey.
2013-07-08 23:31:45 +00:00
..
audaspace update doxygen congfig and tweaks to warnings when running doxygen. 2013-07-03 04:47:50 +00:00
bsp style cleanup: also some typos 2013-02-11 00:49:00 +00:00
container move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading) 2013-05-28 19:35:26 +00:00
cycles Fix #36064: cycles direct/indirect light passes with materials that have zero 2013-07-08 23:31:45 +00:00
dualcon misc minor edits. 2013-03-29 06:25:22 +00:00
elbeem code cleanup: unused defines, remove unused scanfill success value from BLI_scanfill_begin(). 2013-04-10 23:52:07 +00:00
ffmpeg More build fixes for visual studio 2012. 2013-04-29 19:15:56 +00:00
ghost Fix #35904: on Windows force NVidia Optimus, which does automatic graphics 2013-06-28 17:58:48 +00:00
guardedalloc style cleanup 2013-06-06 06:02:46 +00:00
iksolver Fix various warnings with clang build, and adjust cmake clang warnings flags 2013-02-26 21:58:06 +00:00
itasc style cleanup 2013-03-18 11:44:56 +00:00
locale Fix #35890: memory leak in OS X ghost locale detection. 2013-06-27 13:24:55 +00:00
memutil move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading) 2013-05-28 19:35:26 +00:00
mikktspace Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
moto Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
opencl Move opencl and reigidbody from source/blender/ to intern/ 2013-02-01 06:24:49 +00:00
opencolorio Tweak allocation vars for XYZ space for more accurate GPU transform 2013-04-29 10:53:10 +00: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 rigidbody: Code cleanup 2013-04-25 19:50:51 +00:00
smoke Smoke: Remove accidental leftover code from gSoC Smoke + my Smoke code merge. 2013-05-21 19:52:22 +00: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 misc minor edits. 2013-03-29 06:25:22 +00:00
CMakeLists.txt Move opencl and reigidbody from source/blender/ to intern/ 2013-02-01 06:24:49 +00:00
SConscript Move opencl and reigidbody from source/blender/ to intern/ 2013-02-01 06:24:49 +00:00