Go to file
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
build_files install_deps.sh: Updated official Python (to 3.5.0) and NumPy (to 1.10.1). 2015-11-25 11:58:00 +01:00
doc Docs: create link pointing to latest API docs 2015-11-11 04:14:11 +11:00
extern Cleanup: redundant 'break', minor edits 2015-11-19 22:52:13 +11:00
intern Cycles: Refactor of constant fold. 2015-11-25 13:57:54 +01:00
release OpenGL: clean up use of old extensions 2015-11-24 02:21:07 -05:00
scons@625d446ae8 Fixed border extension for the sunbeams node. 2014-09-23 11:42:11 +02:00
source Fix T46646: Point Cloud Density crashes on real time rendering 2015-11-25 17:43:44 +05:00
tests BLI_math: add mat3_polar_decompose, interp_m3_m3m3 and interp_m4_m4m4. 2015-10-09 21:26:33 +02:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore Git ignore BUILD_NOTES.txt from install_deps.sh. 2015-11-23 20:17:02 +01:00
.gitmodules Initialize git submodules for addons, locales and scons 2013-11-15 12:19:08 +06:00
CMakeLists.txt OSX bump python to 3.5 2015-11-24 23:18:31 +01:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Makefile: show build dir when configuring 2015-09-22 00:16:53 +10:00
SConstruct C99 is now the C standard for all our C code. 2015-11-22 22:31:22 +01:00