Blender Git Loki

Git Commits -> Revision 9e16c5a

Revision 9e16c5a by Thomas Dinges (master)
June 15, 2013, 23:47 (GMT)
Cycles / Blackbody node:
* First (brute force) implementation for SVM. This works and delivers the same result as OSL, but it's slow.
* Code inside svm_blackbody.h inspired by a patch by Philipp Oeser (#35698), thanks.

Ideas:
* Use a lookup table to perform the calculations on render/ level.
* Implement it as a RNA property only, and do the calculation like Sun/Sky precompute.

Commit Details:

Full Hash: 9e16c5a9e429e0d00801a4dd6ee71a8fbf6691f0
SVN Revision: 57487
Parent Commit: d523d27
Lines Changed: +120, -5

1 Added Path:

/intern/cycles/kernel/svm/svm_blackbody.h (+108, -0) (View)

5 Modified Paths:

/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/shaders/node_blackbody.osl (+5, -1) (Diff)
/intern/cycles/kernel/svm/svm.h (+4, -0) (Diff)
/intern/cycles/render/nodes.cpp (+1, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_blackbody.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021