diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-20 07:19:55 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-20 07:19:55 +0300 |
commit | 1d3186cbcf9e3e463e4e6362ac76862b801cf7ba (patch) | |
tree | 450dc8b914efeb8829f815dbba1f9aabd7449a0f /source/blender/nodes/CMP_node.h | |
parent | 8bcf66e1d16ece55f8736797f7d4180a456060ff (diff) |
Durian request: Added 'Color Balance' node to compositor. uses Lift/Gamma/Gain
similar to sequence editor.
--> http://mke3.net/blender/devel/2.5/color_balance_node.jpg
Also added 0 key (zero key) shortcut when mouse is over a button, to reset it to its default value.
Same as the RMB menu ->Reset to Default, except for color wheels, it only resets the hue/sat/value
components that that widget affects.
Peter/Xavier: The existing color balance code can generate NaNs (fractional power of a negative),
which causes havoc along the image pipeline. I added a check in the node code to prevent this.
Still plenty of potential for lots of better colour correction tools in the compositor, just needs time...
Diffstat (limited to 'source/blender/nodes/CMP_node.h')
-rw-r--r-- | source/blender/nodes/CMP_node.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/CMP_node.h b/source/blender/nodes/CMP_node.h index 041bf1c8361..8c3f4f4a847 100644 --- a/source/blender/nodes/CMP_node.h +++ b/source/blender/nodes/CMP_node.h @@ -59,6 +59,7 @@ extern bNodeType cmp_node_gamma; extern bNodeType cmp_node_invert; extern bNodeType cmp_node_alphaover; extern bNodeType cmp_node_zcombine; +extern bNodeType cmp_node_colorbalance; extern bNodeType cmp_node_normal; extern bNodeType cmp_node_curve_vec; |