Blender Git Loki

Git Commits -> Revision 335ffb0

Revision 335ffb0 by Dalai Felinto (master)
January 24, 2012, 16:32 (GMT)
Brightness/Contrast Node for Cycles

Contrast helps to adjust IBL (HDR images used for background lighting).
Note: In the UI we are caling it Bright instead of Brightness. This copy what Blender composite is doing.
Note2: the algorithm we are using produces pure black when contrast is 100. I'm not a fan of that, but it's a division by zero. I would like to look at other algorithms (what gimp does for example). But that would be only after 2.62.

Commit Details:

Full Hash: 335ffb0ff3df6ee52f525448d09ae6448b75e158
SVN Revision: 43666
Parent Commit: 1f9e25a
Lines Changed: +224, -6

3 Added Paths:

/intern/cycles/kernel/osl/nodes/node_brightness.osl (+50, -0) (View)
/intern/cycles/kernel/svm/svm_brightness.h (+57, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_brightness.c (+60, -0) (View)

14 Modified Paths:

/intern/cycles/app/cycles_xml.cpp (+3, -0) (Diff)
/intern/cycles/blender/blender_shader.cpp (+4, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/osl/nodes/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+4, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+2, -1) (Diff)
/intern/cycles/render/nodes.cpp (+32, -0) (Diff)
/intern/cycles/render/nodes.h (+5, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree_types.h (+1, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/NOD_shader.h (+1, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_gamma.c (+0, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021