FUSION · FULL ARTICLE
DisparityToZ
DisparityToZ converts stereo disparity data (Disparity AUX) into a Z-depth channel using stereo-camera geometry or an artistic depth mapping.
Overview
What this node does. DisparityToZ does not reanalyze a stereo pair. It reads an existing Disparity AUX channel, usually generated by Disparity, and adds a computed Z AUX channel. A grayscale image in RGB is not a substitute for technical disparity data.
Pipeline position. A typical order is stereo preparation and alignment → Disparity → DisparityToZ → DepthBlur, fog, or another depth-aware process. Validate the stereo correspondence first, then convert it to Z.
Separate-eye inputs. With Stack Mode set to None, the left and right images use separate cables into Left Input and Right Input. The reference manual calls this topology Separate; None is the label shown in the captured Resolve 21 Inspector.
Packed stereo. Horiz, Vert, and Layers carry both eyes within one image stream. Feed that representation into Left Input and use a Stack Mode that matches the upstream node. An extra cable into Right Input is not needed.
Dedicated camera input. External Camera Mode exposes the magenta Stereo Camera input, which expects a Stereo Camera3D or matched camera setup as 3D-scene data. It is not an image, mask, or depth-map input.
Outputs preserve the imagery. Left Output and, in separate mode, Right Output return the corresponding eye images with an additional technical Z channel. RGB does not automatically turn into a grayscale depth image; that is the job of Output Z To RGB.
Why geometry matters. Disparity is a displacement between image projections, whereas Z denotes depth. The relationship depends on camera geometry. A pixel offset by itself cannot establish an accurate real-world distance.
External: camera-based reconstruction. Supply a stereo camera whose eye separation, focal geometry, and orientation match the shot. This provides camera-consistent depth, but it cannot guarantee accuracy when calibration or the incoming disparity is wrong.
Camera selector. The Camera tab can select a camera model from the attached 3D stream; the captured Inspector shows Default. If several cameras exist, confirm that the selected one corresponds to the actual stereo footage.
Artistic: depth without a camera. If no trustworthy stereo camera is available, Camera Mode = Artistic defines two disparity-to-depth anchor pairs, one near and one far. The resulting Z is useful for visual effects but is not a measurement of physical distance.
Disparity anchors. Pick Foreground Disparity and Background Disparity from the left-eye image, as the Inspector specifies. The first represents a chosen near region and the second a far region. Disparity for the right eye can have the opposite sign.
Depth anchors. Foreground Depth and Background Depth define the desired depths for those two measurements. Artistic depth fields use positive depth magnitudes in the UI; do not confuse them with raw camera-space Z, which normally becomes more negative with distance.
Artistic range limits. Disparity outside the range bracketed by the near and far anchors is clipped. Anchors that cover too narrow a range create large, flat areas in Z. Measure representative disparity values before defining the mapping.
Falloff shapes the curve. Hyperbolic more closely follows an inverse-depth relationship and emphasizes the foreground. Linear spreads the change more evenly and is intended for stylized work. Even Hyperbolic in Artistic mode does not make depth metrically accurate.
Z AUX versus RGB preview. The auxiliary Z channel is created whether or not Output Z To RGB is enabled. Turning it on also writes Z as {z, z, z, 1} into float32 RGB channels for inspection or conventional image processing.
Why the Viewer may look black. Raw Z is often negative and far outside the display range of 0–1. Viewer → Options → Show Full Color Range helps inspect it. Normalizing a preview image is not the same as altering the underlying Z AUX data.
When to use Refine Z. Enable applies color-guided depth refinement. Use it only after confirming that the raw conversion is plausible: it can improve silhouette boundaries for depth of field and fog.
HiQ Only, Strength, and Radius. With Refine Z enabled, HiQ Only restricts processing to High Quality, Strength increases smoothing and attraction toward RGB edges, and Radius sets the spatial smoothing scale. These dependent controls are hidden in the supplied screenshot because Enable is off.
The refinement trade-off. Excessive Strength can imprint fabric, skin, or foliage texture onto the Z field; a large Radius may erase narrow transitions or create halos. Compare raw and refined Z at the same edge, changing one setting at a time.
Refinement cannot repair stereo errors. Missing Disparity AUX, wrong eye order, a mismatched Stack Mode, or an unrelated stereo camera produces incorrect depth regardless of smoothing. Correct the upstream cause before refining edges.
Uncertain distant depth. As objects move farther from the camera, disparity changes become extremely small. Slight disparity noise can produce a large error in reconstructed far Z. Do not treat it as a precise distance measurement without independent validation.
Changes to stereo geometry. If eye alignment, scale, crop, or StereoAlign is changed after disparity was computed, the pixel correspondence may no longer be valid. Recheck and, when needed, recompute disparity before deriving new Z values.
Temporal quality control. Review moving frames, not just a single still: jitter, holes, and flickering disparity become unstable Z, especially when DepthBlur is used. Check foreground, midground, background, and difficult edges.
Delivering the result. For depth-aware effects, retain actual Z AUX together with the original eye RGB. When exporting EXR, distinguish raw float Z from a display-normalized RGB preview and from artistically mapped Z. They are not interchangeable deliverables.
When to use it
- Convert computed stereo disparity into Z AUX for DepthBlur and fog.
- Recover camera-consistent depth from shot or tracked stereo-camera geometry.
- Build an artistic depth field without a calibrated camera.
- Temporarily copy technical Z into RGB for Viewer inspection.
- Improve depth boundaries using Refine Z before depth-of-field effects.
- Work with separate left/right eye streams or packed stereo images.
- Diagnose reversed eye order through Stack Mode and Swap Eyes.
- Deliver original eye RGB together with Z AUX in a technical EXR.
Article screenshots
Inputs & outputs
DisparityToZ: stereo image + Disparity AUX + optional Stereo Camera → the same eye image(s) + new Z AUX
DisparityToZ has dynamic stereo topology. In None/unstacked state it uses physical Left/Right image paths; with Horiz/Vert/Layers the packed pair travels through one primary Left cable. External Camera Mode adds a separate magenta Stereo Camera input. The output stays an image stream while Z lives in the auxiliary channel.
Reads existing Disparity AUX, translates image-space correspondence into camera/artistic depth, and attaches a new Z channel to the eye image(s) without automatically replacing RGB with a depth map.
Inputs
- Left Input
Primary stereo path / left eye or full packed pair
Receives: A left-eye image carrying Disparity AUX in None/unstacked topology or a single Horiz/Vert/Layers packed stereo stream that also contains disparity data.
Inside the node: This stream is the primary carrier for conversion. In separate state its Z is calculated alongside the Right path; in packed state both views already live inside one representation.
Typical sources: Disparity Left Output · stacked EXR / Loader · Loader
A pleasing grayscale RGB image is not a substitute for Disparity AUX. DisparityToZ needs the technical disparity channel, not any depth-looking picture.
- Right Input
Right-eye path in None / unstacked topology
Receives: The right-eye image carrying the corresponding Disparity AUX from the same stereo pair.
Inside the node: Used only when the eyes travel as separate streams. In Horiz/Vert/Layers packed topology the right view is already inside the Left path, so the separate cable is normally hidden/unnecessary.
Typical sources: Disparity Right Output · MediaIn B · Loader
Right Input is not an Effect Mask or a second creative layer. Do not duplicate the same packed stack into it.
- Stereo Camera
Stereo geometry for External Camera Mode
Receives: A stereo Camera3D or camera-containing 3D scene whose geometry corresponds to the left/right footage.
Inside the node: External mode uses camera geometry and eye-separation/right-camera relationships for camera-relative disparity-to-Z conversion. Artistic mode does not require this cable.
Typical sources: Camera3D · Merge3D
An arbitrary Camera3D does not make Z physically accurate. The camera model must belong to the actual stereo pair.
Outputs and destination
Left / Right Outputs
The eye image(s) keep RGBA and gain a new Z AUX channel. None/unstacked topology exposes Left and Right outputs; packed modes continue through the primary Left Output. Output Z To RGB only makes an additional copy of Z in the color channels.
Next step: DepthBlur · Fog / Z-aware node · Saver / EXR with AUX · Viewer diagnostic · another depth-aware node
Do not treat Output Z To RGB as a required separate Z output. Production depth workflows usually need the Z AUX channel itself; disable the diagnostic copy when RGB must remain the eye image.
- Left Output
- Left-eye image or packed stereo stream with a newly computed Z AUX channel. With Output Z To RGB enabled, the same Z is additionally copied into RGB.
- Right Output
- Right-eye image with newly computed Z AUX in None/unstacked topology. Packed modes normally continue through the primary Left Output.
Processing order
- Left Input receives the primary eye image or the full packed stereo stream; valid Disparity AUX must already exist upstream.
- Right Input is used only in None/unstacked topology for the separate right-eye image carrying corresponding disparity.
- Stack Mode defines physical routing: None = two eye paths while Horiz/Vert/Layers = one packed primary Left path.
- Swap Eyes changes left/right interpretation before disparity-to-Z mapping and is not a general Z invert.
- Camera Mode selects External camera reconstruction or Artistic disparity-to-depth mapping.
- In External mode, the conditional Stereo Camera scene3d input supplies the matching stereo Camera3D/camera scene.
- In Artistic mode, a camera cable is not required; foreground/background disparity/depth anchors and falloff define the creative mapping.
- The converter reads Disparity AUX and adds new Z AUX while preserving RGBA eye image(s).
- Output Z To RGB can copy the already calculated Z into floating-point RGB; Z AUX itself does not depend on the checkbox.
- Refine Z runs after conversion and can improve edges but cannot repair wrong eye order, a bad camera, or missing disparity.
- Left/Right Outputs remain image streams; None exposes both outputs while packed modes continue through the primary Left Output.
- Downstream DepthBlur/fog/Saver can read Z AUX directly; after geometry-changing stereo operations, revalidate disparity/Z validity.
Separate stereo with External Camera3D
Disparity.Left Output → DisparityToZ.Left Input · Disparity.Right Output → Right Input · Camera3D → Stereo Camera → Left/Right image(s) + Z AUX
Both eye streams remain ordinary images, the camera stream defines the conversion model, and Z is added as auxiliary depth data.
DisparityToZ is not a grayscale depth filter. It is a stereo AUX converter: image paths survive, Disparity AUX is read, a camera/artistic model creates Z AUX, and RGB preview remains a separate option.
Parameters
DisparityToZ · Inspector reference
This reference groups the controls into eight tasks: Disparity AUX validity, raw Z inspection, Refine Z, stereo layout, External/Artistic mapping, camera setup, and output validation. Six primary entries correspond to the visible Controls/Camera panels; conditional refinements and artistic anchors appear in the expanded entries.
- Input
- eye image(s) + Disparity AUX
- Topology
- None / Horiz / Vert / Layers
- Mapping
- External camera / Artistic anchors
- Z
- new Z AUX
- Refine
- optional RGB-guided cleanup
- Output
- image(s) + Z AUX
Scope / Contract · Stereo AUX converter
Disparity AUX → Z AUX while preserving image streams; Studio-only stereo toolset.
- Stereo AUX converter, not depth generator
Tool scopeDisparityToZ converts existing Disparity AUX into Z AUX; it does not calculate disparity from RGB.
Check / distinguish: Verify upstream AUX before tuning the camera.
- Studio-only stereo boundary
AvailabilityThe node belongs to the Studio stereo toolset.
Check / distinguish: Verify edition before troubleshooting a missing node.
- Image streams stay image streams
Flow contractLeft/Right outputs remain image streams and gain additional Z AUX.
Check / distinguish: Do not document a separate Z socket that does not exist.
- Z AUX is separate from RGB preview
Data modelZ AUX exists independently of Output Z To RGB.
Check / distinguish: Inspect AUX downstream separately from Viewer preview.
- Disparity and Z are different domains
Data modelDisparity is image-space correspondence; Z is camera/artistic depth representation.
Check / distinguish: Do not call disparity a finished Z pass.
- No metric promise in Artistic mode
ScopeArtistic mapping creates author-defined depth values and does not measure the scene.
Check / distinguish: Document artistic depth as non-metric.
- External mode still needs calibration
ScopeCamera3D makes conversion camera-relative only when it matches the stereo shot.
Check / distinguish: Do not treat any Camera3D as physically correct.
- Live target build remains separate
CertificationConditional ports/UI/serialization require live target-build validation.
Check / distinguish: Keep runtime certification as a separate stage.
Input AUX · Disparity data validity
Real Disparity AUX and correspondence with eye RGB must be proven before camera mapping.
- Disparity AUX must exist
Input dataOrdinary RGB without Disparity AUX is not a valid source.
Check / distinguish: Inspect Disparity/EXR auxiliary channels.
- AUX must match the current eye frame
Input dataDisparity must correspond to the current eye image and frame.
Check / distinguish: Do not reuse a channel from another frame.
- Separate eyes need consistent disparity scale
Stereo dataLeft/Right disparity must use a compatible convention.
Check / distinguish: Compare near/far direction in both eyes.
- Packed stream carries both views
Stereo dataIn Horiz/Vert/Layers the right view is already inside the primary stream.
Check / distinguish: Do not duplicate the packed stream into Right Input.
- Geometry changes can invalidate AUX
Pipeline boundaryCrop/resize/warp/stabilization can break correspondence between RGB and disparity.
Check / distinguish: Recompute or revalidate disparity/Z after geometry changes.
- Temporal mismatch becomes Z flicker
Temporal dataDisparity from another moment creates temporal depth errors.
Check / distinguish: Verify retime and frame sync upstream.
- Preserve compatible AUX on technical branches
AUX pipelineDownstream EXR/Saver can preserve RGBA and Z together.
Check / distinguish: Do not enable RGB preview unless needed.
- Raw AUX is the technical deliverable
AUX pipelineDisplay-normalized grayscale and raw floating-point Z are different deliverables.
Check / distinguish: Record the handoff format explicitly.
Z Preview · Output Z To RGB
Z AUX exists independently; the checkbox only copies Z into float RGB for inspection/processing.
- Controls / Output Z To RGB
Z Preview > Controls / Output Z To RGBCopies the computed Z AUX values into RGB for inspection or ordinary 2D processing. RGBA is promoted to float32 and receives {z,z,z,1}. This does not enable Z calculation; Z exists in the auxiliary channel regardless. Raw camera-space Z is usually negative and often needs Viewer Show Full Color Range or explicit display normalization.
Check / distinguish: Keep Z in AUX for technical downstream work; enable RGB output only when you actually need a visible depth pass or RGB-domain processing.
- Output Z To RGB is diagnostic
Controls > Output Z To RGBThe checkbox copies Z AUX into RGB as a diagnostic representation.
Check / distinguish: Do not confuse the copy with creating Z.
- RGB becomes float-capable
Output Z To RGBRaw Z in RGB requires floating-point range beyond 0…1.
Check / distinguish: Verify color precision downstream.
- Raw camera Z is commonly negative
ViewerA normal Viewer may show an almost black result.
Check / distinguish: Use Full Color Range/normalization.
- Preview should be off on normal stereo color branch
WorkflowWhen RGB must remain eye content, Output Z To RGB should be disabled.
Check / distinguish: Verify downstream RGB expectations.
- Normalized display is not raw Z
HandoffA pleasing 0…1 grayscale is not camera-space Z.
Check / distinguish: Do not accidentally replace raw AUX with a normalized preview.
- Viewer black does not mean empty AUX
DiagnosisNegative/large values may be invisible in the default display.
Check / distinguish: Inspect numeric channel data before declaring Z empty.
- Preview can be exported intentionally
Use caseThe RGB copy is useful for ordinary 2D filters/export when intentional.
Check / distinguish: Label the branch as preview/export.
- AUX should survive preview toggle
RegressionZ AUX existence should not depend on the checkbox.
Check / distinguish: A/B the toggle and inspect a downstream Z-aware node.
Refine Z · Enable · HiQ · Strength · Radius
RGB-guided cleanup runs after raw conversion and does not repair stereo/camera errors.
- Controls / Refine Z / Enable
Refine Z > Controls / Refine Z / EnableEnables edge-aware Z refinement guided by the RGB image. Refinement can move depth boundaries toward color boundaries and smooth flat-color regions, but it can also imprint image texture into Z. The captured screenshot shows Enable off, so dependent HiQ Only, Strength, and Radius controls are hidden.
Check / distinguish: Prove the raw Z first. Then enable Refine Z and A/B only on boundaries that actually need help.
- Refine follows raw conversion
Controls > Refine ZRefine Z is post-conversion cleanup, not a replacement for the stereo solve.
Check / distinguish: Prove raw Z first.
- Enable controls the refinement stage
Refine Z > EnableEnable turns on RGB-guided refinement.
Check / distinguish: A/B on a problematic silhouette.
- HiQ Only is conditional
Refine Z > HiQ OnlyHiQ Only limits the refinement stage to High Quality.
Check / distinguish: Perform final QC in the actual HQ state.
- Strength smooths and edge-locks
Refine Z > StrengthStrength both smooths regions and pulls Z edges toward RGB edges.
Check / distinguish: Change it separately from Radius.
- Texture leakage is the main failure mode
Refine Z failureStrong refinement imprints skin/fabric/noise into Z as false relief.
Check / distinguish: Compare raw/refined on textured surfaces.
- Radius sets neighborhood size
Refine Z > RadiusA large Radius can erase narrow depth transitions and create halos.
Check / distinguish: Increase only after Strength when needed.
- Refine cannot fix wrong eye order
CausalitySwap/Stack/camera errors remain structural.
Check / distinguish: Fix topology before refinement.
- Refine cannot cure temporal disparity flicker
Temporal boundaryFlickering disparity remains flickering Z after edge refinement.
Check / distinguish: Fix the upstream stereo solve.
Stereo Topology · Stack Mode · Swap Eyes
None = separate eyes; Horiz/Vert/Layers = packed representation; Swap Eyes changes ordering.
- Controls / Stack Mode: None / Horiz / Vert / Layers
Stereo Topology > Controls / Stack Mode: None / Horiz / Vert / LayersDefines whether the eyes travel on separate cables or inside one packed stereo stream. None is the current unstacked/separate-eye topology with Left/Right inputs and outputs. Horiz, Vert, and Layers are packed representations that normally travel through the primary Left path on one cable.
Check / distinguish: Fix topology first. Wrong Stack Mode cannot be repaired with camera settings or Refine Z.
- Controls / Swap Eyes
Stereo Topology > Controls / Swap EyesSwaps the logical left/right view interpretation. Use it for reversed source ordering. It is not a depth-strength knob and not a generic Z-invert control.
Check / distinguish: If near/far reads inside-out, verify upstream eye order and disparity first, then A/B Swap Eyes.
- None means separate-eye topology
Stack Mode = NoneLeft and Right use separate physical paths.
Check / distinguish: Connect both eye cables.
- Horiz is one packed stream
Stack Mode = HorizSide-by-side pair travels through one primary Left path.
Check / distinguish: Do not connect a duplicate second cable.
- Vert is one packed stream
Stack Mode = VertTop/bottom pair also travels through one primary stream.
Check / distinguish: Keep Stack Mode compatible downstream.
- Layers is a packed representation
Stack Mode = LayersLayered stereo stores both views inside one representation.
Check / distinguish: Use stereo-aware nodes downstream.
- Swap Eyes changes interpretation
Controls > Swap EyesSwap Eyes changes left/right ordering, not an already-computed Z field.
Check / distinguish: A/B when reversed source is suspected.
- Packed and separate wiring are mutually exclusive models
TopologyDo not mix a separate Right cable with a packed representation without explicit conversion.
Check / distinguish: Choose one topology for the branch.
- Downstream stereo nodes must agree
PipelineStack Mode mismatch between stereo nodes breaks interpretation.
Check / distinguish: Document the mode in branch labels/handoff.
- Eye order check precedes depth debugging
DiagnosisNear/far reversal often starts with swapped eye order.
Check / distinguish: Verify eye identity before camera anchors.
Depth Mapping · External ↔ Artistic
External uses camera geometry while Artistic uses disparity/depth anchors and falloff.
- Camera / Camera Mode: External / Artistic
Depth Mapping > Camera / Camera Mode: External / ArtisticSelects physically linked camera conversion or a manually shaped disparity-to-Z mapping. External uses a connected stereo Camera3D for camera-relative Z. Artistic builds a useful but non-physical curve from foreground/background disparity and depth anchors.
Check / distinguish: Use External for matchmove/VFX accuracy. Use Artistic for a compositing depth field when no reliable stereo camera exists, and label the result accordingly.
- External uses camera geometry
Camera Mode = ExternalConversion relies on stereo Camera3D/scene geometry.
Check / distinguish: Use a matching camera source.
- Artistic uses author-defined anchors
Camera Mode = ArtisticForeground/Background disparity/depth define creative mapping.
Check / distinguish: Do not present values as measured distance.
- Artistic anchors should cover disparity range
Artistic mappingAn overly narrow range creates clipping/flat zones.
Check / distinguish: Inspect extrema/representative disparity.
- Anchor ordering matters
Artistic mappingReversed foreground/background anchors can invert depth behavior.
Check / distinguish: Verify near/far ordering in raw Z.
- Hyperbolic is inverse-depth-like
Falloff = HyperbolicHyperbolic is closer to stereo geometry but remains artistic mapping in Artistic mode.
Check / distinguish: Do not call it a metric guarantee.
- Linear is explicitly stylized
Falloff = LinearLinear distributes depth response more evenly and is useful creatively.
Check / distinguish: Document it as stylized mapping.
- External vs Artistic A/B needs same disparity
DiagnosisComparison is meaningful only with the same upstream disparity field.
Check / distinguish: Do not change the stereo solve at the same time.
- Artistic depth still belongs in AUX
Data modelEven creative mapping is written as Z AUX, but its semantics remain artistic.
Check / distinguish: Label handoff metadata clearly.
Camera · Stereo Camera input · selector
The scene3d/camera model determines the physical scale of External conversion.
- Camera / Camera
Camera > Camera / CameraChooses the camera model from the connected camera/3D scene stream. Default is sufficient for a single/main camera. When several cameras are present, choose the one whose stereo geometry actually matches the footage and upstream disparity.
Check / distinguish: Do not solve a wrong Z field by randomly changing the Camera selector; first verify the camera belongs to the stereo shot.
- Stereo Camera input is scene3d
Flow > Stereo CameraThe magenta input receives Camera3D/scene3d data, not an image.
Check / distinguish: Verify the datatype in the graph.
- Camera must match the shot
External modeA wrong camera can give plausible ordering with wrong scale.
Check / distinguish: Verify calibration/eye separation.
- Eye separation affects scale
Stereo geometryStereo rig baseline contributes to disparity→Z relation.
Check / distinguish: Do not change separation without recalibration.
- Projection/focal geometry matters
Stereo geometryFocal/projection convention affects reconstructed distance.
Check / distinguish: Match the camera model to the footage/render.
- Camera selector chooses among scene cameras
Camera selectorWith multiple cameras, the selector chooses the model to use.
Check / distinguish: Do not leave Default blindly in a multi-camera scene.
- Single-camera scene can use Default
Camera selectorWhen there is one camera, Default is normally sufficient.
Check / distinguish: Inspect actual scene contents.
- External scale needs validation points
QCCorrect ordering is not enough for confidence in physical scale.
Check / distinguish: Compare several known distances/relationships.
- Camera references require serialization proof
AutomationScene/camera references can be host-specific.
Check / distinguish: Export a minimal target-build comp.
Validation / Automation · Ordering · playback · EXR · serialization
Raw/refined Z, temporal stability, handoff semantics, and target-build IDs are validated separately.
- Check AUX before camera tuning
ChecklistThe first checkpoint is real Disparity AUX.
Check / distinguish: Do not start with Refine/Camera.
- Check topology before mapping
ChecklistStack Mode/eye order must be proven before depth mapping.
Check / distinguish: Verify separate/packed wiring.
- Check raw Z before refinement
ChecklistRaw Z should be plausible before Refine Z.
Check / distinguish: Save a raw snapshot.
- Check near/mid/far ordering
Depth QCSeveral depth planes should follow the expected ordering.
Check / distinguish: Use a synthetic/known shot.
- Check texture leakage
Refine QCRefined Z should not reproduce fine RGB texture.
Check / distinguish: Inspect skin/fabric/foliage.
- Check temporal stability
PlaybackStereo/disparity noise becomes Z flicker.
Check / distinguish: Play the problematic segment.
- Check EXR precision and semantics
HandoffRaw Z, normalized preview and artistic Z must be distinguished.
Check / distinguish: Document sign/scale/mode.
- Check target-build serialization
AutomationStack/Camera/Refine enums and hidden controls require live evidence.
Check / distinguish: Save a .setting/.comp.
Before adjusting the node
- The source must contain real Disparity AUX; an RGB image that merely resembles depth cannot replace the technical channel.
- The captured Resolve 21 UI calls the separate Left/Right mode None; the manual names it Separate. Horiz, Vert, and Layers carry both eyes through Left Input.
- Output Z To RGB copies Z into float32 RGB ({z,z,z,1}); Z AUX is created even when the checkbox is off.
- External requires a Stereo Camera3D matching the shot. Artistic maps Foreground/Background anchors rather than measuring metric depth.
- Artistic Depth fields use positive depth magnitudes, while raw camera-space Z is usually negative and may require Show Full Color Range.
- Pick Artistic disparity anchors from the left eye and bracket the actual range; values outside it clip into flat Z regions.
- Evaluate conditional HiQ Only, Strength, and Radius only after inspecting raw Z; aggressive refinement can imprint RGB texture into depth.
- After geometry-changing StereoAlign, resizing, or cropping, revalidate or recompute disparity before deriving new Z.
- Check near/far ordering and playback stability; distant Z is particularly sensitive to small disparity errors.
- For EXR delivery and automation, distinguish raw float Z AUX, RGB preview, and Artistic mapping. Verify conditional controls in the target Resolve build.
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
Convert separate-eye disparity to Z with a stereo Camera3D
Build the correct five-cable topology: two eyes → Disparity → two DisparityToZ eye inputs plus a separate Stereo Camera input.
Starting conditions
DaVinci Resolve 21.x · Studio · Target-build live verification pending
1920 × 1080 · 24 fps · 120 frames · Fusion page; stereo image streams with AUX channels
- Disparity AUX data
- Stereo Camera3D for External mode where used
Source material
- L
Left-eye source. A synchronized stereo pair with identical dimensions and known Left/Right order. A packed source must actually contain both eyes. If the lesson requires Disparity or Z, genuine channels/layers must be present.
Use your own material matching the description. Import it into the Media Pool and drag it into Fusion as L. For a clip provide 120 frames at 24 fps. Static artwork may be held across the range; the input used to test motion, flicker or frame history must contain actual footage.
- R
Right-eye source. A synchronized stereo pair with identical dimensions and known Left/Right order. A packed source must actually contain both eyes. If the lesson requires Disparity or Z, genuine channels/layers must be present.
Use your own material matching the description. Import it into the Media Pool and drag it into Fusion as R. For a clip provide 120 frames at 24 fps. Static artwork may be held across the range; the input used to test motion, flicker or frame history must contain actual footage.
Nodes and connections
L— LEFT EYE · MediaInR— RIGHT EYE · MediaInD— DISPARITY AUX · DisparityC— STEREO CAMERA · Camera3DZ— DISPARITY → Z · DisparityToZ
| Source | Destination | Data |
|---|---|---|
LEFT EYE (L)Output | DISPARITY AUX (D)LeftInput | image |
RIGHT EYE (R)Output | DISPARITY AUX (D)RightInput | image |
DISPARITY AUX (D)LeftOutput | DISPARITY → Z (Z)LeftInput | image |
DISPARITY AUX (D)RightOutput | DISPARITY → Z (Z)RightInput | image |
STEREO CAMERA (C)Scene | DISPARITY → Z (Z)StereoCamera | scene3d |
Graph output: DISPARITY → Z (Z)
Parameter values
- DISPARITY AUX (D) / Controls / Stack Mode
"None"Keep the source as two physical eye paths.
- DISPARITY → Z (Z) / Controls / Stack Mode
"None"Expose the separate Left/Right topology.
- DISPARITY → Z (Z) / Camera / Camera Mode
"External"Use the connected stereo camera geometry for conversion.
- DISPARITY → Z (Z) / Controls / Output Z To RGB
falseKeep RGB as the eye image while Z remains in the AUX channel.
- DISPARITY → Z (Z) / Controls > Refine Z / Enable
falseProve raw camera conversion before edge-aware refinement.
Reproduce the example
- Connect Left/Right eyes to Disparity, then route both eye outputs into the matching Left/Right DisparityToZ inputs.
None is unstacked topology, so both physical eye streams must survive through the converter.
Check: There is no duplicated stack and no invented single Input; Left routes to Left and Right to Right.
- Connect Camera3D to Stereo Camera and select External Camera Mode.
Camera geometry converts image-space disparity into camera-relative Z; without a matching stereo camera the physical scale is undefined.
Check: The camera cable is scene3d, and Z depth responds plausibly when the stereo camera geometry changes meaningfully.
- Leave Output Z To RGB and Refine Z disabled and verify the raw Z AUX first.
This keeps RGB as the eye image and prevents camera/disparity errors from being hidden by refinement.
Check: Eye RGB is not replaced by a depth preview, while Z-aware inspection confirms the new Z channel and correct near/far ordering.
Expected result
- DISPARITY → Z (Z) · frame 72
Both eye streams are preserved, Disparity AUX becomes camera-relative Z AUX through the stereo Camera3D, and RGB remains the original eye content.
Alpha: Alpha travels with the eye image; DisparityToZ is not a matte generator and does not require turning Z into alpha.
When the result differs
- Z exists but near/far relationships are badly wrong.
Cause: Camera geometry/eye order does not match the footage or upstream disparity is wrong.
Correction: Verify the stereo Camera3D, Stack Mode, Swap Eyes, and upstream Disparity before touching Refine Z.
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
MediaIn role used as the stereo source in the practice graphs.
- Blackmagic Design — Fusion current manual
Loader/MediaIn image-stream roles and auxiliary-channel capable Fusion pipeline context.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Fusion 3D
Camera3D stereo camera model and 3D scene/camera stream used by External Camera Mode.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Disparity
Stereo Nodes > Disparity: Left/Right image paths, packed topology and hidden Disparity AUX channel.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Disparity To Z
Stereo Nodes > Disparity To Z [D2Z]: Studio-only Left/Right inputs and outputs, Stereo Camera input, Output Z To RGB, Refine Z, Stack Mode, Swap Eyes and External/Artistic camera conversion.
Convert packed Horiz disparity to artistic Z over one cable
Lock down packed topology and separate Artistic mapping from physically accurate External conversion.
Starting conditions
DaVinci Resolve 21.x · Studio · Target-build live verification pending
1920 × 1080 · 24 fps · 120 frames · Fusion page; stereo image streams with AUX channels
- Disparity AUX data
- Stereo Camera3D for External mode where used
Source material
- STACK
A synchronized stereo pair with identical dimensions and known Left/Right order. A packed source must actually contain both eyes. If the lesson requires Disparity or Z, genuine channels/layers must be present.
Use your own material matching the description. Import it into the Media Pool and drag it into Fusion as STACK. For a clip provide 120 frames at 24 fps. Static artwork may be held across the range; the input used to test motion, flicker or frame history must contain actual footage.
Nodes and connections
STACK— HORIZONTAL STEREO STACK · MediaInD— PACKED DISPARITY · DisparityZ— ARTISTIC Z · DisparityToZ
| Source | Destination | Data |
|---|---|---|
HORIZONTAL STEREO STACK (STACK)Output | PACKED DISPARITY (D)LeftInput | image |
PACKED DISPARITY (D)LeftOutput | ARTISTIC Z (Z)LeftInput | image |
Graph output: ARTISTIC Z (Z)
Parameter values
- PACKED DISPARITY (D) / Controls / Stack Mode
"Horiz"The two eyes already live inside one side-by-side image stream.
- ARTISTIC Z (Z) / Controls / Stack Mode
"Horiz"Keep the packed representation through DisparityToZ.
- ARTISTIC Z (Z) / Camera / Camera Mode
"Artistic"Build a useful but non-physical disparity-to-depth mapping without a camera.
- ARTISTIC Z (Z) / Camera > Artistic / Foreground Disparity
12Example anchor for the nearest useful disparity region; live values must be sampled from the shot.
- ARTISTIC Z (Z) / Camera > Artistic / Background Disparity
2Example anchor for the far region; live values must bracket the actual disparity range.
- ARTISTIC Z (Z) / Camera > Artistic / Foreground Depth
2Map the foreground disparity anchor to a chosen artistic depth.
- ARTISTIC Z (Z) / Camera > Artistic / Background Depth
20Map the background disparity anchor to a farther artistic depth.
- ARTISTIC Z (Z) / Camera > Artistic / Falloff
"Hyperbolic"Use the more physically plausible curve shape as a baseline.
Reproduce the example
- Feed the side-by-side source through one Left Input cable on Disparity and then one Left Input cable on DisparityToZ; set both nodes to Horiz.
The packed stream already contains both eyes. A second physical Right cable adds no information and breaks the topology mental model.
Check: The graph has exactly one image cable between packed stages; right-eye data stays inside the stack.
- Switch Camera Mode to Artistic and choose Foreground/Background Disparity from real regions so the anchors bracket the useful disparity range.
Values outside the anchor range clip into flat depth; arbitrary anchors make the mapping unreliable even as an artistic mask.
Check: Foreground/background surfaces do not collapse into broad identical plateaus because of an overly narrow range.
- Assign foreground/background depth and start with Hyperbolic Falloff; use Linear only for an intentionally stylized response.
Artistic controls build a mapping rather than reconstructing a physical camera. Hyperbolic is closer to the natural inverse-depth relationship.
Check: Depth ordering is useful for the intended creative effect, but the result is not mislabeled as measured real-world Z.
Expected result
- ARTISTIC Z (Z) · frame 72
Packed stereo remains one image stream, while Artistic mode creates controllable Z AUX without an invented Camera3D cable.
Alpha: Packing and Z mapping must not use alpha as a surrogate for the second eye or the depth channel.
When the result differs
- Large regions of depth become flat.
Cause: Foreground/Background Disparity anchors do not bracket the actual range, causing clipping.
Correction: Resample foreground/background disparity from the shot and widen the range to cover the actual extremes.
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
MediaIn role used as the stereo source in the practice graphs.
- Blackmagic Design — Fusion current manual
Loader/MediaIn image-stream roles and auxiliary-channel capable Fusion pipeline context.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Fusion 3D
Camera3D stereo camera model and 3D scene/camera stream used by External Camera Mode.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Disparity
Stereo Nodes > Disparity: Left/Right image paths, packed topology and hidden Disparity AUX channel.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Disparity To Z
Stereo Nodes > Disparity To Z [D2Z]: Studio-only Left/Right inputs and outputs, Stereo Camera input, Output Z To RGB, Refine Z, Stack Mode, Swap Eyes and External/Artistic camera conversion.
QC raw Z and Refine Z without texture leakage
Separate conversion, RGB preview, and edge refinement so a pretty grayscale image is not mistaken for correct technical Z.
Starting conditions
DaVinci Resolve 21.x · Studio · Target-build live verification pending
1920 × 1080 · 24 fps · 120 frames · Fusion page; stereo image streams with AUX channels
- Disparity AUX data
- Stereo Camera3D for External mode where used
Source material
- EXR
A synchronized stereo pair with identical dimensions and known Left/Right order. A packed source must actually contain both eyes. If the lesson requires Disparity or Z, genuine channels/layers must be present.
In DaVinci Resolve load a compatible EXR through Loader and verify the required layers/channels. Import PNG and ordinary video through Media Pool/MediaIn if adapting the graph.
Nodes and connections
EXR— STEREO EXR + DISPARITY AUX · LoaderC— STEREO CAMERA · Camera3DZ— Z QC · DisparityToZ
| Source | Destination | Data |
|---|---|---|
STEREO EXR + DISPARITY AUX (EXR)Output | Z QC (Z)LeftInput | image |
STEREO CAMERA (C)Scene | Z QC (Z)StereoCamera | scene3d |
Graph output: Z QC (Z)
Parameter values
- Z QC (Z) / Controls / Stack Mode
"Layers"Treat the incoming EXR as a packed/layered stereo representation in this exercise.
- Z QC (Z) / Camera / Camera Mode
"External"Use the stereo camera for conversion.
- Z QC (Z) / Controls / Output Z To RGB
trueTemporarily copy raw Z into RGB for diagnostic viewing.
- Z QC (Z) / Controls > Refine Z / Enable
trueEnable edge-aware refinement only after the raw conversion is verified.
- Z QC (Z) / Controls > Refine Z / HiQ Only
trueRestrict the expensive refinement stage to High Quality where supported by the live UI.
- Z QC (Z) / Controls > Refine Z / Strength
0.001Use the documented reference-scale value as an editorial baseline, then A/B on the shot.
- Z QC (Z) / Controls > Refine Z / Radius
0.01Use the documented reference-scale radius as a baseline; exact useful values are shot dependent.
Reproduce the example
- Verify the raw conversion first, then temporarily enable Output Z To RGB and Viewer Full Color Range to read negative camera-space Z values.
A normal 0–1 Viewer can make raw Z appear almost black; that is a display problem, not proof that depth is missing.
Check: Near/far ordering becomes readable with the correct display without assuming the data itself is normalized.
- Enable Refine Z and compare Strength at a fixed Radius on silhouettes, fabric/skin, and fine texture.
Strength both smooths depth and pulls Z edges toward RGB, so excessive values show up as texture leakage.
Check: The foreground edge is cleaner without internal RGB texture appearing as false relief in Z.
- If HiQ Only is enabled, repeat QC in an actual High Quality state and during playback, then disable Output Z To RGB before technical downstream use.
Refinement may not run in low-quality preview, and temporal disparity noise propagates into Z. The RGB preview should also not accidentally replace the eye image in the production branch.
Check: High Quality output matches expectations, Z edges are temporally stable, and the production branch returns to original RGB plus Z AUX.
Expected result
- Z QC (Z) · frame 72
Raw Z is interpreted as float auxiliary data, Refine Z improves the intended edges without obvious RGB texture leakage, and the RGB preview remains a temporary diagnostic mode.
Alpha: Output Z To RGB produces {z,z,z,1} for preview; that is a diagnostic RGB branch, not evidence that original alpha semantics should change downstream.
When the result differs
- After Refine Z, fabric texture appears as relief in the depth field.
Cause: Strength/Radius are coupling Z too strongly to RGB structure.
Correction: Reduce Strength, then Radius; compare against raw Z and keep only the minimum refinement that genuinely fixes the edge.
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
MediaIn role used as the stereo source in the practice graphs.
- Blackmagic Design — Fusion current manual
Loader/MediaIn image-stream roles and auxiliary-channel capable Fusion pipeline context.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Fusion 3D
Camera3D stereo camera model and 3D scene/camera stream used by External Camera Mode.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Disparity
Stereo Nodes > Disparity: Left/Right image paths, packed topology and hidden Disparity AUX channel.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Disparity To Z
Stereo Nodes > Disparity To Z [D2Z]: Studio-only Left/Right inputs and outputs, Stereo Camera input, Output Z To RGB, Refine Z, Stack Mode, Swap Eyes and External/Artistic camera conversion.
Other outlines from the article
Separate eyes with External Camera3D
Both Disparity eye outputs feed the matching DisparityToZ inputs while a stereo Camera3D supplies the conversion model; each eye output gains Z AUX.
- Left/Right → Disparity
- Disparity Left/Right → DisparityToZ
- Stereo Camera3D → Stereo Camera
- Left/Right + Z AUX
Horizontal packed stereo
A side-by-side stream travels on one primary cable with Stack Mode = Horiz and gains Z without inventing a second physical eye connection.
- Horizontal Stereo Stack
- Disparity · Horiz
- DisparityToZ · Horiz
- Packed image + Z AUX
Artistic depth without a tracked camera
Foreground/background disparity anchors are mapped to chosen depths when physically accurate camera reconstruction is not required.
- Disparity AUX
- DisparityToZ · Artistic
- Foreground/Background anchors
- Depth-aware comp
Raw Z diagnostic preview
Output Z To RGB copies raw Z into RGB, and Viewer Full Color Range makes negative camera-space values readable.
- DisparityToZ
- Output Z To RGB
- Viewer · Show Full Color Range
- QC
Refined depth for DoF
Camera-consistent raw Z is validated first, then Refine Z is used sparingly on a foreground boundary before depth-of-field processing.
- DisparityToZ raw Z
- Refine Z A/B
- DepthBlur
- MediaOut
Technical stereo EXR branch
The eye image and auxiliary data remain together; DisparityToZ adds Z without requiring RGB to become a depth visualization.
- Stereo EXR + Disparity AUX
- DisparityToZ
- RGBA + Z AUX
- Saver / stereo downstream
Mistakes
- Supplying a grayscale RGB picture instead of a real Disparity AUX channel.
- Reusing disparity from a different frame or stereo pair.
- Choosing the wrong Stack Mode and breaking separate-eye or packed routing.
- Omitting Right Input/Right Output while working with two separate eye images.
- Feeding a packed stereo stream into a second input even though it already contains both eyes.
- Using Swap Eyes as a generic Z inversion instead of verifying eye order.
- Connecting a mono camera in External mode and expecting calibrated depth without a stereo baseline.
- Using an uncalibrated camera and judging Z accuracy only by whether the image looks plausible.
- Presenting Artistic depth values as measured real-world distances.
- Choosing narrow or reversed disparity anchors and creating clipped, flat Z regions.
- Confusing positive Artistic Depth values with negative raw camera-space Z.
- Treating Linear Falloff as physically equivalent to Hyperbolic.
- Assuming Output Z To RGB must be enabled to create the Z AUX channel.
- Concluding that Z is empty because the Viewer looks black without Show Full Color Range.
- Enabling Refine Z before checking raw disparity, camera geometry, and the computed Z.
- Overdriving Strength or Radius until RGB texture appears as false depth or boundaries develop halos.
- Ignoring large far-depth uncertainty or temporal flickering.
- Exporting normalized RGB preview instead of raw Z AUX without clearly documenting the choice.
Tips
- Start by verifying Disparity AUX; when the channel is absent, DisparityToZ adjustments cannot recover it.
- Check both outputs in separate mode and ensure downstream Stack Mode compatibility with packed stereo.
- Store the stereo-camera source and calibration assumptions with the project.
- Choose Artistic anchors from real near and far shot regions rather than noise peaks in the disparity map.
- Inspect the disparity range: clipping often appears as broad, unnaturally flat areas of Z.
- Use Hyperbolic as a baseline; reserve Linear for a deliberate stylized response.
- Keep Z AUX distinct from Output Z To RGB, which only provides an optional copy for display or processing.
- Inspect raw Z using Show Full Color Range without modifying technical data just to improve appearance.
- Capture a raw-Z reference before enabling Refine Z for a meaningful comparison.
- Judge Strength at silhouettes and textured surfaces; adjust Radius separately.
- With HiQ Only, validate the final output in High Quality rather than relying on fast previews.
- If StereoAlign changes the eye geometry, recheck disparity and recompute Z where necessary.
- Review moving frames: temporal issues are often most obvious through DepthBlur.
- Document whether an EXR contains raw float Z, an RGB preview, or an Artistic depth field.
Workflow order
- Prepare and align the stereo pair in DaVinci Resolve Studio or Fusion Studio, where the stereo tools are available.
- Generate Disparity AUX with Disparity, or verify that an existing stereo source or technical EXR genuinely contains it.
- Choose Stack Mode: None for separate eyes, or Horiz, Vert, or Layers for a packed stereo stream.
- Connect the left eye to Left Input and the right eye to Right Input only in separate mode; route packed images on a single cable.
- Verify eye order; use Swap Eyes only when the incoming left and right images are genuinely reversed.
- For camera-based conversion, select External, connect Stereo Camera3D, and confirm that its geometry matches the shot.
- Without a trustworthy camera, select Artistic and identify representative near and far locations in left-eye disparity.
- In Artistic mode, set Foreground/Background Disparity to bracket the actual range, and assign the corresponding Depth values.
- Choose Falloff: start with Hyperbolic and use Linear only for a deliberate stylized depth response.
- Temporarily enable Output Z To RGB to inspect raw Z; use the Viewer's Show Full Color Range option when needed.
- Verify near-to-far ordering and ensure the depth field is not clipped into broad flat plateaus.
- If boundaries need cleanup, enable Refine Z and compare the result with the raw Z field at object edges.
- Adjust Strength and Radius independently; when HiQ Only is active, validate in an actual High Quality render.
- Play through moving frames and textured regions to catch depth flicker and unwanted RGB texture leakage.
- Disable diagnostic RGB copying when downstream expects the original eye image; pass Z AUX into DepthBlur, fog, or a technical EXR.
