Cycles / Blackbody node:

* Replaced the Brute Force version with a nice lookup table, this speeds it up a lot. 
Patch by Philipp Oeser (lichtwerk) with some cleanup and changes by myself. Thanks! 

ToDo:
* Temperature values between 800 and 804 Kelvin are wrong in SVM, check on this.
This commit is contained in:
Thomas Dinges
2013-06-16 16:08:11 +00:00
parent 0429595440
commit a841813cd9
10 changed files with 258 additions and 55 deletions

View File

@@ -465,6 +465,8 @@ public:
class BlackbodyNode : public ShaderNode {
public:
SHADER_NODE_CLASS(BlackbodyNode)
bool has_converter_blackbody() { return true; }
};
class MathNode : public ShaderNode {