Contact Support

Merging Deep Images

Use the DeepMerge node to merge the samples from multiple deep images, so that each output pixel contains all the samples from the same pixel of each input.

1.   Connect the data you want to merge to the DeepMerge node’s numbered inputs.
2.   In the DeepMerge properties, make sure operation is set to combine.
3.   You can check the drop hidden samples box in the properties panel to not include samples that are completely occluded by nearer samples whose alpha value is one.

Merging two DeepRecolor results.
4.   You can filter out samples using the drop zero threshold control. Increasing the value removes more samples with very small alpha values, such as those caused by floating point inaccuracy.
5.   The metadata from control allows you to control which input's metadata is passed down the node tree.

Note:  When metadata from is set to All and there are keys with the same name in both inputs, keys in B override keys in A.

6.   Enable compute occluded samples if you want Nuke to calculate occlusion using the values of the holdout samples in front of samples from main. This is a more accurate representation of occlusion at depth, but can take longer to process.

For example:

M = main sample

H = holdout sample

M0 remains unchanged since there are no holdout samples before it. M2 is affected by the combined H0, H1, and H2 holdout samples and M4 is affected by all holdout samples.