blender/intern/cycles/kernel/osl
Brecht Van Lommel ad10cbf04a Cycles: multiple importance sampling for lamps, which helps reduce noise for
big lamps and sharp glossy reflections. This was already supported for mesh
lights and the background, so lamps should do it too.

This is not for free and it's a bit slower than I hoped even though there is
no extra BVH ray intersection. I'll try to optimize it more later.

* Area lights look a bit different now, they had the wrong shape before.
* Also fixes a sampling issue in the non-progressive integrator.
* Only enabled for the CPU, will test on the GPU later.
* An option to disable this will be added for situations where it does not help.

Same time comparison before/after:
http://www.pasteall.org/pic/show.php?id=43313
http://www.pasteall.org/pic/show.php?id=43314
2013-01-09 21:09:20 +00:00
..
background.cpp Cycles: 4 new nodes. 2012-11-06 19:59:02 +00:00
bsdf_diffuse_ramp.cpp Cycles OSL minor optimizations: recycle shading context, don't do memory 2012-12-15 10:18:42 +00:00
bsdf_phong_ramp.cpp Cycles OSL minor optimizations: recycle shading context, don't do memory 2012-12-15 10:18:42 +00:00
bsdf_toon.cpp Cycles OSL: diffuse_toon and specular_toon closures. These are toon shaders with 2012-12-19 21:17:16 +00:00
CMakeLists.txt Cycles OSL: diffuse_toon and specular_toon closures. These are toon shaders with 2012-12-19 21:17:16 +00:00
emissive.cpp Cycles OSL minor optimizations: recycle shading context, don't do memory 2012-12-15 10:18:42 +00:00
osl_closures.cpp Cycles OSL: diffuse_toon and specular_toon closures. These are toon shaders with 2012-12-19 21:17:16 +00:00
osl_closures.h Cycles OSL: diffuse_toon and specular_toon closures. These are toon shaders with 2012-12-19 21:17:16 +00:00
osl_globals.h Cycles OSL minor optimizations: recycle shading context, don't do memory 2012-12-15 10:18:42 +00:00
osl_services.cpp Cycles: multiple importance sampling for lamps, which helps reduce noise for 2013-01-09 21:09:20 +00:00
osl_services.h Cycles Hair: refactoring to support generic attributes for hair curves. There 2013-01-03 12:08:54 +00:00
osl_shader.cpp Cycles: multiple importance sampling for lamps, which helps reduce noise for 2013-01-09 21:09:20 +00:00
osl_shader.h Cycles Hair: refactoring to support generic attributes for hair curves. There 2013-01-03 12:08:54 +00:00
SConscript Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00