Files
test/intern/cycles/render
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
..
2014-12-25 02:50:24 +01:00
2014-12-25 02:50:24 +01:00
2014-12-25 02:50:24 +01:00
2015-11-25 13:57:54 +01:00
2015-11-25 13:57:54 +01:00
2015-11-25 13:57:54 +01:00
2015-11-25 13:57:54 +01:00
2014-12-25 02:50:24 +01:00
2015-03-28 00:28:37 +05:00
2015-03-28 00:28:37 +05:00
2014-12-25 02:50:24 +01:00
2015-04-10 15:37:49 +05:00
2014-12-25 02:50:24 +01:00
2014-12-25 02:50:24 +01:00