Go to file
Sergey Sharybin 3e7389eaf2 Cycles: Speedup of Christensen-Burley SSS falloff function
The idea is simply to pre-compute fitting and parameterization
in the bssrdf_setup() function and re-use the values in both
sample() and eval().

The only trick is where to store the pre-calculated values and
the answer is inside of ShaderClosure->custom{1,2,3}. There's
no memory bump here because we now simply re-use padding fields
for the pre-calculated values. Similar trick we can do for other
BSDFs.

Seems to give nice speedup up to 7% here on my desktop with
Core i7 CPU, SSE4.1 kernel.
2016-02-04 15:29:58 +01:00
build_files Imbuf: remove libredcode 2016-02-03 18:39:37 +11:00
doc Cleanup: pep8 2016-02-01 00:47:10 +11:00
extern Imbuf: remove libredcode 2016-02-03 18:39:37 +11:00
intern Cycles: Speedup of Christensen-Burley SSS falloff function 2016-02-04 15:29:58 +01:00
release Use contextlib for temporary py console overrides 2016-02-04 17:40:02 +11:00
source Nodes: Remove code which was dead for 2 years now 2016-02-04 09:57:00 +01:00
tests Cleanup: pep8 2016-02-01 00:47:10 +11: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 Remove SCons building system 2016-01-04 14:20:48 +05:00
CMakeLists.txt Imbuf: remove libredcode 2016-02-03 18:39:37 +11:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Minor edits to sync make.bat & makefile 2016-01-04 20:42:00 +11:00
make.bat Minor edits to sync make.bat & makefile 2016-01-04 20:42:00 +11:00