Nodes
DeepMerge
DeepMerge — combine two deep streams (or hold one out by the other).
| Node | DeepMerge |
|---|---|
| Type id | OC_N_deepmerge |
| Menu | Deep › DeepMerge |
| Nuke class | DeepMerge2 (also imports DeepMerge) |
| Code | opencomp_core/nodes/deep/deep_nodes.py |

Inputs and outputs
| Port | Name | Type |
|---|---|---|
| input 0 | B | image |
| input 1 | A | image |
| output 0 | Image | image |
Knobs
Panel tab Deepmerge, in panel order.
| Knob | Label | Type | Default | Range / values | Nuke knob | Description |
|---|---|---|---|---|---|---|
operation | operation | menu | combine | combine, holdout | operation | |
drop_hidden | drop hidden samples | bool | false | drop_hidden |
Other knobs (Python, .nk and the assistant; not on the panel)
| Knob | Label | Type | Default | Range / values | Nuke knob | Description |
|---|---|---|---|---|---|---|
gl_color | Viewer Controls Color | float ×3 | 0, 0, 0 | 0 to 1 | ||
postage_stamp_frame | Static Frame | int | 1 | -2147483648 to 2147483647 | ||
lifetimeStart | Lifetime Start | int | 0 | -2147483648 to 2147483647 | ||
lifetimeEnd | Lifetime End | int | 100 | -2147483648 to 2147483647 | ||
useLifetime | Use Lifetime | boolean | false | |||
cached | Cached | boolean | false | |||
bookmark | Bookmark | boolean | false | |||
dope_sheet | Dope Sheet | boolean | false | |||
clone_group | Clone Group | string | ||||
link_source | Link Source | string | ||||
link_overrides | Link Overrides | string | ||||
split_views | Split Views | string |
Nuke equivalent
Imports from and exports to Nuke's DeepMerge2 (DeepMerge also import to it).
Nuke knobs not in this list import as a knob of the same name, or are kept unchanged for export. See .nk import.
Examples
Open these from Help › Examples…, or from the ? menu in this node's Properties panel.
- DeepMerge four deep passes (
examples/deep/deep_merge.oink): Weta's forest scene as four deep passes (Balls, Ground, Leaves, Trunks). DeepMerge combines the samples by depth, so the passes hold each other out with no mattes; DeepToImage flattens the result. Compare with LowResLeftView/composited.exr, the flat reference.