Nuke

Compositing snippets, node tricks, and workflow notes.

Insert Parameter Values Into Strings

Reference node parameter values inside string expressions using `value`.

ContextValue String Injection Use caseDynamic String Reference FieldExpression String
//adding a parameter value into a string in Nuke
[value Version_Switch.which]
[value Node_Name.parameter]

Photoshop "Color" Blend Mode Setup

Nuke node scripts that reproduce Photoshop's Color blending behavior.

ContextPhotoshop Color Blend Mode Use caseHSV Color Recombine FieldNode Graph Script
set cut_paste_input [stack 0]
version 6.3 v4
Constant {
 inputs 0
 channels rgb
 name COLOR_AND_SATURATION
 selected true
 xpos -9000
 ypos 1919
}
Colorspace {
 colorspace_out HSV
 name Colorspace1
 selected true
 xpos -9000
 ypos 2007
}
Constant {
 inputs 0
 channels rgb
 name VALUE
 selected true
 xpos -8744
 ypos 1919
}
Colorspace {
 colorspace_out HSV
 name Colorspace3
 selected true
 xpos -8744
 ypos 2007
}
ShuffleCopy {
 inputs 2
 red red
 green green
 name ShuffleCopy1
 selected true
 xpos -8872
 ypos 2071
}
Colorspace {
 colorspace_in HSV
 name Colorspace2
 selected true
 xpos -8872
 ypos 2135
}