FUSION · FULL ARTICLE
dHoldout
Studio-only two-input Deep operator: a Foreground Deep Image occludes samples in a Background Deep Image while the output remains Deep for further depth-aware compositing.
Overview
dHoldout [dHld] is a Deep Image Compositing tool in DaVinci Resolve Studio. An ordinary RGBA image stores one final color per pixel, while a Deep Image can contain multiple samples at different depths within that pixel. dHoldout resolves occlusion in Z rather than with a single flat mask.
The node has two meaningful inputs. Orange Background takes the Deep image whose hidden portions must be removed. White Foreground takes the Deep image of the occluder — the element in front that hides Background samples.
Foreground does not mean the node automatically merges a visible beauty layer into the result. It uses Foreground to calculate the holdout in Background. Continue with Deep compositing tools such as dMerge when the foreground also needs to be visible in the final composite.
dHoldout outputs a Deep Image. It is not a ready-made 2D frame or a regular Merge matte. Add DeepToImage after all depth-aware work is complete to preview or deliver an ordinary 2D image.
Begin with two compatible Deep sources and a simple opaque intersection. With Compute Occluded Samples off and Holdout Z Offset near zero, Foreground should occlude only the Background samples that lie behind it in depth.
Compute Occluded Samples addresses a specific semi-transparent Foreground case. The Resolve manual describes removing occluded samples and recomputing visible background pixels as if viewed through a partially transparent foreground. This is not an overall quality-enhancement switch.
Test Compute Occluded Samples with glass, smoke or a thin volume over readable background detail. Compare Off and On on the same frame and then in motion. With an entirely opaque Foreground, a small difference does not establish whether the special case works.
Holdout Z Offset moves the occluder's depth boundary. The documented direction is unambiguous: decreasing the value pushes the holdout forward, while increasing it moves it backward. Start at zero and compare small negative and positive offsets with other settings fixed.
Z Offset is a boundary correction, not a depth-unit converter. If a huge offset is required, occlusion is reversed or edges drift apart, check the camera, Z scale, depth convention and frame alignment before adjusting the node further.
Sample is a Viewer interaction: drag the button into the Viewer to choose a value. No exact numerical relationship between the sampled value and other controls is asserted here because the available manual description does not publish such a formula.
Holdout Center exposes X and Y coordinates for repositioning. The bundled Inspector capture shows both at 0.5, a useful neutral starting point rather than a universal required value. Center does not create Polygon geometry or substitute for a Deep Foreground input.
Background and Foreground should agree in frame timing, camera transform, resolution, framing and depth conventions. Mismatched cameras or even a single-frame offset can produce false cutouts, doubled boundaries or unstable intersections.
Deep compositing should take place in linear color space. If sources come from different renderers or have undergone different color processing, check RGB/alpha interpretation and Z conventions before blaming dHoldout.
Some Resolve Deep nodes support automatic conversion of a flat input into Deep. This convenience does not turn arbitrary RGB/alpha into a coherent set of physical depth samples: verify both the datatype and the meaning of its depth.
For inspection, create a diagnostic dHoldout → DeepToImage → Viewer branch and compare it with the unheld Background. This shows the outcome in 2D without destroying the main Deep graph; dHoldout itself still outputs Deep data.
If the result behaves like a coarse black-and-white cutout, first confirm that both inputs actually contain Deep data. A flat Polygon, an Effect Mask and a Deep Foreground occluder are not interchangeable sources of depth occlusion.
With moving objects, review a range of frames. Boundary popping is often caused by inconsistent sample depths, camera motion or render passes sampled at different times. Arbitrary Z Offset keyframes usually hide the symptom rather than fix the cause.
On glass, smoke and fine transparent edges, judge the flattened preview in both RGB and alpha over the intended background. One good still frame does not guarantee stable transparency through the whole shot.
If a shot does not require multiple depths within a pixel, a regular 2D matte may be simpler and cheaper. dHoldout is valuable precisely when per-sample depth ordering matters more than a flat silhouette.
A typical pipeline sends Deep Background and Deep Occluder to dHoldout, then continues through other Deep operators such as dMerge, with DeepToImage at the final hand-off to 2D. The exact order depends on the shot.
The project includes a genuine Inspector capture of Compute Occluded Samples, Holdout Z Offset, Sample and Holdout Center X/Y. It documents actual labels, not the rendering behavior of a particular Resolve build.
When assembling .comp or .setting files programmatically, obtain port and control identifiers from a small composition exported by the target Resolve build. User-visible labels are not necessarily serialized identifiers.
When to use it
- Hide CG/background Deep samples behind foreground geometry without manual 2D roto
- Create holdouts for glass, smoke and other semi-transparent Deep elements
- Remove samples physically located behind a depth-aware foreground
- Prepare a Deep branch for dMerge and other Deep operations
- Bias close depth intersections with a small Holdout Z Offset
- Preserve Deep structure until the final DeepToImage flatten
Article screenshots
Inputs & outputs
dHoldout: Deep Background + Deep Foreground → depth-aware holdout → Deep Output
dHoldout is a Studio-only Deep operator. Orange Background is the Deep stream whose samples are to be occluded; white Foreground is the Deep occluder. Output remains Deep and can continue through dMerge/dRecolor/dTransform before an eventual DeepToImage flatten.
Uses Foreground depth samples to remove or recompute occluded Background samples while preserving the result in the Deep domain.
Inputs
- Background
Deep image being occluded
Receives: A Deep EXR/MediaIn/Loader, Renderer3D Deep output, dMerge or another Deep branch whose samples should be hidden.
Inside the node: dHoldout removes or recomputes Background samples that are occluded by Foreground in Z.
Typical sources: Deep EXR / MediaIn · Loader with Deep EXR · Renderer3D Deep output · dMerge / other Deep processor
This is the orange Background, not a single generic Input. Do not swap its role with Foreground just to chase a visual result.
- Foreground
Deep occluder
Receives: The second Deep Image—the foreground subject/geometry that should hide Background by depth.
Inside the node: Its depth samples determine occlusion. With partial transparency, Compute Occluded Samples changes treatment of the visible Background.
Typical sources: Deep foreground render · Deep EXR subject · Renderer3D Deep foreground · dMerge branch
Foreground is an occluder, not a normal layer for a visible Merge. Sources should use compatible camera/depth conventions.
Outputs and destination
Output
A Deep Image after holdout with the depth-aware pipeline preserved.
Next step: dMerge · dRecolor · dTransform · dResize · DeepToImage
This is neither a 2D image nor a blue mask. MediaOut/ordinary 2D nodes require DeepToImage flattening.
- Output
- Deep Image after the holdout. The multi-sample/depth-aware pipeline continues until an explicit DeepToImage flatten.
Processing order
- Background receives the Deep Image whose samples are to be held out.
- Foreground receives a separate Deep Image occluder and defines occlusion by Z.
- Both sources should use compatible camera/depth conventions in a correct linear Deep pipeline.
- First validate opaque overlap with Compute Occluded Samples Off.
- Enable Compute Occluded Samples separately for a genuinely semi-transparent Foreground.
- Use Holdout Z Offset only as a small depth bias after topology is proven.
- Decreasing Z Offset moves the holdout forward while increasing moves it in the opposite direction.
- Sample and Holdout Center are Viewer targeting/inspection controls and do not replace the Foreground Deep input.
- Sample/Center changes do not create separate mask geometry or a new datatype.
- Output remains a Deep Image and can continue through dMerge/dRecolor/dTransform/dResize.
- Use DeepToImage only as the preview/final flatten boundary into an ordinary 2D image.
- The live target build separately validates sample recomputation, performance and serialized Deep controls.
Foreground occludes Background
Deep Background → dHoldout.Background · Deep Foreground → dHoldout.Foreground · dHoldout.Output → DeepToImage
Foreground acts as the depth-aware occluder; DeepToImage is only the viewing/final transition into 2D.
dHoldout = two Deep inputs with distinct roles: Foreground occludes Background by Z and Output remains Deep.
Parameters
dHoldout · Inspector reference
Read dHoldout as eight layers: scope → Deep topology → opaque/semi-transparent occlusion → Z bias → Sample/Center targeting → Deep pipeline → temporal QC → validation. The key boundary is that Foreground occludes Background by Deep samples while Output remains Deep.
- Background
- Deep stream to hold out
- Foreground
- Deep occluder
- Occlusion
- opaque / partial transparency
- Bias
- Holdout Z Offset
- Target
- Sample / Center
- Output
- Deep → DeepToImage later
Scope / Contract · Deep operator · not flat matte
Studio-only Deep Image operator; both inputs and Output live in the Deep domain.
- Deep operator, not matte
Tool scopedHoldout operates in the Deep sample domain and is not a normal 2D matte node.
Check / distinguish: Verify both inputs and output use the deep flow type.
- Studio-only Deep toolset
DeploymentResolve 21 places the Deep Image Compositing Toolset behind Studio licensing.
Check / distinguish: Verify the edition before handoff.
- Output remains Deep
Output contractdHoldout.Output preserves multi-sample Deep structure.
Check / distinguish: Flatten only through downstream DeepToImage.
- No ordinary MediaOut path
Flow boundaryOrdinary 2D MediaOut requires flattening first.
Check / distinguish: Do not wire Deep directly into a 2D path.
- Multi-sample semantics matter
Deep modelOne screen pixel can contain multiple samples along Z.
Check / distinguish: Do not reduce the model to one flat alpha.
- Linear compositing expectation
Color pipelineDeep compositing should be performed in a linear colorspace.
Check / distinguish: Verify the upstream working state.
- DeepToImage is the flatten boundary
PipelineDeepToImage ends depth-aware sample structure.
Check / distinguish: Place it after Deep operations.
- Live runtime remains separate
CertificationStatic docs do not replace runtime sample/edge/performance checks.
Check / distinguish: Keep live certification pending.
Deep Topology · Background target · Foreground occluder
Background is modified while Foreground defines occlusion.
- Background is modified stream
Flow > BackgroundOrange Background is the Deep stream whose samples are held out.
Check / distinguish: Connect the target stream here.
- Foreground is occluder
Flow > ForegroundWhite Foreground defines the depth-aware occluder.
Check / distinguish: Connect the occluder here.
- Roles are not Merge order
Flow semanticsSwapping ports changes the physical holdout role rather than ordinary layer order.
Check / distinguish: Use a swap only as a diagnostic A/B.
- Foreground need not be visible layer
Flow semanticsForeground is used for occlusion and need not become a visible beauty layer.
Check / distinguish: Judge Background removal rather than Foreground visibility.
- Both sources need compatible camera
Source contractCamera/depth convention should match.
Check / distinguish: Verify metadata/render setup.
- Both sources need matching frame
Source contractTemporal mismatch breaks occlusion.
Check / distinguish: Verify frame/time.
- 2D auto-conversion is only convenience
Input boundaryAutomatic 2D→Deep conversion does not guarantee correct physical depth semantics.
Check / distinguish: Do not treat arbitrary RGB as a coherent Deep render.
- ImageToDeep still needs depth meaning
Input boundaryImageToDeep creates a representation but depth interpretation remains your responsibility.
Check / distinguish: Document the depth source.
Occlusion · Compute Occluded Samples
A special case for partial transparency, not a generic quality mode.
- Compute Occluded Samples
Occlusion > Compute Occluded SamplesEnables the special occlusion behavior for a semi-transparent Foreground. Resolve 21 describes visible Background under a partially transparent Foreground as being recomputed as if seen through that Foreground. Use it where partial transparency actually exists.
Check / distinguish: A/B on glass, fog or a semi-transparent edge. A fully opaque foreground may show little useful difference.
- Opaque baseline first
Compute Occluded SamplesProve opaque occlusion with Compute Off first.
Check / distinguish: Use a simple overlap region.
- Compute is for semi-transparency
Compute Occluded SamplesThe checkbox is for partial-transparency behavior.
Check / distinguish: Test on glass/fog.
- Compute is not quality mode
Control semanticsOn does not universally mean better.
Check / distinguish: Do not enable it automatically.
- Readable background detail helps
Transparency QCReadable texture behind Foreground makes the A/B meaningful.
Check / distinguish: Use a detail-rich region.
- Opaque regions may show no difference
BoundaryAt alpha≈1 On/Off may look identical.
Check / distinguish: Do not judge from an opaque area.
- Partial coverage needs recomputation
Deep semanticsVisible Background under partial Foreground needs special sample treatment.
Check / distinguish: Compare the flattened preview.
- Compute cannot fix wrong Z
CausalityA wrong depth convention cannot be fixed by the checkbox.
Check / distinguish: Return to the source setup.
- Compute should be A/B isolated
DiagnosisDo not change Offset while testing Compute.
Check / distinguish: Change one variable at a time.
Depth Boundary · Holdout Z Offset
Small Z bias: decreasing forward, increasing opposite.
- Holdout Z Offset
Depth Boundary > Holdout Z OffsetOffsets the holdout depth samples forward or backward. Documented direction: decreasing pushes the holdout forward; increasing moves it the opposite way. This is a depth bias, not a new Z map.
Check / distinguish: Start near zero and move in small steps. A large offset often hides a source-depth problem.
- Offset is depth bias
Holdout Z OffsetOffset shifts the holdout boundary in Z.
Check / distinguish: Do not treat it as 2D position.
- Decreasing moves forward
Holdout Z OffsetDocumented direction: decreasing pushes forward.
Check / distinguish: Test a small negative value.
- Increasing moves opposite
Holdout Z OffsetIncreasing moves the boundary the opposite way.
Check / distinguish: Test a small positive value.
- Start near zero
WorkflowA neutral baseline is required before biasing.
Check / distinguish: Start near zero.
- Large offset is a warning
DiagnosisA large bias often signals incompatible source depth.
Check / distinguish: Recheck camera/Z units.
- Offset cannot fix reversed Z
CausalityA reversed convention must be fixed upstream.
Check / distinguish: Do not fix it with a huge offset.
- Offset A/B needs fixed inputs
DiagnosisChanging inputs mixes causes.
Check / distinguish: Keep sources fixed during ± A/B.
- Animated offset should be deliberate
AnimationKeyframes are valid only for deliberate adjustments.
Check / distinguish: Do not hide source flicker.
Targeting · Sample · Holdout Center
Viewer targeting/repositioning without an invented Z formula.
- Sample
Targeting > SampleInteractive Viewer control used to choose a value from the image. Drag from the Sample button into the Viewer. The manual confirms the interaction but does not publish a separate numeric formula, so Sample should not be described as a proven automatic Z solver.
Check / distinguish: Sample on the problematic overlap region and verify visually rather than relying on invented math.
- Holdout Center X / Y
Targeting > Holdout Center X / YRepositions the Holdout Center along X and Y. This is a spatial targeting control for the holdout setup. It does not create separate mask geometry and does not replace the Foreground Deep input.
Check / distinguish: Begin at 0.5/0.5, then move it only when diagnosing a specific region.
- Sample is Viewer interaction
Controls > SampleSample is documented as an interactive Viewer control.
Check / distinguish: Use it on the problem zone.
- No published Sample equation
Documentation boundaryThe manual publishes no universal numeric mapping formula.
Check / distinguish: Do not encode an invented equation.
- Center repositions targeting
Holdout CenterCenter X/Y repositions the targeting/control point.
Check / distinguish: Start at 0.5/0.5.
- Center is not mask geometry
Control semanticsCenter does not create polygon/ellipse matte geometry.
Check / distinguish: Do not diagram a mask port.
- Center does not replace Foreground
TopologyTargeting does not replace the Deep occluder input.
Check / distinguish: Foreground remains required.
- Sample does not auto-calibrate all depth
ScopeOne sampled point does not prove whole-scene correctness.
Check / distinguish: Inspect multiple intersections.
- Use targeting after baseline
WorkflowSample/Center are meaningful after topology is proven.
Check / distinguish: Prove roles/Z convention first.
- Targeting must survive playback QC
TemporalA local fix should not create temporal popping.
Check / distinguish: Review motion.
Deep Pipeline · Linear · Deep nodes · DeepToImage
Deep structure is preserved until final flattening.
- Keep Deep until finished
Deep pipelineContinue dMerge/dRecolor/dTransform before flattening.
Check / distinguish: Use DeepToImage last.
- Flattening is irreversible in ordinary 2D
BoundaryAfter DeepToImage, ordinary 2D processing no longer preserves sample ordering.
Check / distinguish: Do not flatten early.
- Renderer conventions must match
InterchangeDifferent renderers may use different depth units/conventions.
Check / distinguish: Run a synthetic depth test.
- Camera mismatch causes false intersections
InterchangeMismatched cameras break occlusion.
Check / distinguish: Verify the render camera.
- Resolution/transform mismatch matters
InterchangeDeep samples should share the same framing.
Check / distinguish: Verify resolution/transform.
- Volume/glass need background context
Composite QCTransparency is best judged over a representative background.
Check / distinguish: Flatten preview over a real background.
- Host controls are not topology fixes
SettingsBlend/Common Settings do not repair wrong roles/Z.
Check / distinguish: Fix the core graph first.
- Heavy Deep graphs need profiling
PerformanceSample count per pixel strongly affects cost.
Check / distinguish: Profile target resolution.
Temporal · Camera/object motion · popping
Depth consistency must be checked in playback.
- Moving camera exposes mismatch
PlaybackCamera motion quickly exposes depth inconsistency.
Check / distinguish: Review playback.
- Moving occluder exposes popping
PlaybackForeground motion reveals intersection errors.
Check / distinguish: Inspect the boundary frame to frame.
- Volumes can change sample ordering
Deep temporalVolume samples can change dynamically.
Check / distinguish: Inspect multiple frames.
- Source flicker is not offset problem
DiagnosisTemporal source inconsistency should not be fixed with random Offset keyframes.
Check / distinguish: Fix upstream.
- Compute transparency should be temporal
Compute QCOn/Off should be evaluated in motion on partial transparency.
Check / distinguish: Play a representative segment.
- Sample point is not temporal guarantee
TargetingA good sampled frame does not guarantee the whole shot.
Check / distinguish: Inspect the shot range.
- Flattened preview can reveal popping
PreviewDeepToImage preview is useful for temporal QC.
Check / distinguish: Loop the overlap region.
- Keep technical and creative animation separate
AnimationCreative Z Offset animation should not hide technical instability.
Check / distinguish: Document intent.
Validation / Automation · Roles · deep types · serialization
Static audit validates the model; runtime validates samples/IDs/performance.
- Check input roles first
ChecklistBackground target / Foreground occluder is the first checkpoint.
Check / distinguish: Label branches.
- Check Deep datatypes
ChecklistBoth inputs/output should remain deep.
Check / distinguish: Inspect the port guide.
- Check opaque baseline
ChecklistOpaque occlusion should work before transparency.
Check / distinguish: Use a Compute Off baseline.
- Check partial transparency separately
ChecklistTest the Compute special case separately.
Check / distinguish: Use readable detail.
- Check ±Offset direction
ChecklistNegative/positive should move the boundary as documented.
Check / distinguish: A/B small values.
- Original Inspector capture
Visual evidenceThe original dHoldout Controls PNG documents Compute Occluded Samples, Offset, Sample and Center; it proves UI labels, not rendering results.
Check / distinguish: Check labels against the original PNG and verify behavior in Resolve.
- Serialization needs live export
AutomationDeep ports/controls must not be guessed.
Check / distinguish: Export a target-build comp.
- Live execution remains pending
CertificationStatic audit does not replace Resolve runtime.
Check / distinguish: Keep live pending.
Before adjusting the node
- Background is the Deep stream being held out; Foreground is the Deep occluder.
- Output remains Deep and is not a 2D matte/image.
- Compute Occluded Samples must be tested on genuine partial transparency.
- Holdout Z Offset: decreasing = forward, increasing = opposite; start near zero.
- A large Offset is a reason to verify camera/Z convention.
- Sample/Center are targeting controls, not a separate mask or proven automatic Z solver.
- Keep the Deep pipeline linear and Deep until DeepToImage.
- Playback is mandatory for moving camera/object/volume intersections.
- The original PNG documents four visible Controls but does not prove the rendered outcome.
- Automation requires target-build evidence for Deep ports and controls.
Reference documentation
- Blackmagic Design · Fusion Visual Effects
Official Blackmagic learning material for Fusion logic, masks, compositing and core tools.
- Blackmagic Design · DaVinci Resolve support
Current Resolve/Fusion manuals and support material. Exact control names and placement can vary by version.
Examples
dHoldout: Foreground actually occludes Background by Deep depth
Lock in the two-input contract and avoid treating dHoldout as a flat 2D mask.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1 · DaVinci Resolve Studio; Resolve 21 documents the Deep Image Compositing Toolset as Studio Version Only · Cross-platform reference; live Resolve execution not run in this package
1920 × 1080 · 24 fps · 96 frames · Linear Deep Image compositing: Background Deep + Foreground Deep → dHoldout → DeepToImage for viewing
- DaVinci Resolve Studio 21+
- dHoldout
- DeepToImage
- Two aligned Deep Image sources with compatible depth conventions
Source material
- deep-bg
A Deep background render with multiple samples per pixel and an element that should become partially hidden.
Any linear Deep EXR/render with understandable Z structure.
- deep-fg
An aligned Deep foreground/occluder from the same camera/depth convention.
Any compatible Deep foreground that passes in front of part of the Background.
Nodes and connections
HOLD— dHoldout · dHoldoutDTI— DeepToImage · DeepToImage
| Source | Destination | Data |
|---|---|---|
dHoldout (HOLD)Output | DeepToImage (DTI)Input | deep |
External inputs
deep-bg— dHoldout (HOLD) /Background· deepdeep-fg— dHoldout (HOLD) /Foreground· deep
Graph output: DeepToImage (DTI)
Parameter values
- dHoldout (HOLD) / Controls / Compute Occluded Samples
falseStart with the simple opaque/near-opaque holdout case.
- dHoldout (HOLD) / Controls / Holdout Z Offset
0Establish the source depth relationship before biasing the holdout.
Reproduce the example
- Connect the Deep layer to be cut to orange Background and the Deep occluder to white Foreground. Feed dHoldout.Output into DeepToImage only for viewing.
Resolve 21 defines Foreground as the occlusion source and Background as the stream whose hidden samples are removed or recomputed.
Check: Foreground is not simply merged as a visible layer; it defines the depth-aware holdout on Background.
- Compare dHoldout bypass/on where Foreground crosses Background in depth.
This separates true Deep occlusion from a normal alpha cutout.
Check: Background samples that should be occluded by Foreground according to depth are affected.
Expected result
- DeepToImage (DTI) · frame 48
Background is correctly held out by Foreground in Deep depth, and the output remains Deep until DeepToImage.
Alpha: Judge the flattened preview while remembering that dHoldout.Output is still a Deep Image rather than a finished 2D matte.
When the result differs
- The holdout looks reversed or removes the wrong surface.
Cause: Background/Foreground are swapped or the sources use incompatible depth conventions.
Correction: Restore the correct input roles and verify the Z convention before touching Holdout Z Offset.
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Deep Image Nodes / dHoldout
Fusion Page Effects > Deep Image Nodes > dHoldout [dHld]: Studio-only Deep toolset; orange Background and white Foreground Deep inputs; foreground occludes background; Compute Occluded Samples; Holdout Z Offset; Sample; Holdout Center.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Deep Image Nodes / Deep to Image
Fusion Page Effects > Deep Image Nodes > Deep to Image [DTI]: one Deep input and flatten to ordinary 2D image for viewing/downstream 2D compositing.
dHoldout: Compute Occluded Samples with a semi-transparent Foreground
Test the documented Compute Occluded Samples special case instead of treating it as a generic quality switch.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1 · DaVinci Resolve Studio; Resolve 21 documents the Deep Image Compositing Toolset as Studio Version Only · Cross-platform reference; live Resolve execution not run in this package
1920 × 1080 · 24 fps · 96 frames · Linear Deep Image compositing: Background Deep + Foreground Deep → dHoldout → DeepToImage for viewing
- DaVinci Resolve Studio 21+
- dHoldout
- DeepToImage
- Two aligned Deep Image sources with compatible depth conventions
Source material
- deep-bg
A Deep background with detail visible through the foreground.
Any linear Deep render with readable background texture.
- deep-fg
A semi-transparent Deep foreground such as glass, thin volume or another transparent occluder.
Any compatible Deep foreground with alpha below 1 over part of the frame.
Nodes and connections
HOLD— dHoldout · dHoldoutDTI— DeepToImage · DeepToImage
| Source | Destination | Data |
|---|---|---|
dHoldout (HOLD)Output | DeepToImage (DTI)Input | deep |
External inputs
deep-bg— dHoldout (HOLD) /Background· deepdeep-fg— dHoldout (HOLD) /Foreground· deep
Graph output: DeepToImage (DTI)
Parameter values
- dHoldout (HOLD) / Controls / Compute Occluded Samples
falseA/B baseline for the semi-transparent case.
- dHoldout (HOLD) / Controls / Compute Occluded Samples
trueDocumented mode for occlusion through a semi-transparent foreground.
- dHoldout (HOLD) / Controls / Holdout Z Offset
0Keep geometry unchanged while testing compute behavior.
Reproduce the example
- On one frame inspect the semi-transparent overlap with Compute Occluded Samples Off.
A clean baseline is needed without changing geometry or Z Offset.
Check: Note the visible Background through the semi-transparent Foreground.
- Enable Compute Occluded Samples and compare the same overlap region.
The manual defines this for a semi-transparent Foreground: visible background pixels are recomputed as if seen through the partially transparent foreground.
Check: The change concerns occluded/visible Background under transparency; it is not a universal better/worse toggle.
Expected result
- DeepToImage (DTI) · frame 48
The On/Off difference appears where Foreground is semi-transparent and Background remains partially visible.
Alpha: Do not judge from an opaque region; this special case must be tested on partial transparency.
When the result differs
- On and Off look identical.
Cause: The Foreground is nearly opaque or the tested region contains no visible Background behind it.
Correction: Use an area with real partial transparency and readable background detail.
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Deep Image Nodes / dHoldout
Fusion Page Effects > Deep Image Nodes > dHoldout [dHld]: Studio-only Deep toolset; orange Background and white Foreground Deep inputs; foreground occludes background; Compute Occluded Samples; Holdout Z Offset; Sample; Holdout Center.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Deep Image Nodes / Deep to Image
Fusion Page Effects > Deep Image Nodes > Deep to Image [DTI]: one Deep input and flatten to ordinary 2D image for viewing/downstream 2D compositing.
dHoldout: Holdout Z Offset and Viewer Sample without invented math
Lock in the documented Z Offset direction and use Sample/Holdout Center safely as targeting controls.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1 · DaVinci Resolve Studio; Resolve 21 documents the Deep Image Compositing Toolset as Studio Version Only · Cross-platform reference; live Resolve execution not run in this package
1920 × 1080 · 24 fps · 96 frames · Linear Deep Image compositing: Background Deep + Foreground Deep → dHoldout → DeepToImage for viewing
- DaVinci Resolve Studio 21+
- dHoldout
- DeepToImage
- Two aligned Deep Image sources with compatible depth conventions
Source material
- deep-bg
A Deep background with surfaces very close in Z at an intersection.
Any Deep render where a small depth bias visibly changes the holdout boundary.
- deep-fg
A Deep foreground/occluder with matching camera/depth convention.
An aligned Deep occluder from the same scene/camera.
Nodes and connections
HOLD— dHoldout · dHoldoutDTI— DeepToImage · DeepToImage
| Source | Destination | Data |
|---|---|---|
dHoldout (HOLD)Output | DeepToImage (DTI)Input | deep |
External inputs
deep-bg— dHoldout (HOLD) /Background· deepdeep-fg— dHoldout (HOLD) /Foreground· deep
Graph output: DeepToImage (DTI)
Parameter values
- dHoldout (HOLD) / Controls / Holdout Z Offset
-0.05Documented direction test: decreasing pushes the holdout forward.
- dHoldout (HOLD) / Controls / Holdout Z Offset
0.05Documented opposite-direction test: increasing moves it the other way.
- dHoldout (HOLD) / Controls / Holdout Center X / Y
[0.5,0.5]Neutral center for a controlled A/B before interactive sampling.
Reproduce the example
- With unchanged inputs compare a small negative and positive Holdout Z Offset.
Resolve 21 defines the direction: decreasing pushes the holdout forward, increasing moves it the opposite way.
Check: The boundary should move consistently with that direction; a large value is not a substitute for fixing a bad Z source.
- Return Center to 0.5/0.5, then use Sample in the Viewer on the problem region and reposition Holdout Center X/Y if needed.
The manual confirms Sample as a Viewer interaction and Holdout Center as X/Y repositioning but does not publish a separate numeric Sample formula.
Check: Use these controls for targeting/inspection; they do not turn dHoldout into a roto mask or replace compatible Deep inputs.
Expected result
- DeepToImage (DTI) · frame 48
Z Offset adjusts the boundary depth relationship in the documented direction while Sample/Center are used without unsupported assumptions.
Alpha: Inspect the edge/intersection through the DeepToImage preview; do not interpret Holdout Center as separate alpha-mask geometry.
When the result differs
- A huge Z Offset is required to get the expected overlap.
Cause: The likely problem is source depth convention, scale or input assignment rather than a small holdout bias.
Correction: Verify the Deep sources and their camera/Z convention; use Z Offset only as a local boundary adjustment.
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Deep Image Nodes / dHoldout
Fusion Page Effects > Deep Image Nodes > dHoldout [dHld]: Studio-only Deep toolset; orange Background and white Foreground Deep inputs; foreground occludes background; Compute Occluded Samples; Holdout Z Offset; Sample; Holdout Center.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Deep Image Nodes / Deep to Image
Fusion Page Effects > Deep Image Nodes > Deep to Image [DTI]: one Deep input and flatten to ordinary 2D image for viewing/downstream 2D compositing.
Other outlines from the article
Foreground geometry holdout
A Deep foreground hides only the Deep background samples that truly sit behind it in Z.
- Deep Background → dHoldout.Background
- Deep Foreground → dHoldout.Foreground
- dHoldout → DeepToImage
Semi-transparent occluder
Compute Occluded Samples is tested on glass/fog where Background remains partially visible through Foreground.
- Deep Background
- Semi-transparent Deep Foreground
- dHoldout Compute Occluded Samples A/B
- DeepToImage
Precise depth boundary
A small Holdout Z Offset adjusts a close intersection after the input roles and Z convention have already been proven.
- Matched Deep inputs
- dHoldout Z Offset ±small
- DeepToImage preview
Mistakes
- Swapping Background and Foreground: the first stream is held out, while the second supplies the occluder.
- Expecting dHoldout to visibly merge the Foreground beauty layer as a regular Merge would.
- Connecting an arbitrary flat mask to a Deep input and treating it as a valid set of samples with Z.
- Flattening with DeepToImage before dHoldout and losing per-pixel depth structure.
- Treating dHoldout output as ready-made flat RGBA or an alpha mask for a regular Merge.
- Testing Compute Occluded Samples only on opaque areas and mistaking an unchanged picture for a failed feature.
- Treating Compute Occluded Samples as a global higher-quality switch.
- Changing Offset, input roles and Compute simultaneously, making an A/B comparison impossible to interpret.
- Using a huge Z Offset to hide an incorrect camera, Z units or reversed surface ordering.
- Reversing the documented Z Offset direction: decreasing pushes the holdout forward.
- Assuming Sample performs an undocumented automatic depth-calibration calculation.
- Treating Holdout Center X/Y as a silhouette or roto-shape drawing tool.
- Mixing Deep passes from different frames, resolutions or camera transforms without verification.
- Ignoring the linear-color-space requirement for Deep compositing.
- Judging only one still frame and overlooking popping when objects move.
- Reusing control IDs or numeric values from another Resolve build without checking an exported project.
Tips
- Name the branches Deep_BG_HoldoutTarget and Deep_FG_Occluder so their roles remain obvious.
- Start with a simple opaque overlap to expose incorrect Deep wiring quickly.
- Put readable detail behind glass or smoke so Compute Off/On differences are easy to judge.
- Compare Offset with unchanged input sources; capture diagnostic frames through DeepToImage if helpful.
- Keep both Deep sources on exactly the same frame/time range even during complex motion.
- Keep diagnostic DeepToImage outside the main Deep chain: depth-aware operations cannot continue after flattening.
- Check linear working space and Z scale as soon as render passes arrive, not at the end of compositing.
- Question camera/depth mismatches before attempting to animate Holdout Z Offset.
- On transparent surfaces, inspect both RGB and alpha against the intended background.
- The bundled original Inspector shot is a reliable map of visible controls, not evidence of runtime behavior.
- When per-pixel Deep depth is unnecessary, consider a simpler regular 2D matte workflow.
- For automated projects, record the Resolve version and keep a verified export of ports and controls.
Workflow order
- Prepare two compatible Deep sources: the same frame and camera, matching Z units and a linear working color space.
- Connect the Deep branch that needs to be held out to dHoldout's orange Background input.
- Connect the occluding object to the white Foreground Deep input; do not swap input roles simply to make an image appear plausible.
- Create a separate dHoldout.Output → DeepToImage → Viewer diagnostic branch while keeping the production graph in Deep.
- Start with an opaque overlap: Compute Occluded Samples Off, Holdout Z Offset 0 and Holdout Center X/Y at 0.5/0.5.
- Compare the original Background with the result: only samples behind Foreground at the relevant Z should be occluded.
- If the result looks reversed, check inputs, cameras and Z direction before attempting to fix the scene with Offset.
- For semi-transparent Foreground, A/B Compute Occluded Samples Off and On over readable background detail with all other controls fixed.
- For nearly coincident surfaces, compare small negative and positive Holdout Z Offset values; return to neutral when the correction is not needed.
- Use Sample by dragging into the Viewer when needed, and inspect Holdout Center X/Y separately; neither should be treated as a regular 2D mask.
- Play the shot and evaluate the flattened preview for RGB, alpha and boundary stability across multiple frames.
- Continue through Deep-compatible nodes and place DeepToImage only at the final required hand-off to 2D.
- Before automation or hand-off, export a .comp/.setting from the installed Resolve build and confirm port/control serialization.
