DerekVFX LogoDerekVFX

Blog

Nuke

Projects

Photography

Filmography

OCIO.ccExternal link

DerekVFX LogoDerekVFX

©2009 - 2026 DerekVFX

ContactIMDBLinkedInGitHubOCIO.ccExternal link
←ToolSets / Deep

Deep Expander

Deep2026-08-04ToolSets/deep/deepExpander.nk
View on GitHub

DeepExpression that pulls deep.front back and deep.back forward by an expand amount.

Deep Expander is a thin DeepExpression: deep.front minus expand, deep.back plus expand. That stretches each sample's depth interval for softer deep merges and holdouts.

One expand control. Use when deep contact is too hard or sample coverage is thin and you need more blend room without flattening the deep tree.

Script Code

version 10.5 v6
push $cut_paste_input
Group {
name deepExpander
tile_color 0x421010ff
selected true
xpos 1315
ypos -4115
addUserKnob {20 User l deepExpander}
addUserKnob {41 expand T DeepExpression1.expand}
addUserKnob {26 ""}
addUserKnob {26 lbl l "" t "May 14, 2019 - Created" +STARTLINE T "Deep Expander v1.0"}
addUserKnob {22 btn l DerekVFX.ca T "nuke.tcl('start', 'https://derekvfx.ca')" +STARTLINE}
}
Input {
inputs 0
name Input
xpos 447
ypos 61
}
DeepExpression {
chans1 deep
deep.front "deep.front - \[value expand]"
deep.back "deep.back + \[value expand]"
name DeepExpression1
xpos 447
ypos 342
addUserKnob {20 User}
addUserKnob {7 expand R 0 100}
expand 70.8
}
Output {
name Output1
xpos 447
ypos 1055
}
end_group