blender/intern/cycles
Thomas Dinges e796581655 Cycles: Refactor of constant fold.
* Move constant folding from nodes to the shader graph. This way it's part of our (later) 4-step optimization process.
* Instead of only doing a one level constant fold, we can now do a recursive constant fold, allowing us to simplify shaders much further.
Constant folding is implemented for Blackbody, Math and VectorMath nodes.

Example (the highlighted nodes are removed before rendering):
Before: http://archive.dingto.org/2015/blender/code/one_level_constant_fold.jpg
Now: http://archive.dingto.org/2015/blender/code/multi_level_constant_fold.jpg

Thanks to Sergey and Brecht for Review!
Differential Revision: https://developer.blender.org/D1626
2015-11-25 13:57:54 +01:00
..
app Cycles standalone: add support for reading UV coordinates to the XML scene reader 2015-06-27 12:05:05 +02:00
blender Fix T46646: Point Cloud Density crashes on real time rendering 2015-11-25 17:43:44 +05:00
bvh Cleanup: And one more commit... (BVH Cache). 2015-09-24 17:01:58 +02:00
cmake Cycles: Support building with latest upstream OSL 2015-09-08 13:10:00 +05:00
device OpenGL: clean up use of old extensions 2015-11-24 02:21:07 -05:00
doc Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
kernel Cycles: Fix wrong volume stack update with SSS object intersecting the volume 2015-11-25 13:01:22 +05:00
render Cycles: Refactor of constant fold. 2015-11-25 13:57:54 +01:00
subd Cycles: Code cleanup, spaces around keywords 2015-03-28 00:15:15 +05:00
util Cycles: add utility function to calculate MD5 hash of a given string 2015-11-21 22:07:59 +05:00
CMakeLists.txt CMake: Add option to enable -Werror cflag in some areas 2015-07-18 10:49:51 +02:00
SConscript Cycles: Restructure kernel files organization 2015-05-22 16:31:34 +05:00