Compute Occluded Samples
Includes hidden/occluded deep samples when the holdout result is calculated.
Depth-aware occlusion / holdout
Removes or occludes Deep samples according to the depth of another Deep stream, producing physically meaningful holdouts.
dHoldout solves occlusion in a Deep pipeline where a flat 2D mask would not be sufficient. It can remove samples that sit behind or within another depth-aware object while preserving the remaining depth structure.
Overview
dHoldout solves occlusion in a Deep pipeline where a flat 2D mask would not be sufficient. It can remove samples that sit behind or within another depth-aware object while preserving the remaining depth structure.
Think of the holdout stream as an invisible object that cuts away Deep samples based on where it actually sits in Z space.
Flow anatomy
The port structure shows how this node fits into a Fusion graph.
Deep stream that will be cut or occluded.
Deep Image with the holdout applied while retaining usable depth samples.
Inspector
Start with these controls before reaching for more complicated workarounds.
Includes hidden/occluded deep samples when the holdout result is calculated.
Sets the Holdout Z Offset.
Lets you sample a point in the Viewer to guide the deep holdout setup.
Sets the X/Y coordinates for Holdout Center.
Practical setup
Verify both branches use the same depth convention.
Connect the image to be cut and the Deep holdout object.
Inspect the result through DeepToImage.
Check semi-transparent edges and volumetric regions.
Continue Deep compositing only after the holdout behaves correctly.
Examples
Use a Deep foreground object to hide a CG element behind it.
Remove samples behind a holdout before merging the scene.
Troubleshooting
Production notes
Related nodes