Oink
DeepRecolordepthcolor DeepRecolor

DeepRecolor

Give deep samples the colour of a flat image: each sample's rgb = colour.rgb * sample alpha / the deep image's flattened alpha, so the recoloured deep flattens back to the colour image (times the deep

raw .md

Give deep samples the colour of a flat image: each sample's rgb = colour.rgb * sample alpha / the deep image's flattened alpha, so the recoloured deep flattens back to the colour image (times the deep coverage). target_input_alpha also scales the sample alphas towards the colour image's alpha (an approximation: flattening is not linear in alpha). Python per-sample loop in this first cut (max_samples).

NodeDeepRecolor
MenuDeep › DeepRecolor
Names in each format
.oink comp (JSON)"type": "OC_N_deeprecolor"
.nk scriptDeepRecolor (how .nk import works)
Pythonnuke.createNode("DeepRecolor")
Assistant (MCP)create_node(type="DeepRecolor")
Tab searchdeeprecolor, or its initials dr

DeepRecolor properties

Inputs and outputs

PortNameType
input 0depthimage
input 1colorimage
output 0Imageimage

Knobs

Panel tab Deeprecolor, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
target_input_alphatarget input alphaboolfalsetarget_input_alpha

Other knobs (Python, .nk and the assistant; not on the panel)

KnobLabelTypeDefaultRange / values.nk knobDescription
gl_colorViewer Controls Colorfloat ×30, 0, 00 to 1
postage_stamp_frameStatic Frameint1-2147483648 to 2147483647
lifetimeStartLifetime Startint0-2147483648 to 2147483647
lifetimeEndLifetime Endint100-2147483648 to 2147483647
useLifetimeUse Lifetimebooleanfalse
cachedCachedbooleanfalse
bookmarkBookmarkbooleanfalse
dope_sheetDope Sheetbooleanfalse
clone_groupClone Groupstring
link_sourceLink Sourcestring
link_overridesLink Overridesstring
split_viewsSplit Viewsstring
max_samplesmax samplesint40000001 to 2147483647Python per-sample loop in this first cut: bigger deep images pass through unchanged

On this page