Blender Git Commit Log

Git Commits -> Revision 6d9720e

Revision 6d9720e by Thomas Dinges (master)
July 31, 2013, 20:56 (GMT)
Cycles / Blackbody to RGB node:
* Added a node to convert a temperature in Kelvin to an RGB color. This can be used e.g. for lights, to easily find the right color temperature.
= Some common temperatures =
Candle light: 1500 Kelvin
Sunset/Sunrise: 1850 Kelvin
Studio lamps: 3200 Kelvin
Horizon daylight: 5000 Kelvin

Documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Blackbody

Thanks to Philipp Oeser (lichtwerk), who essentially contributed to this with a patch! :)

This is part of my GSoC 2013 project. SVN merge of r57424, r57487, r57507, r57525, r58253 and r58774

Commit Details:

Full Hash: 6d9720ef63c540d533207aded1114da862377d32
SVN Revision: 58780
Parent Commit: 22dae3e
Lines Changed: +437, -0

5 Added Paths:

/intern/cycles/kernel/shaders/node_blackbody.osl (+33, -0) (View)
/intern/cycles/kernel/svm/svm_blackbody.h (+84, -0) (View)
/intern/cycles/render/blackbody.cpp (+140, -0) (View)
/intern/cycles/render/blackbody.h (+30, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_blackbody.c (+54, -0) (View)

19 Modified Paths:

/intern/cycles/blender/blender_shader.cpp (+3, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+13, -0) (Diff)
/intern/cycles/kernel/shaders/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+4, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+1, -0) (Diff)
/intern/cycles/render/CMakeLists.txt (+2, -0) (Diff)
/intern/cycles/render/graph.h (+1, -0) (Diff)
/intern/cycles/render/nodes.cpp (+24, -0) (Diff)
/intern/cycles/render/nodes.h (+7, -0) (Diff)
/intern/cycles/render/shader.cpp (+26, -0) (Diff)
/intern/cycles/render/shader.h (+2, -0) (Diff)
/intern/cycles/render/svm.cpp (+5, -0) (Diff)
/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/NOD_shader.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021