Blender Git Commit Log

Git Commits -> Revision cf359f6

Revision cf359f6 by Thomas Dinges (master)
June 9, 2013, 20:46 (GMT)
Cycles / Wavelength to RGB node:
* Added a node to convert wavelength (in nanometer, from 380nm to 780nm) to RGB values. This can be useful to match real world colors easier.

Example render:
http://www.pasteall.org/pic/show.php?id=53202

ToDo:
* Move some functions into an util file, maybe a common util_color.h or so.
* Test GPU, unfortunately sm_21 doesn't work for me yet.

Commit Details:

Full Hash: cf359f6c7f259bf669a144c9a455fe79780fc6ff
SVN Revision: 57322
Parent Commit: cca324e
Lines Changed: +239, -0

3 Added Paths:

/intern/cycles/kernel/shaders/node_wavelength.osl (+27, -0) (View)
/intern/cycles/kernel/svm/svm_wavelength.h (+113, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_wavelength.c (+54, -0) (View)

13 Modified Paths:

/intern/cycles/blender/blender_shader.cpp (+3, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -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/nodes.cpp (+24, -0) (Diff)
/intern/cycles/render/nodes.h (+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