FUSION · FULL ARTICLE
Polygon
A precise freeform Fusion mask for rotoscoping, local effects and animated outlines: Bézier points, feathering, mask combination, write-on controls and per-frame shape animation.
Overview
Use Polygon when Rectangle or Ellipse is no longer precise enough: the subject has an irregular silhouette, the edge must deform over time, or the matte itself is part of a custom graphic. The node generates coverage internally; the video plate does not need to feed Polygon.
Polygon has one optional Effect Mask input. It accepts another mask for matte combination. Paint Mode becomes relevant when that second mask is connected and determines how incoming coverage combines with the locally drawn Polygon.
The Resolve 21 reference describes Polygon as a Bézier polyline. Points are appended by clicking in the Viewer, the shape closes by clicking the first point again, and closed splines can then receive inserted or modified points. Polygon and B-Spline solve similar jobs but use different curve models.
Polygon shape animation is automatic by default: creating the tool establishes shape animation at the current time, and changing the contour at a different frame creates another shape state. Check the current frame before the first edit and inspect interpolation between keys, not only the keyed frames themselves.
For rotoscoping, preserve semantic point correspondence from key to key. A corner of the subject should remain the same logical Polygon point instead of silently swapping order. Too many points make animation fragile; too few fail to describe the edge.
Soft Edge changes the coverage transition around the spline. Feathering does not repair a misplaced contour and does not replace motion blur already present in the plate. Fix geometry first, then match softness to the photographed edge.
Solid chooses a filled matte versus outline behavior. With Solid off, Border Width creates a line. Position and Length can expose only part of that outline for write-on/HUD animation; color still comes from a separate image branch such as Background → Glow → Merge.
Fill Method controls how overlapping regions of the same polyline are interpreted. Resolve 21 documents Alternate and Non Zero Winding. These are fill rules for self-intersections/nested regions, not image-fit or scaling modes.
The Image tab is the technical raster layer of the mask. Output Size sets mask resolution; Custom exposes Width, Height, Pixel Aspect and Depth; Clipping Mode controls domain-of-definition behavior, especially where Soft Edge needs samples beyond the current domain.
The Settings tab uses common mask-tool controls. Motion Blur has Quality, Shutter Angle, Center Bias and Sample Spread. That temporal sampling is separate from the manual roto task and cannot compensate for wrong point trajectories.
The site's real Inspector capture also shows Border Style, Position, Length and Fast Gaussian selected in Filter. The Resolve 21 prose reference documents the core Polygon model and explicitly lists Box, Bartlett, Multi-box and Gaussian for Filter. This article therefore distinguishes manual-verified behavior from labels visible in a particular captured UI.
Polygon is not a Tracker or Planar Tracker. Use tracking where rigid or planar motion can be measured reliably, then keep Polygon for silhouette shape, holdouts and occlusions that genuinely need manual geometry.
When to use it
- Manual roto of an irregular silhouette
- Garbage/Solid mattes for keyers
- Local color correction or blur
- Custom graphic panels
- Outline and write-on animation
- HUD/map-route graphics
- Holdouts and compound masks
- Animated image reveals
Article screenshots
Inputs & outputs
Polygon generates an animatable contour; its input is for mask combination
Polygon is a self-contained roto/custom-shape mask. Its points generate coverage inside the node; the incoming mask is only for combining multiple matte branches.
Rasterizes the user-defined Polygon/Bezier contour over time and applies Soft Edge, Border, Invert and mask combination.
Polygon contour Viewer points and tangents define the shape; editing the contour on different frames creates/changes its animation.
Inputs
- Effect Mask
Second mask for a compound shape
Receives: An additional mask branch to combine with the Polygon contour.
Inside the node: Incoming coverage and the Polygon are combined according to Paint Mode / common mask controls.
Typical sources: Rectangle · Ellipse · B-Spline · Bitmap · another Polygon
For rotoscoping, the video itself does not feed this port. The image remains on the affected branch while Polygon produces only the mask.
Outputs and destination
Mask Output
A single-channel custom-shape mask including its animation over time.
Next step: MatteControl → Garbage/Solid Matte · Color Corrector → Effect Mask · Blur → Effect Mask · Merge → Effect Mask
After editing points on another frame, verify whether contour animation has been created or changed.
- Mask Output
- A freeform mask stream for Effect Mask, Garbage Matte, Solid Matte and other mask ports. It carries coverage, not an RGB color image.
Processing order
- The user draws and, when needed, animates the Polygon contour.
- An optional incoming mask is combined with that contour.
- Mask controls define border, softness, inversion and level.
- Mask Output becomes the coverage map for the downstream tool.
Garbage matte around an object
MediaIn → MatteControl.Background · Polygon → MatteControl.Garbage Matte
Polygon describes the removal region while the image travels separately into MatteControl Background.
Polygon is time-varying mask geometry. Image and mask travel on separate wires and meet only in the receiving node.
Parameters
Polygon · Inspector reference
Polygon is a Bézier mask with automatic shape animation. Keep spline geometry, coverage/combining, outline/write-on and technical Image/Settings controls separate.
- Spline
- Points and Fill Method
- Matte
- Level / Edge / Combine
- Animate
- Shape between keys
- Output
- Image / Settings
Geometry · Geometry
Polygon points, whole-shape transforms, Fill Method and shape animation define the spline over time.
- Polyline / Points
Geometry > Polyline / PointsBézier points, spline segments, tangents and closure. Click appends points and clicking the first point again closes the shape; closed splines can then be modified or receive inserted points. The Viewer toolbar also provides Click, Draw, Insert, Modify, Done, Smooth/Linear and related operations.
Check / distinguish: For roto, place points on stable semantic features rather than spacing them uniformly.
- Center
Geometry > CenterMoves the complete shape as one unit. It preserves relative point geometry. A deforming subject still needs Polyline animation or a separate tracking/motion layer.
Check / distinguish: Separate global motion from local silhouette deformation.
- Size
Geometry > SizeScales the whole Polygon. The points keep their relative arrangement. The manual notes this does not itself set a keyframe in shape animation.
Check / distinguish: Do not use Size as a substitute for actual edge deformation.
- X / Y / Z Rotation
Geometry > X / Y / Z RotationRotates the mask around the available axes. These transform mask geometry inside Fusion; they do not turn Polygon into a full 3D scene object. Inspect projection and clipping in the Viewer.
Check / distinguish: Z Rotation is the usual in-plane rotation.
- Fill Method
Geometry > Fill MethodChooses the fill rule for overlapping spline regions. Resolve 21 recommends comparing Alternate and Non Zero Winding when self-intersections create unwanted holes. A simple non-overlapping contour may show no difference.
Check / distinguish: Check self-intersections first, then Fill Method.
- Shape Animation
Geometry > Shape AnimationControls time-varying Polygon geometry. According to the current manual, Polygon auto-animates: an initial shape key is established at the current time and edits at other times create new shape states. The contextual shape-animation menu can remove/re-enable animation or publish/connect shapes.
Check / distinguish: For static graphics, inspect Keyframes/Spline after editing.
- Viewer toolbar
Viewer > Polygon toolbarPolygon's documented Viewer toolbar includes Click, Draw, Insert, Modify, Done, Closed, Smooth, Linear, Select All, Keys, Handles, Shape, Delete, Reduce, Publish, Follow Points, Double Poly, Multiframe, Onion Skinning and Roto Assist.
Check / distinguish: For roto, specifically verify Multiframe/Onion Skinning on in-between frames.
Coverage · Coverage and combine
Level, Filter, Soft Edge, Border Width, Paint Mode, Invert and Solid form the resulting matte and its interaction with an incoming Effect Mask.
- Show View Controls
Coverage > Show View ControlsShows or hides Polygon onscreen controls in the Viewer. This only changes handle/polyline visibility; it does not disable the matte. Hide controls to judge the edge cleanly and show them again for editing.
Check / distinguish: If the matte works but points are missing, check Show View Controls and tool selection first.
- Level
Coverage > LevelScales coverage values for the entire matte. At 1, white coverage remains full; lowering Level makes coverage partial. It is not a bypass: the downstream tool still receives a mask with lower values.
Check / distinguish: For a true A/B comparison, also test disconnecting the mask or bypassing the receiving tool.
- Filter
Coverage > FilterSelects the filter used by Soft Edge. Resolve 21 documents Box, Bartlett, Multi-box and Gaussian; the site's real Inspector capture also shows Fast Gaussian. Check the complete menu/default in the target build and compare quality on moving edges.
Check / distinguish: Choose by actual edge behavior, not only by the algorithm name.
- Soft Edge
Coverage > Soft EdgeFeathers the mask boundary. Higher values create a wider coverage transition; 0 leaves a crisp edge. Soft Edge changes the matte rather than blurring RGB directly.
Check / distinguish: Correct the contour before increasing feather.
- Border Width
Coverage > Border WidthControls border/outline width. With Solid off it forms an outline instead of a filled region; with Solid on it changes the edge region. For a colored line, Polygon usually masks Background and the resulting image branch can then go through Glow.
Check / distinguish: Judge Border Width in an alpha/matte view before adding Glow.
- Paint Mode
Coverage > Paint ModeCombines an incoming Effect Mask with the local Polygon. It appears when another mask is connected. Resolve 21 lists Merge, Add, Subtract, Minimum, Maximum, Average, Multiply, Replace, Invert, Copy and Ignore. This is mask math, not an RGB composite blend mode.
Check / distinguish: Start with Subtract for a hole or Multiply for an intersection, then inspect the actual matte.
- Invert
Coverage > InvertInverts Polygon coverage. On a standalone matte it swaps inside and outside. With mask combination, the result also depends on Paint Mode, so debug with simple black/white shapes first.
Check / distinguish: Do not repair a wrong mask order by toggling Invert at random.
- Solid
Coverage > SolidSwitches between a filled region and outline behavior. With Solid enabled the mask is filled. With it disabled, Border Width becomes the main outline control. The output is still coverage, not line color.
Check / distinguish: For neon: Polygon mask → Background.Effect Mask → Glow.
- Paint Mode list
Controls > Paint ModeResolve 21 lists Merge, Add, Subtract, Minimum, Maximum, Average, Multiply, Replace, Invert, Copy and Ignore for combining mask coverage.
Check / distinguish: Connect a simple second mask and compare Subtract and Multiply in the Mask/Alpha Viewer.
- Filter cross-check
Controls > FilterThe Reference Manual documents Box, Bartlett, Multi-box and Gaussian; the site's real capture shows Fast Gaussian selected. The discrepancy is recorded rather than hidden.
Check / distinguish: Do not call Fast Gaussian the universal default without checking the installed version.
Outline · Outline / write-on
Border Style, Position and Length support outline use. Exact Border Style icon labels are not borrowed from sPolygon without a live-build check.
- Border Style
Outline > Border StyleChanges border/join geometry for the contour. This control is present in the saved Polygon Inspector capture. The current Mask Nodes prose does not spell out every Polygon Border Style icon, so do not copy labels from the separate sPolygon Shape tool without checking the target build.
Check / distinguish: Compare a sharp corner and an open end at the same Border Width.
- Position
Outline > PositionOffsets the starting position of the visible outline segment. Used with Length for outline/write-on behavior. It is not the whole-shape Center and not an individual point position.
Check / distinguish: For a traveling segment, reduce Length first and then animate Position.
- Length
Outline > LengthControls the visible extent of the outline. The Inspector capture shows 1.0 as a complete contour; lowering it exposes only part of the outline for write-on style animation. It does not replace shape animation for filled roto.
Check / distinguish: Animate Length only after the underlying outline is stable.
- Border Style icons
Controls > Border StyleBorder Style icons plus Position/Length are visible in the real Polygon Inspector. Their semantics are checked as Polygon Mask controls rather than copied from the sPolygon Shape tool.
Check / distinguish: Compare a sharp corner and an open/outline segment at the same Border Width.
Image · Image
Output Size, Custom Format and Clipping Mode define the mask raster/domain.
- Output Size
Image > Output SizeSelects the raster resolution of the generated mask. Common Mask Image controls determine output dimensions. The Polygon capture shows Default and Custom; modes offered on tools with image inputs can differ.
Check / distinguish: If the matte shifts or clips unexpectedly, compare canvas and Output Size.
- Custom Format
Image > Custom FormatWidth, Height, Pixel Aspect and Depth for a custom output format. Resolve 21 documents these as Common Mask Image controls. Depth changes precision/memory and Pixel Aspect changes raster geometry; they are technical pipeline controls.
Check / distinguish: For normal comps, keep the mask format aligned to the frame format unless there is a reason not to.
- Clipping Mode
Image > Clipping ModeControls domain-of-definition handling at the edges. The manual documents Frame and None. Clipping becomes especially relevant with Soft Edge where filtering can require samples outside the current domain. It is not a final-video crop.
Check / distinguish: If feathering clips at frame edges, inspect Clipping Mode together with Output Size.
- Clipping Mode
Image > Clipping ModeCommon Mask Image controls document Frame and None. The setting changes the domain of definition and can affect operations needing samples beyond the frame.
Check / distinguish: Test a feathered edge at the frame boundary in Frame and None.
Settings · Settings
Motion Blur, Quality, shutter sampling and service controls belong to the tool's common processing layer.
- Motion Blur
Settings > Motion BlurEnables common motion blur on the animated mask tool. Found in Settings and based on predicted tool motion. It does not replace motion blur in the source plate and cannot repair incorrect point trajectories.
Check / distinguish: Judge blur at the target frame rate and on actual motion.
- Motion Blur Quality
Settings > Motion Blur QualityControls temporal sampling density for motion blur. Higher values produce smoother blur at greater render cost. This is a quality/performance parameter, not blur strength.
Check / distinguish: Increase Quality only after choosing Shutter Angle deliberately.
- Shutter Angle
Settings > Shutter AngleSets the temporal width of motion blur. The Resolve manual describes 360° as one full-frame exposure and permits higher values for longer trails. It is unrelated to Polygon X/Y/Z rotation.
Check / distinguish: Do not confuse Shutter Angle with geometric rotation.
- Center Bias / Sample Spread
Settings > Center Bias / Sample SpreadShapes the temporal distribution of motion-blur samples. Center Bias shifts the center of the blur and can create trails; Sample Spread changes sample weighting/brightness distribution.
Check / distinguish: Start from defaults and change one variable at a time.
- Use GPU / Comments / Scripts
Settings > Use GPU / Comments / ScriptsCommon Fusion Settings controls. Use GPU selects Auto/Enabled/Disabled, Comments stores a tool note, and scripting fields run user scripts at render events. These are infrastructure controls rather than Polygon-specific shape logic.
Check / distinguish: Use Comments to label the matte purpose; change GPU mode only for diagnosis.
- Motion Blur sampling
Settings > Motion BlurCommon mask Settings include Motion Blur, Quality, Shutter Angle, Center Bias and Sample Spread.
Check / distinguish: Compare on an animated shape; a static Polygon does not demonstrate temporal sampling.
Before adjusting the node
- Check the current frame before drawing: Polygon automatically creates and animates shape states when the spline is edited on other frames.
- For roto, fix geometry before Soft Edge; feathering does not compensate for an incorrect silhouette.
- With a second mask connected, Paint Mode is mask math, not an RGB blend mode.
- Fill Method controls self-intersection/nested-region filling, not image fitting.
- Inspect in-between frames between shape keys and preserve semantic point correspondence.
- The captured Inspector shows Fast Gaussian and Border Style icons; verify the exact menu/default of those UI items in the target 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
A four-point panel with a slanted edge
Draw a closed shape, separate it from the panel color and avoid unintended animation while editing.
Starting conditions
DaVinci Resolve / Fusion 21 / 21.1 — documentation cross-checked; live exercise run pending · Native 2D tools; no third-party plug-ins · Windows / macOS / Linux: installation and playback were not tested here
1920 × 1080 · 24 fps · 96 frames · Use consistent color management across image branches; masks represent scalar coverage. Frame numbers are local: 0–95.
- Create a four-second Fusion Composition at 24 fps; translate local frame numbers when the timeline starts elsewhere.
- Numeric settings are authored start points; inspect shape, alpha and intermediate frames, not only the final image.
Source material
- PLATE
The opaque 1920×1080 test plate from CORE-01; a background for checking the composite.
An opaque image of the same dimensions can replace it.
Nodes and connections
PLATE— Plate · MediaInFILL— Fill · BackgroundCOMPOSITE— Composite · MergeOUT— MediaOut · MediaOutSHAPE— PanelShape · PolygonMask
| Source | Destination | Data |
|---|---|---|
Plate (PLATE)Output | Composite (COMPOSITE)Background | image |
Fill (FILL)Output | Composite (COMPOSITE)Foreground | image |
Composite (COMPOSITE)Output | MediaOut (OUT)Input | image |
PanelShape (SHAPE)Mask | Fill (FILL)EffectMask | mask |
Graph output: MediaOut (OUT)
Parameter values
- Fill (FILL) / Image / Width / Height
[1920,1080]Use one canvas size for the plate, mask and result; override automatic sizing only if it gives a different resolution.
- Fill (FILL) / Controls / Color / Alpha
[0.12,0.65,0.8,1]An opaque fill makes the mask visible. RGB numbers are starting values, not a color-management reference.
- PanelShape (SHAPE) / Controls / Polyline / Points
"(0.18,0.34), (0.78,0.34), (0.70,0.61), (0.18,0.61); closed"Viewer guides use normalized X/Y with Y upward. Click the corners; this is not .comp import text.
- PanelShape (SHAPE) / Controls / Solid / Invert / Level
"On / Off / 1"Use a closed filled shape for the panel.
- PanelShape (SHAPE) / Controls / Soft Edge
0A hard edge makes geometry easy to verify.
Reproduce the example
- Go to local frame 0, create Polygon and show viewer controls.
The official training workflow uses automatic Polygon shape animation, so the editing frame matters.
Check: The current frame is actually zero, not the last frame you inspected.
- Place four points using the listed guides and close the contour by clicking the first point.
Closing the spline and enabling Solid are different: they define a boundary and fill its interior.
Check: The shape is filled, its right edge is slanted and no edges cross.
- Do not move points on other frames. For a static panel inspect shape keys and remove unintended changes.
Otherwise a static panel may unexpectedly morph.
Check: Geometry is identical at frames 0, 48 and 95.
- Connect Polygon to Fill Effect Mask and set image color and dimensions.
Polygon creates the stencil; Background creates the colored image.
Check: Fill is transparent outside the panel and opaque inside.
- Connect both images to Merge and inspect without viewer controls.
Editing guides must not be confused with the rendered graphics.
Check: A clean panel sits over the plate; its edges and alpha do not change over time.
Expected result
- PanelShape (SHAPE) · frame 0
A closed four-sided shape without self-intersections.
Alpha: A white shape on black in monochrome view.
- MediaOut (OUT) · frame 95
The same panel as at the first frame.
Alpha: The final frame is opaque.
When the result differs
- The mask is visible but the result does not change.
Cause: The source is being viewed or the wire is not connected to the blue input.
Correction: View MediaOut and verify the named ports in the connection list.
- A monochrome stencil appears instead of the colored result.
Cause: The mask is being used as the image, or its output is being viewed rather than the composite.
Correction: For colored graphics connect the mask to Background.Effect Mask, then connect the Background image to Merge.Foreground.
- The panel deforms even though it should be static.
Cause: Points were edited at different frames while shape animation was active.
Correction: Inspect Polyline keys in Keyframes/Spline. Keep the intended static shape instead of compensating with Center.
Files for the example
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 20–22: Merge ports and mask behavior; pp. 44–49: drawing/animating Polygon; p. 149: Rectangle → Background. This supports the basic wiring, NOT every setting below.
- Blackmagic Design — DaVinci Resolve 21/21.1 Reference Manual: Polygon Mask
Mask Nodes > Polygon Mask [Ply] and Common Controls: current Polygon model, mask combining, shape animation, Fill Method, Image/Settings controls and Viewer toolbar.
Manual roto on a short controlled movement
Follow a moving target with four points and inspect intermediate frames. This is a manual shape-animation exercise, not an automatic Tracker demonstration.
Starting conditions
DaVinci Resolve / Fusion 21 / 21.1 — documentation cross-checked; live exercise run pending · Native 2D tools; no third-party plug-ins · Windows / macOS / Linux: installation and playback were not tested here
1920 × 1080 · 24 fps · 96 frames · Use consistent color management across image branches; masks represent scalar coverage. Frame numbers are local: 0–95.
- Create a four-second Fusion Composition at 24 fps; translate local frame numbers when the timeline starts elsewhere.
- Numeric settings are authored start points; inspect shape, alpha and intermediate frames, not only the final image.
Source material
- PLATE
A 96-frame PNG input sequence: one four-sided target moves and changes shape. This is source material, not a roto result.
Extract the ZIP and import as one 24 fps clip without scaling. A different clip may be used, but the checkpoint coordinates would no longer apply.
Nodes and connections
PLATE— Plate · MediaInFILL— Fill · BackgroundCOMPOSITE— Composite · MergeOUT— MediaOut · MediaOutROTO— RotoShape · PolygonMask
| Source | Destination | Data |
|---|---|---|
Plate (PLATE)Output | Composite (COMPOSITE)Background | image |
Fill (FILL)Output | Composite (COMPOSITE)Foreground | image |
Composite (COMPOSITE)Output | MediaOut (OUT)Input | image |
RotoShape (ROTO)Mask | Fill (FILL)EffectMask | mask |
Graph output: MediaOut (OUT)
Parameter values
- Fill (FILL) / Image / Width / Height
[1920,1080]Use one canvas size for the plate, mask and result; override automatic sizing only if it gives a different resolution.
- Fill (FILL) / Controls / Color / Alpha
[0.12,0.65,0.8,1]An opaque fill makes the mask visible. RGB numbers are starting values, not a color-management reference.
- RotoShape (ROTO) / Controls / Solid / Invert / Soft Edge
"On / Off / 0"First match the hard training target contour; feathering must not hide a shape error.
- RotoShape (ROTO) / Controls / Polyline / Points
"(0.20,0.36),(0.38,0.36),(0.34,0.64),(0.22,0.64); closed"· frame 0Coordinates guide viewer clicks; Y points upward.
- RotoShape (ROTO) / Controls / Polyline / Points
"(0.48,0.30),(0.70,0.37),(0.63,0.70),(0.46,0.61); same point order"· frame 48Do not add points between keys: preserve corner correspondence.
- RotoShape (ROTO) / Controls / Polyline / Points
"(0.63,0.40),(0.85,0.43),(0.82,0.67),(0.66,0.70); same point order"· frame 95The last checkpoint frame.
- Composite (COMPOSITE) / Controls / Blend
0.45A translucent overlay lets you see the target edge beneath the mask.
Reproduce the example
- Extract the archive, import the sequence as a single clip and set 24 fps. Open exactly 96 frames in Fusion.
A wrong frame rate or individual still clips break checkpoint correspondence.
Check: At frames 0/48/95 the image counter matches the local Fusion frame.
- At frame 0 draw and close Polygon around the four target corners. Connect it to colored Fill and assemble the composite.
Points follow the object rather than a loose oversized region.
Check: Matching edges remain visible beneath the translucent fill.
- At frames 48 and 95 move the existing four points; do not redraw the shape using a new vertex order.
Shape keys preserve correspondence between vertices.
Check: Shape keys exist at 0/48/95; moving the node Center is not a substitute.
- Check 12, 24, 36, 60, 72 and 84. Start with linear interpolation for this sequence; add local shape corrections if an edge drifts.
Matching three keyframes does not prove the quality of the whole animation.
Check: There are no vertex swaps, crossing edges or visible overshoots.
- Review all 96 frames; inspect Polygon in monochrome and hide viewer controls.
Real footage also needs feathering and motion-blur decisions; this training target has hard edges.
Check: The fill follows the target; this does not establish a pass on real footage.
Expected result
- MediaOut (OUT) · frame 48
The overlay matches the target at the middle keyframe.
Alpha: The composite is opaque; the matte remains in the ROTO branch.
- MediaOut (OUT) · frame 72
Inspect an in-between frame, not only the keys.
Alpha: The matte is white inside the target and black outside; inspect the edge at 100%.
When the result differs
- The mask is visible but the result does not change.
Cause: The source is being viewed or the wire is not connected to the blue input.
Correction: View MediaOut and verify the named ports in the connection list.
- A monochrome stencil appears instead of the colored result.
Cause: The mask is being used as the image, or its output is being viewed rather than the composite.
Correction: For colored graphics connect the mask to Background.Effect Mask, then connect the Background image to Merge.Foreground.
- The keys match but the contour folds between them.
Cause: Vertex order/count changed or interpolation is unsuitable.
Correction: Restore correspondence of the four corners; inspect linear segments and add a key where needed.
Files for the example
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 20–22: Merge ports and mask behavior; pp. 44–49: drawing/animating Polygon; p. 149: Rectangle → Background. This supports the basic wiring, NOT every setting below.
- Blackmagic Design — DaVinci Resolve 21/21.1 Reference Manual: Polygon Mask
Mask Nodes > Polygon Mask [Ply] and Common Controls: current Polygon model, mask combining, shape animation, Fill Method, Image/Settings controls and Viewer toolbar.
Other outlines from the article
Roto for a local correction
The image passes through Color Corrector while Polygon feeds only its Effect Mask and is animated to the subject silhouette.
- MediaIn → Color Corrector → MediaOut
- Polygon → Color Corrector.Effect Mask
Garbage matte for a keyer
Polygon removes known unwanted set areas while staying clear of the live subject edge.
- MediaIn → DeltaKeyer
- Polygon → DeltaKeyer.Garbage Matte
Custom colored panel
Polygon masks Background and the resulting RGBA branch composites through Merge.
- Polygon → Background.Effect Mask
- Background → Merge.Foreground
- MediaIn → Merge.Background
Neon write-on line
Solid is disabled, Border Width creates the line, Length/Position animate the segment, and the colored Background branch then passes through Glow.
- Polygon → Background.Effect Mask
- Background → Glow → Merge.Foreground
Hole in a compound matte
A second mask enters Polygon.Effect Mask and Paint Mode defines subtraction or intersection.
- Ellipse/Rectangle → Polygon.Effect Mask
- Polygon → downstream Effect Mask
Mistakes
- Feeding MediaIn into Polygon Effect Mask as though it were a normal image input.
- Drawing the first contour on an arbitrary frame and accidentally creating unwanted shape animation.
- Adding too many points before understanding how the subject deforms.
- Changing point correspondence/order between keys without checking interpolation.
- Using a large Soft Edge to hide bad geometry.
- Treating Level 0 as bypass or disconnect.
- Confusing Paint Mode mask combination with an RGB composite blend mode.
- Treating Fill Method as image fitting.
- Expecting a colored line directly from Mask Output.
- Animating Length on a filled roto shape and expecting it to replace shape animation.
- Copying sPolygon Shape-tool Border Style labels into classic Polygon Mask without verification.
- Ignoring Output Size/Clipping when feathering clips at a frame edge.
- Enabling Motion Blur before correcting wrong point motion.
- Treating Polygon as an automatic tracker.
Tips
- Block key poses first, then inspect each interval midpoint; this is usually faster than blind frame-by-frame editing.
- Keep points attached to stable semantic landmarks such as corners, joints or clear silhouette bends.
- On complex subjects, several simple masks can be easier to manage than one giant Polygon, especially around occlusions.
- Use keying/edge tools for semi-transparent hair and motion blur rather than trying to solve everything with arbitrary feather.
- Check the matte over black, white and saturated backgrounds to reveal fringe, holes and overshoot.
- Use tracking/transform data for rigid motion where appropriate, and reserve Polygon edits for true silhouette deformation.
- For write-on graphics, establish a clean alpha outline before adding Background and Glow.
- When self-intersections misbehave, compare Alternate and Non Zero Winding before moving dozens of points.
- Debug mask combination using simple binary shapes, then restore complex geometry.
- Use Comments to label the role of a matte: Garbage, Holdout, Face Blur, Roto Arm and so on.
- If the edge drifts between keys, add a key only in the failing interval rather than automatically on every frame.
- Use Inspector screenshots as UI orientation and verify disputed controls against the current manual and installed Resolve build.
Workflow order
- Load the source frame in a Viewer and move to the frame where the first shape should be created.
- Add Polygon and place the minimum useful number of points on stable features of the silhouette.
- Close the spline for a filled matte, or decide the Solid/Border Width outline behavior for graphic work.
- Connect Mask Output to the exact downstream mask port while leaving the RGB image on its own branch.
- Inspect coverage in alpha/matte view before feathering or artistic processing.
- For roto, move to the next key pose, edit the existing points and preserve their semantic correspondence.
- Inspect interval midpoints and add keys only where interpolation actually drifts from the edge.
- After geometry is correct, match Soft Edge and optional Motion Blur to the photographed edge.
- For compound mattes, feed the second mask into Effect Mask and choose Paint Mode deliberately.
- Finish by checking the current Viewer, Output Size/Clipping, shape keys and the composite over multiple contrasting backgrounds.
