blender/intern/cycles/render
Thomas Dinges 2c58e96685 Cycles / Shader Graph optimization:
* Unnecessary shader inputs inside the Mix Shader are now ignored, in case the factor is 0.0 / 1.0 and not connected. 
This way we save some render time for complex node graphs. 

Example: http://www.pasteall.org/pic/show.php?id=48226
Check the Mix Shader at the end: In this case, Cycles will now avoid the complete huge shader tree, and only calculate the Diffuse Shader.
Rendertime decreased from 1:50 min to 1:20 min on CPU. GPU rendering benefits as well from this. 

This only affects SVM, OSL was already doing these optimizations.
2013-03-31 01:18:10 +00:00
..
attribute.cpp Cycles Hair: refactoring to store curves with the index of the first key and the 2013-01-03 12:09:09 +00:00
attribute.h Cycles Hair: refactoring to support generic attributes for hair curves. There 2013-01-03 12:08:54 +00:00
background.cpp Cycles: add render layer use environment option to disable world lighting on 2012-04-13 12:58:12 +00:00
background.h Cycles: add render layer use environment option to disable world lighting on 2012-04-13 12:58:12 +00:00
buffers.cpp Fix some (quite harmless) use of uninitialized memory reported by valgrind. 2013-02-12 13:48:04 +00:00
buffers.h Cycles: merge of changes from tomato branch. 2012-09-04 13:29:07 +00:00
camera.cpp Fix #33915: tweak self intersection epsilon for motion blur a bit further, still 2013-01-23 16:56:02 +00:00
camera.h code cleanup: remove some paranoid checks which would have crashed anyway earlier on. 2013-01-20 14:50:50 +00:00
CMakeLists.txt New feature 2012-12-28 14:21:30 +00:00
curves.cpp Cycles Hair: Multiple vertex colours and UV coordinates 2013-01-23 17:15:45 +00:00
curves.h Cycles Hair: Fixed hair shape and inclusion of multiple attributes for triangle primitives 2013-02-02 01:49:57 +00:00
film.cpp Fix #31883: cycles vectors pass rendering crash with some render layers using 2012-06-20 14:24:52 +00:00
film.h Fix #31883: cycles vectors pass rendering crash with some render layers using 2012-06-20 14:24:52 +00:00
filter.cpp style cleanup: assignment & indentation. 2012-06-09 18:56:12 +00:00
filter.h Cycles: 2011-08-28 13:55:59 +00:00
graph.cpp Cycles / Shader Graph optimization: 2013-03-31 01:18:10 +00:00
graph.h Merge of the PyNodes branch (aka "custom nodes") into trunk. 2013-03-18 16:34:57 +00:00
image.cpp Fix #34252: cycles rendering 16bit PNG with too light colors. 2013-02-14 21:40:29 +00:00
image.h Fix #34252: cycles rendering 16bit PNG with too light colors. 2013-02-14 21:40:29 +00:00
integrator.cpp Fix #32018: non-progressive integrator crash. 2012-09-19 17:09:11 +00:00
integrator.h Cycles: first step for implementation of non-progressive sampler that handles 2012-06-13 11:44:48 +00:00
light.cpp Cycles: 2013-03-23 10:11:29 +00:00
light.h Cycles: make multiple importance sampling for lamps an option per lamp now, 2013-01-30 15:57:15 +00:00
mesh_displace.cpp Fix part of #33662: cycles crash using displacement on meshes with vertices not 2012-12-26 20:59:35 +00:00
mesh.cpp Cycles: 2013-02-14 19:30:25 +00:00
mesh.h Fix #33830: cycles normal mapping was not quite correct, was not correctly 2013-01-15 16:35:05 +00:00
nodes.cpp Cycles / SunSky: 2013-03-27 19:44:25 +00:00
nodes.h Merge of the PyNodes branch (aka "custom nodes") into trunk. 2013-03-18 16:34:57 +00:00
object.cpp Fix #34421: cycles viewport render stuck with no objects in the scene. 2013-02-26 17:06:05 +00:00
object.h New feature 2012-12-28 14:21:30 +00:00
osl.cpp Hopefully blender will compile with strict flags again. 2013-03-18 19:27:31 +00:00
osl.h Fix #34121: OSL + persistent images option was not freeing shader memory properly, 2013-02-14 16:11:47 +00:00
particles.cpp Fix #33113: cycles not rendering motion blur correct with dying particles. 2012-11-08 16:35:28 +00:00
particles.h Added a bunch of additional particle state attributes to the Cycles particle info node: 2012-08-31 19:38:59 +00:00
scene.cpp Further fix for #34121: OSL + persistent images could crash in some cases still. 2013-02-14 16:48:43 +00:00
scene.h Further fix for #34121: OSL + persistent images could crash in some cases still. 2013-02-14 16:48:43 +00:00
session.cpp Correction for fix #34205: Zooming in rendered mode during update out of sync with intended zoom 2013-02-13 07:50:41 +00:00
session.h Cycles / Tile Rendering: 2013-01-07 19:55:49 +00:00
shader.cpp Fix #33405: preview render getting stuck in a particular .blend file, ObjectKey 2012-12-04 07:48:09 +00:00
shader.h Fix #34121: OSL + persistent images option was not freeing shader memory properly, 2013-02-14 16:11:47 +00:00
sobol.cpp Fix #29528: crash adding subsurf modifier in a particular scene with viewport render. 2011-12-08 21:55:35 +00:00
sobol.h Fix #29528: crash adding subsurf modifier in a particular scene with viewport render. 2011-12-08 21:55:35 +00:00
svm.cpp Fix #34121: OSL + persistent images option was not freeing shader memory properly, 2013-02-14 16:11:47 +00:00
svm.h Fix #34121: OSL + persistent images option was not freeing shader memory properly, 2013-02-14 16:11:47 +00:00
tile.cpp Cycles / Tile Rendering: 2013-01-07 19:55:49 +00:00
tile.h Fix for recent tile_order feature not working properly with persistent data 2013-01-08 16:56:04 +00:00