FUSION · FULL ARTICLE
sRectangle
A zero-input Fusion Shape generator for rectangles, rounded cards, frames and pill forms. Geometry is created inside the node, Solid switches fill versus outline behavior, Corner Radius rounds the primitive, and Shape Output becomes pixels only after sRender.
Overview
sRectangle belongs to Fusion's basic Shape generators. It creates its own vector geometry and the Shape reference explicitly documents that the node has no external inputs, so the correct Flow begins with sRectangle itself rather than MediaIn → sRectangle or another Shape node → sRectangle.
The generator exposes only Shape Output. That stream remains vector Shape data and can feed sGrid, sDuplicate, sBoolean, sMerge, sChangeStyle or sTransform before any rasterization happens.
sRender is the first point where the parametric rectangle becomes an ordinary raster image. Before sRender, dimensions, corners, outline state and Style remain part of the Shape pipeline.
Solid selects filled versus outline presentation. With Solid enabled, the interior is filled with the authored Style color. With Solid disabled, the interior becomes transparent and Border Width defines the visible outline.
Border Width expands or contracts the border. Blackmagic documents that it can also be used while Solid is enabled, although its role is easiest to understand in outline mode where the stroke is the main visible geometry.
Border Style controls how the rectangle sides join at corners. The documented choices are Bevel, Round and Miter: Bevel cuts the corner, Round creates a rounded join, and Miter preserves a pointed join.
When Solid is disabled, the Inspector reveals Cap Style, Position and Length. Their absence from the captured Solid On screenshot is a conditional-UI state and must not be mistaken for absence from the tool.
Cap Style controls the two free ends of an open outline. Flat terminates at the endpoint, Round adds a semicircular end, and Square projects beyond the endpoint. The difference is only visually meaningful when Length is below 1.0.
Position moves the start or gap along the rectangle perimeter. It is not whole-shape translation: Position moves the opening along the outline while X/Y Offset move the entire rectangle in the frame.
Length 1.0 corresponds to a closed outline. Values below 1.0 create an opening, and keyframing Length provides a procedural write-on around the rectangle perimeter.
X Offset and Y Offset position the primitive in normalized image space. The Shape reference describes 0.0 as the centered baseline and uses X Offset 0.5 as the example that places the shape center at the right edge of the frame.
Z Offset [3D] is visible in the captured Resolve 21 Controls. In ordinary 2D motion graphics it is usually kept neutral unless the Shape is deliberately participating in a depth-compatible setup.
Width and Height independently define the horizontal and vertical size. Equal values create a square baseline while unequal values create a regular rectangle or elongated panel.
Corner Radius rounds the primitive parametrically. At 0.0 corners remain sharp; higher values progressively turn a square toward a circle-like silhouette and a wide rectangle toward a pill or capsule.
Corner Radius is not the same control as Border Style. Radius changes the base rectangular path while Border Style changes how the visible border joins at corners. Diagnose them one at a time.
Angle rotates the whole primitive around its center. It is a layout transform of the rectangle geometry and does not move the outline gap along the perimeter.
The captured Controls panel shows Solid On, Border Width 0.0, X/Y/Z Offset 0.0, Width/Height 0.5, Corner Radius 0.0 and Angle 0.0. Those are saved UI values, not a universal factory-default contract for every Resolve build.
The Style tab defines authored Shape color. The capture shows a white color with Red, Green, Blue and Alpha at 1.0, again as evidence of that saved Inspector state rather than a blanket default claim.
The Color swatch and the numeric Red/Green/Blue/Alpha controls are two interfaces to the same authored Style color. Numeric channels are useful when a production template must be reproduced precisely.
Alpha is the alpha component of the authored Style color. Opacity is a separate overall attenuation stage; lowering both at once compounds transparency and makes diagnosis less obvious.
Allow Combining is not a Union/Subtract/Intersect operation. It concerns Shape alpha behavior under downstream self-overlap: with combining enabled, authored alpha is preserved, while disabling it can let overlapping copies accumulate density.
For complex constructions, keep sRectangle focused on the primitive and build downstream: sGrid/sDuplicate for repetition, sBoolean/sMerge for compound silhouettes, sChangeStyle for style overrides and sTransform for object-level motion.
Do not confuse sRectangle with the classic Rectangle Mask simply because the silhouettes look similar. sRectangle outputs Shape data for the Shape system; Rectangle Mask outputs a mask stream used to limit image tools.
For a normal UI card, establish Width/Height first, then Corner Radius, then Style. Add Angle, animation and downstream image effects only after the silhouette is approved so causality remains clear.
For a frame or write-on workflow, use Solid Off, then set Border Width and Border Style, lower Length below 1.0, choose a Cap Style and finally animate Position and Length independently.
Judge thin borders, rounded joins and cap details after sRender at 100% Viewer zoom. Fit-to-view can hide antialiasing and edge differences that matter at delivery resolution.
If the entire finished panel must move or scale as one object with downstream decorations, using sTransform after the generator is often cleaner than mixing object motion into Width/Height/Offset keyframes.
Production QC should include RGB and Alpha Viewer checks, Solid On/Off A/B, Corner Radius zero versus rounded, Length 1 versus below 1, and Allow Combining on intentional overlap so topology, style and raster-edge issues stay separable.
When to use it
- Rounded title cards and Text+ plates
- Lower-third panels and UI blocks
- Thin rectangular frames and HUD contours
- Pill or capsule badges with a high Corner Radius
- Write-on frames with Solid Off plus Length/Position
- Repeated cards through sGrid or sDuplicate
- Compound shapes through sBoolean or sMerge
- Vector layout that remains editable until sRender
Article screenshots
Inputs & outputs
sRectangle: internal Shape generator with no inputs → Shape Output
sRectangle starts a Shape branch by itself: there is no source/input connector. Width/Height/Corner Radius, fill/outline behavior and Style are created inside the node, and the only external stream is Shape Output, which remains vector data until sRender.
Generates a parametric rectangle or rounded/pill Shape without an input image or incoming Shape geometry.
Internal rectangular Shape generator Width/Height/Corner Radius plus Offset/Angle create the primitive path; Solid/Border/Cap/Position/Length define filled/outline presentation; Style defines RGBA/Opacity and overlap behavior.
Inputs
Not listed yet; absence of a port has not been confirmed
Outputs and destination
Shape Output
Vector Shape data for the rectangular primitive including geometry, outline state and Style; it is not yet an RGBA raster image.
Next step: sRender · sGrid · sDuplicate · sBoolean · sMerge · sTransform · sChangeStyle
Use sRender before ordinary Merge/MediaOut compositing. Do not connect MediaIn, Rectangle Mask or another Shape node into sRectangle because the generator has no external inputs.
- Shape Output
- Vector Shape data for the rectangle including primitive geometry, outline state and Style. It is not an RGBA image; use sRender before ordinary image compositing, or keep processing it with other Shape nodes first.
Processing order
- sRectangle creates the rectangle path inside the node; no incoming cable is required.
- Width/Height/Corner Radius and Offset/Angle define primitive geometry and placement.
- Solid selects the filled or outline branch; Solid Off reveals Cap Style, Position and Length.
- Style defines Color/RGBA/Opacity and Allow Combining for self-overlap alpha behavior.
- Shape Output sends vector data to sGrid/sDuplicate/sBoolean/sTransform/sChangeStyle or directly to sRender.
Minimal Shape branch
sRectangle.Shape Output → sRender.Input1 → MediaOut
sRectangle starts the branch on its own; sRender is the first point where the rectangular vector Shape becomes a raster image.
sRectangle = zero-input Shape generator. Position/Length belong to the open outline, X/Y Offset translate the whole shape, and rasterization happens only at sRender.
Parameters
sRectangle · Inspector reference
Keep topology, fill/outline, primitive geometry and Style separate. sRectangle is an input-less generator: the rectangle path is created internally; Solid switches the filled/outline branch; conditional Cap Style/Position/Length control an open stroke; Width/Height/Corner Radius define the primitive; Shape Output remains vector data until sRender.
- Topology
- 0 inputs → Shape Output
- Fill / outline
- Solid · Border · Cap · Position · Length
- Primitive
- Offset · Width · Height · Radius · Angle
- Style
- Color · Alpha · Opacity · Combining
- Raster QC
- sRender · 100% · playback
Fill / Outline · Fill / outline
Solid selects the filled/outline branch. Border Style changes joins, Cap Style changes free ends, and Position/Length control the location and extent of an open contour.
- Solid
Fill / Outline > SolidSwitches between a filled rectangle and outline mode. Solid On fills the interior with the Style color. Solid Off makes the center transparent and reveals Cap Style, Position and Length for open-outline workflows.
Check / distinguish: If Position and Length are missing, verify Solid first because these controls are conditional.
- Border Width
Fill / Outline > Border WidthControls the thickness or expansion of the rectangle border. It can be used with Solid On, but its role is clearest in outline mode. With Solid Off and zero width, the visible stroke can disappear.
Check / distinguish: Judge thin borders after sRender at 100% Viewer zoom.
- Border Style: Bevel / Round / Miter
Fill / Outline > Border Style: Bevel / Round / MiterChooses how the rectangle sides join at corners. Bevel cuts the join, Round rounds the join, and Miter preserves a pointed join. This is a stroke-join decision, not the same as Corner Radius.
Check / distinguish: Compare the three modes at a visible Border Width with Corner Radius at 0.
- Cap Style: Flat / Round / Square
Fill / Outline > Cap Style: Flat / Round / SquareControls the free ends of an open outline and appears with Solid Off. Flat, Round and Square become easy to see only when Length is below 1.0 and the outline has two exposed ends.
Check / distinguish: Set Length around 0.6–0.8 before comparing cap styles.
- Position
Fill / Outline > PositionMoves the gap or starting point along the outline and appears with Solid Off. Position works with Length and does not translate the rectangle as a whole. Use X/Y Offset for layout translation.
Check / distinguish: Lock Length and change only Position to isolate gap movement.
- Length
Fill / Outline > LengthControls the visible extent of the outline and appears with Solid Off. Length 1.0 closes the contour; lower values create a gap. Keyframes provide a procedural write-on around the rectangle.
Check / distinguish: Approve a static open outline before adding write-on keyframes.
- Generator has no inputs
Flow > sRectangleThe official Shape reference classifies sRectangle as a generator and explicitly states that it has no external inputs. An incoming Image/Shape cable in the basic topology would be fabricated.
Check / distinguish: Inspect the Flow: sRectangle has no source boxes, only Shape Output.
- Shape Output stays vector
Flow > Shape OutputsRectangle output remains Shape data and can feed sGrid/sDuplicate/sBoolean/sTransform. An ordinary raster image appears only after sRender.
Check / distinguish: Trace the data type from the generator to sRender.Input1.
- Solid selects the branch
Controls > SolidSolid On fills the rectangle with the Style color; Solid Off leaves an outline with a transparent interior and reveals open-stroke controls.
Check / distinguish: A/B Solid On/Off with unchanged Width/Height.
- Hidden controls are conditional
Controls > Solid OffCap Style, Position and Length belong to the outline mode with Solid off. They are hidden in the filled-state illustration.
Check / distinguish: Disable Solid and confirm the three controls appear in a live build.
- Border Width works with both branches
Controls > Border WidthBorder Width is available with Solid On as well, but it is easiest to read with Solid Off where the stroke is the primary visible geometry.
Check / distinguish: Compare Border Width 0 and a non-zero value at the same Solid state.
- Border Style = Bevel
Controls > Border StyleBevel cuts the corner join. It is not Corner Radius and not a cap style.
Check / distinguish: Set Corner Radius to 0 with a thick border and compare the first icon against Miter.
- Border Style = Round
Controls > Border StyleRound rounds the stroke join at the corner. It can resemble Corner Radius visually, but it changes the join rather than the base rectangle path.
Check / distinguish: Compare Round with Corner Radius at 0, then the same border with Radius above 0.
- Border Style = Miter
Controls > Border StyleMiter preserves a pointed join and most clearly exposes the geometric corner on a thick outline.
Check / distinguish: Inspect a sharp corner with Corner Radius 0 at 100% Viewer.
- Cap Style needs an open path
Controls > Cap StyleCap Style applies to the two free ends of the outline. At Length = 1.0 the contour is closed and the cap is not visually readable.
Check / distinguish: Set Length to 0.7 before comparing caps.
- Flat cap
Controls > Cap StyleFlat terminates the stroke at the endpoint without an extra projection.
Check / distinguish: Compare a free end at one fixed Border Width.
- Round cap
Controls > Cap StyleRound adds a semicircular free end and usually looks softer in UI/write-on graphics.
Check / distinguish: Compare against Flat with Length below 1.0.
- Square cap
Controls > Cap StyleSquare produces a straight end that projects roughly half a line width beyond the endpoint.
Check / distinguish: Inspect end position on a thick border.
- Length 1.0 closes the outline
Controls > LengthLength = 1.0 corresponds to a closed rectangular outline; the gap disappears and caps lose their visual role.
Check / distinguish: Compare 1.0 and 0.7 without changing Position.
- Position moves the gap
Controls > PositionPosition moves the start/gap along the perimeter on an open outline. It does not move the entire rectangle in the frame.
Check / distinguish: Lock Length and X/Y Offset; change only Position.
- Length creates write-on
Controls > LengthKeyframing Length changes the visible extent of the outline and creates procedural write-on without manual spline animation.
Check / distinguish: Play a transition from a short segment to 1.0.
- 100% Viewer is the edge QC boundary
Viewer > 100% after sRenderThin borders, miter joins, round caps and rounded corners can look similar in fit-to-view. Perform final edge QC on the raster output at 100%.
Check / distinguish: Inspect one corner and both free ends at target resolution.
- Playback is required for write-on
Viewer > playbackA still frame does not reveal temporal interpolation of Position/Length. Write-on QC should include real-time playback and frame-stepping around keyframes.
Check / distinguish: Inspect gap speed 2–3 frames before and after each key.
Geometry · Geometry
X/Y/Z Offset, Width, Height, Corner Radius and Angle change the primitive/layout. Do not confuse them with Position/Length along the outline.
- X Offset
Geometry > X OffsetTranslates the whole rectangle horizontally in normalized space. 0.0 is the centered baseline on X. This is whole-shape translation and is independent from Position along the outline.
Check / distinguish: Change only this control from its default state and compare before/after.
- Y Offset
Geometry > Y OffsetTranslates the whole rectangle vertically. Use it for layout placement rather than compensating for Width/Height or outline Position.
Check / distinguish: Change only this control from its default state and compare before/after.
- Z Offset [3D]
Geometry > Z Offset [3D]Applies a depth offset in depth-compatible Shape workflows. The captured Controls panel shows 0.0. Keep it neutral for a normal 2D card unless depth behavior is intentional.
Check / distinguish: Change only this control from its default state and compare before/after.
- Width
Geometry > WidthSets the horizontal size of the rectangle. Width works independently from Height. Together they define the base primitive before Corner Radius and downstream transforms.
Check / distinguish: Change only this geometry control and compare position, scale and result bounds.
- Height
Geometry > HeightSets the vertical size of the rectangle. Equal Width and Height create a square baseline; unequal values create a rectangle or panel.
Check / distinguish: Change only this geometry control and compare position, scale and result bounds.
- Corner Radius
Geometry > Corner RadiusParametrically rounds all four rectangle corners. 0.0 keeps sharp corners. High values turn a square toward a circle-like silhouette and an elongated rectangle toward a pill or capsule.
Check / distinguish: Do not confuse Corner Radius with Round Border Style; they modify different geometry layers.
- Angle
Geometry > AngleRotates the rectangle around its center. Angle rotates the entire primitive. It does not move the outline gap and is not a substitute for Position.
Check / distinguish: Change only this geometry control and compare position, scale and result bounds.
- Corner Radius is not Border Style
Controls > Corner RadiusCorner Radius changes the rectangular primitive itself; Border Style changes the stroke join. The two controls can round an edge for different reasons.
Check / distinguish: A/B only one control at a time.
- X Offset is whole-shape translation
Controls > X OffsetX Offset translates the entire rectangle horizontally; this is a different level from Position along the perimeter.
Check / distinguish: Keep Position fixed and change only X Offset.
- Y Offset is whole-shape translation
Controls > Y OffsetY Offset translates the entire rectangle vertically without changing Width/Height or Length.
Check / distinguish: Compare center placement before and after Y Offset.
- Offsets are normalized
Controls > X/Y OffsetThe Shape reference describes normalized placement: 0.0 is the center baseline and X 0.5 moves the shape center to the right frame edge.
Check / distinguish: Test X 0.0 and 0.5 with unchanged geometry.
- Z Offset is depth-compatible
Controls > Z Offset [3D]Z Offset [3D] is present in the captured UI. Keep it at 0 in a flat 2D card workflow unless depth behavior is deliberately required.
Check / distinguish: Do not use Z Offset to compensate for X/Y placement errors.
- Width and Height are independent
Controls > Width / HeightWidth and Height independently change primitive dimensions; equal values produce a square baseline while unequal values produce a rectangle/panel.
Check / distinguish: Change one dimension while holding the other fixed.
- Captured 0.5 / 0.5 is evidence
Controls > Width / HeightThe screenshot shows Width/Height = 0.5. This is a saved UI state useful for verification, not a universal default contract.
Check / distinguish: Use the capture for verification but do not hard-code default assumptions into the workflow.
- Corner Radius 0 is sharp
Controls > Corner RadiusCorner Radius 0.0 preserves sharp rectangular corners and is a useful diagnostic baseline for Border Style.
Check / distinguish: Verify 0.0 first, then raise radius independently.
- High radius approaches pill / circle
Controls > Corner RadiusA high Corner Radius rounds the primitive: a square approaches a circle-like silhouette while a wide rectangle approaches a pill/capsule.
Check / distinguish: Compare a square and a wide rectangle at the same high radius.
- Angle rotates the whole primitive
Controls > AngleAngle rotates the entire rectangle around its center. It does not move the gap around the perimeter and does not replace Position.
Check / distinguish: Lock Length/Position and change only Angle.
- sRectangle is not Rectangle Mask
Topology > data typeA similar shape does not make the tools interchangeable. sRectangle outputs Shape data; Rectangle Mask outputs a mask stream for limiting image tools.
Check / distinguish: Check the downstream target: sRectangle → Shape node/sRender, Rectangle Mask → mask socket.
- Keep the vector pipeline upstream
Workflow > before sRendersGrid/sDuplicate/sBoolean/sTransform/sChangeStyle are usually best performed before sRender. Early rasterization gives up direct Shape editability.
Check / distinguish: Compare graphs with early versus late sRender.
- Captured Controls are UI evidence
Controls > captured valuesSolid On, Border Width 0.0, offsets 0.0, Width/Height 0.5, Corner Radius 0.0 and Angle 0.0 are confirmed by the screenshot. They should not automatically be called factory defaults.
Check / distinguish: Keep 'captured value' distinct from 'default' in prose and practice.
- Version-sensitive outline behavior needs regression
Versioning > Shape outlineFor production templates with animated Length/Position, tight miter joins or alpha overlap, save reference frames before upgrading Resolve.
Check / distinguish: After upgrading compare gap interpolation, corners, caps and alpha overlap against the reference.
Style · Style
Color/RGBA, Opacity and Allow Combining define authored appearance and alpha-overlap behavior before rasterization.
- Color
Style > ColorThe main authored Shape color on the Style tab. The swatch/eyedropper and numeric RGBA controls are two interfaces to the same Style color.
Check / distinguish: Change only this control from its default state and compare before/after.
- Red
Style > RedRed channel of the Style color. The captured Style panel shows 1.0; use the numeric channel when repeatable color values matter.
Check / distinguish: Isolate the target channel in Viewer and change one operation at a time.
- Green
Style > GreenGreen channel of the Style color. The captured Style panel shows 1.0; treat this as saved-state evidence rather than a universal default.
Check / distinguish: Isolate the target channel in Viewer and change one operation at a time.
- Blue
Style > BlueBlue channel of the Style color. The captured Style panel shows 1.0; treat RGB as one authored color set.
Check / distinguish: Isolate the target channel in Viewer and change one operation at a time.
- Alpha
Style > AlphaAlpha component of the authored Style color. This is one transparency stage. Opacity provides a separate overall attenuation stage.
Check / distinguish: Compare RGB and Alpha separately before and after changing this control.
- Opacity
Style > OpacityOverall opacity of the Shape style. For diagnosis, keep either Alpha or Opacity neutral while changing the other so transparency is not compounded.
Check / distinguish: Compare RGB and Alpha separately before and after changing this control.
- Allow Combining
Style > Allow CombiningControls alpha behavior when Shape copies overlap themselves. With combining enabled, authored alpha is preserved through self-overlap; disabling it can let overlaps accumulate alpha. This is not a boolean geometry operation.
Check / distinguish: Test on a semi-transparent overlapping sGrid or sDuplicate result in Alpha Viewer.
- Color and RGB are one Style
Style > Color / RGBThe swatch/eyedropper and Red/Green/Blue are two interfaces to one authored Shape color, not independent color layers.
Check / distinguish: Change the swatch and confirm the numeric RGB values follow.
- Alpha versus Opacity
Style > Alpha / OpacityAlpha is the authored color alpha channel; Opacity is a separate overall attenuation. Lowering both compounds transparency.
Check / distinguish: A/B Alpha 0.5 / Opacity 1.0 against Alpha 1.0 / Opacity 0.5.
- Allow Combining preserves authored alpha
Style > Allow CombiningWhen On, authored alpha is preserved through downstream self-overlap copies; when Off, overlaps can become denser.
Check / distinguish: Alpha 0.5 → overlapping sGrid → Alpha Viewer; compare On/Off.
- Allow Combining is not sBoolean
Style > Allow CombiningThe flag does not perform Union/Subtract/Intersect and does not change geometry topology. Use sBoolean/sMerge for geometry logic.
Check / distinguish: Compare a graph with sBoolean against the same graph using only Allow Combining.
- Captured Style values are UI evidence
Style > captured valuesRGB/A 1.0, Opacity 1.0 and Allow Combining On are visible in the capture. This confirms the UI state, not guaranteed defaults across builds.
Check / distinguish: Inspect the seven Style settings on the current shape and compare their effects.
Before adjusting the node
- sRectangle is a Shape generator with no input sockets; the branch begins at the node itself.
- Solid Off reveals Cap Style, Position and Length; a Solid On screenshot does not prove those controls are absent.
- Border Style and Corner Radius solve different problems: join style versus base rectangular geometry.
- Position moves the gap along the outline; X/Y Offset move the entire rectangle.
- Length = 1.0 closes the outline; values below 1.0 create a gap and free ends for Cap Style.
- Diagnose Alpha and Opacity separately to avoid compounding attenuation.
- Allow Combining controls alpha overlap behavior; it is not an sBoolean operation.
- Judge final corners/caps after sRender at 100%, and evaluate write-on in playback.
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
Build a rounded card with no source input
Prove sRectangle as a zero-input Shape generator, then isolate Width/Height, Corner Radius, Angle and Style before rasterization in sRender.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1; sRectangle zero-input generator topology, outline controls and Style cross-checked against the Resolve 21 Shape Nodes reference plus the captured Controls/Style Inspector used by this article · Free / Studio; native Shape nodes only · Windows target; live Resolve execution not run in this package
1920 × 1080 · 24 fps · 144 frames · Fusion Shape data until sRender; Rec.709 Gamma 2.4 image output after sRender
- Native sRectangle, sGrid and sRender Shape nodes
Nodes and connections
RECT— ROUNDED CARD · sRectangleRENDER— RENDER · sRender
| Source | Destination | Data |
|---|---|---|
ROUNDED CARD (RECT)Shape | RENDER (RENDER)Input1 | shape |
Graph output: RENDER (RENDER)
Parameter values
- ROUNDED CARD (RECT) / Controls / Solid
trueKeep the first exercise in filled mode so the outline-only controls remain outside the baseline.
- ROUNDED CARD (RECT) / Controls / Border Width
0Start from the captured border-free geometry so Corner Radius can be judged independently.
- ROUNDED CARD (RECT) / Controls / X Offset
0Keep horizontal placement centered.
- ROUNDED CARD (RECT) / Controls / Y Offset
0Keep vertical placement centered.
- ROUNDED CARD (RECT) / Controls / Z Offset [3D]
0Keep depth neutral in the 2D exercise.
- ROUNDED CARD (RECT) / Controls / Width
0.56Use a wide card-like rectangle so rounded corners are easy to evaluate.
- ROUNDED CARD (RECT) / Controls / Height
0.22Use a lower height to make the difference between rounded rectangle and square obvious.
- ROUNDED CARD (RECT) / Controls / Corner Radius
0.18Introduce a clear rounded-card silhouette without collapsing into a pill.
- ROUNDED CARD (RECT) / Controls / Angle
0Begin from an unrotated geometry baseline.
- ROUNDED CARD (RECT) / Style / Red
1Captured white Style baseline.
- ROUNDED CARD (RECT) / Style / Green
1Captured white Style baseline.
- ROUNDED CARD (RECT) / Style / Blue
1Captured white Style baseline.
- ROUNDED CARD (RECT) / Style / Alpha
1Keep authored color alpha opaque while geometry is diagnosed.
- ROUNDED CARD (RECT) / Style / Opacity
1Keep overall opacity neutral so Alpha is not compounded.
- ROUNDED CARD (RECT) / Style / Allow Combining
trueMatch the captured Style state and preserve authored alpha in later overlap tests.
Reproduce the example
- Add sRectangle and connect Shape Output directly to sRender.Input1. Do not create MediaIn or connect another Shape node into sRectangle.
sRectangle is a generator with no external inputs; sRender is only needed to convert vector Shape data into a visible raster.
Check: The Flow contains only RECT.Shape → RENDER.Input1 and RECT has no incoming connections.
- First compare Width/Height with Corner Radius at 0, then restore the card proportions and raise only Corner Radius. Test Angle last.
This keeps dimensions, rounding and rotation from changing at once, making each control's contribution obvious.
Check: Width/Height change dimensions; Corner Radius rounds the same rectangle; Angle then rotates the finished shape without changing its proportions.
- Keep Alpha/Opacity at 1.0, set Color/RGB, and inspect the filled rounded silhouette in both RGB and Alpha Viewer after sRender.
Style remains part of Shape data until rasterization; final edge/alpha QC belongs at the sRender output.
Check: The interior is opaque, rounded corners are smooth, and the alpha boundary matches the visible silhouette.
Expected result
- RENDER (RENDER) · frame 96
A clean rounded card generated without a source input; the shape stays vector upstream and sRender produces the first raster image.
Alpha: With Alpha = 1 and Opacity = 1 the card interior is opaque while transparency stays outside the silhouette with an antialiased edge after sRender.
When the result differs
- The Flow appears to imply that sRectangle should receive a Shape/Input from the left.
Cause: The old article incorrectly drew a Shape Input even though sRectangle is a generator with no external inputs.
Correction: Remove the incoming cable and start the branch with sRectangle.Shape → sRender.Input1 or a downstream Shape modifier.
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Shape Nodes / sRectangle
Fusion Page Effects > Shape Nodes > sRectangle: generator with no inputs; Solid/Border/Corner Radius geometry; conditional Cap Style, Position and Length when Solid is disabled; Style/Allow Combining; Shape output viewed through sRender.
Open the frame, animate write-on, and test Allow Combining
Reveal conditional Cap Style/Position/Length with Solid Off, separate Border Style from Corner Radius, and test semi-transparent overlap through sGrid.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1; sRectangle zero-input generator topology, outline controls and Style cross-checked against the Resolve 21 Shape Nodes reference plus the captured Controls/Style Inspector used by this article · Free / Studio; native Shape nodes only · Windows target; live Resolve execution not run in this package
1920 × 1080 · 24 fps · 144 frames · Fusion Shape data until sRender; Rec.709 Gamma 2.4 image output after sRender
- Native sRectangle, sGrid and sRender Shape nodes
Nodes and connections
RECT— OPEN FRAME · sRectangleGRID— OVERLAP GRID · sGridRENDER— RENDER · sRender
| Source | Destination | Data |
|---|---|---|
OPEN FRAME (RECT)Shape | OVERLAP GRID (GRID)Input1 | shape |
OVERLAP GRID (GRID)Shape | RENDER (RENDER)Input1 | shape |
Graph output: RENDER (RENDER)
Parameter values
- OPEN FRAME (RECT) / Controls / Solid
falseDisable fill so conditional outline controls are exposed and the center becomes transparent.
- OPEN FRAME (RECT) / Controls / Border Width
0.025Use a clearly visible outline for join and cap comparisons.
- OPEN FRAME (RECT) / Controls / Border Style
"Miter"Keep a pointed join baseline so Corner Radius and Border Style do not both round the corners.
- OPEN FRAME (RECT) / Controls / Cap Style
"Round"Rounded free ends make the open Length segment easy to inspect.
- OPEN FRAME (RECT) / Controls / Position
0.12Move the gap away from the start so Position has a visible role.
- OPEN FRAME (RECT) / Controls / Length
0.72Keep the outline open so free ends and Cap Style are visible.
- OPEN FRAME (RECT) / Controls / Width
0.24Use a compact frame so several copies can overlap.
- OPEN FRAME (RECT) / Controls / Height
0.16Keep a rectangular aspect to make orientation and corners obvious.
- OPEN FRAME (RECT) / Controls / Corner Radius
0Keep primitive corners sharp while Border Style is being evaluated.
- OPEN FRAME (RECT) / Style / Alpha
0.5Semi-transparent style makes overlap accumulation measurable.
- OPEN FRAME (RECT) / Style / Opacity
1Keep Opacity neutral so Alpha and Allow Combining remain the variables under test.
- OPEN FRAME (RECT) / Style / Allow Combining
trueStart from preserved authored alpha in overlapping copies.
- OVERLAP GRID (GRID) / Controls / Grid Cells X / Y
[4,3]A compact array creates several intersections for alpha diagnostics.
- OVERLAP GRID (GRID) / Controls / X / Y Offset
[0.15,0.1]Offsets smaller than the rectangle footprint force controlled overlap.
Reproduce the example
- Disable Solid and confirm that Cap Style, Position and Length appear. With Corner Radius at 0 and Length at 0.72, compare Bevel/Round/Miter, then Flat/Round/Square.
Border Style changes joins while Cap Style changes free ends; Corner Radius is deliberately neutral so a third source of rounding is not mixed into the test.
Check: Corners change with Border Style while the two gap ends change with Cap Style; the outline interior remains transparent.
- With Length fixed, change only Position; then restore Position and keyframe Length from a short segment toward 1.0.
Position moves the gap around the perimeter while Length changes visible extent. Testing separately keeps path position distinct from write-on extent.
Check: Position moves the opening without X/Y translation of the whole shape; Length progressively closes the outline and returns a closed frame at 1.0.
- Keep Alpha at 0.5 and Opacity at 1.0, create an overlapping sGrid, and A/B Allow Combining On/Off in the Alpha Viewer.
Allow Combining concerns alpha behavior under self-overlap rather than geometric boolean logic. Overlapping copies make the difference measurable.
Check: On preserves authored alpha through overlap according to Shape combining behavior; Off allows intersections to become denser.
Expected result
- RENDER (RENDER) · frame 96
An open rectangular frame with controlled joins/caps, clear Position/Length write-on behavior, and diagnosable alpha overlap after sGrid.
Alpha: Alpha 0.5 is a diagnostic value: Allow Combining On preserves authored alpha through overlap while Off lets intersections compound density.
When the result differs
- Cap Style, Position and Length are absent from the Inspector.
Cause: Solid is still enabled; sRectangle exposes these controls in outline mode.
Correction: Disable Solid and set Length below 1.0 so the gap and cap ends become visible.
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Shape Nodes / sRectangle
Fusion Page Effects > Shape Nodes > sRectangle: generator with no inputs; Solid/Border/Corner Radius geometry; conditional Cap Style, Position and Length when Solid is disabled; Style/Allow Combining; Shape output viewed through sRender.
Other outlines from the article
Rounded title card
Use Width/Height and Corner Radius to build a filled vector panel, then sRender it behind Text+.
- sRectangle
- sRender
- Merge
- Text+
Pill badge
A wide rectangle with a high Corner Radius produces a capsule or pill without manual spline editing.
- sRectangle: Wide + high Corner Radius
- sRender
- Merge
Write-on frame
Solid Off plus Border Width, Length and Position creates an open rectangular outline that can draw itself procedurally.
- sRectangle: Solid Off
- Length / Position
- sRender
Grid of UI cards
Keep one rectangle as the source primitive, replicate it with sGrid in the Shape domain, and rasterize only once at the end.
- sRectangle
- sGrid
- sRender
Boolean panel cutout
Combine or subtract sRectangle with sEllipse/sPolygon through sBoolean while the silhouette remains editable vector Shape data.
- sRectangle + sEllipse
- sBoolean
- sRender
Reusable transformed panel
Keep primitive construction in sRectangle and place object-level motion in downstream sTransform so geometry and animation stay separate.
- sRectangle
- sTransform
- sChangeStyle
- sRender
Mistakes
- Drawing a Shape Input on sRectangle even though the generator has no external inputs
- Connecting MediaIn to sRectangle as if it were an image processor
- Expecting Shape Output to behave like a normal image without sRender
- Confusing sRectangle Shape with the classic Rectangle Mask because the silhouettes look similar
- Looking for Position/Length with Solid On and assuming the controls do not exist
- Comparing Cap Style at Length 1.0 when there are no free ends
- Treating Position as X/Y Offset even though Position moves the gap while Offset moves the whole shape
- Treating Round Border Style as the same thing as Corner Radius
- Changing Corner Radius and Border Style together and then losing causality
- Using Angle to move the outline gap instead of Position
- Lowering Alpha and Opacity together without isolating the transparency stages
- Treating Allow Combining as a geometry boolean instead of alpha-overlap behavior
- Rasterizing through sRender too early before sGrid, sDuplicate or sBoolean
- Judging a thin Border Width only in fit-to-view
- Presenting captured Width/Height 0.5 and Corner Radius 0.0 as guaranteed factory defaults
- Forcing a complex custom contour out of rectangles when sPolygon or sBSpline is the better primitive
- Using Rectangle Mask when downstream Shape processing through sGrid/sBoolean/sChangeStyle is required
- Reviewing write-on on a single still frame instead of playback and frame stepping
Tips
- Start the minimal graph with sRectangle → sRender so the zero-input topology is obvious.
- For a rounded UI card, establish Width/Height first, then Corner Radius, then color and animation.
- For a clean Border Style comparison, keep Corner Radius at 0 and use a visible Border Width.
- Judge Cap Style only on an open contour with Length below 1.0.
- Animate Position and Length independently: one moves the gap, the other changes the visible extent.
- For a pill shape, make Width larger than Height and raise Corner Radius instead of drawing a spline manually.
- For object-level animation, a downstream sTransform is often cleaner than keyframing Width/Height/Offset inside the generator.
- Build one sRectangle and replicate it with sGrid or sDuplicate when many identical cards are needed.
- Use sBoolean before sRender for holes and compound geometry.
- Use sChangeStyle downstream when several Shape elements need a shared style override.
- Inspect RGB and Alpha separately because a rounded edge can look fine in RGB while the alpha boundary is poor.
- A/B Allow Combining in Alpha Viewer when semi-transparent copies overlap.
- Treat screenshots as UI-state evidence rather than proof of universal defaults.
- Keep Z Offset neutral in ordinary 2D motion graphics unless depth behavior is part of the design.
- Keep the Shape pipeline vector as long as practical; image effects such as Glow or Blur normally belong after sRender.
- Before delivery, inspect border joins, caps and rounded corners after sRender at 100% and target resolution.
Workflow order
- Add sRectangle as the start of the Shape branch; no MediaIn or Shape source is required.
- Connect Shape Output directly to sRender for the minimal diagnostic topology.
- Keep Solid On and establish Width/Height as the base rectangular geometry.
- Test Corner Radius separately from Border Style, starting with Border Width at 0.
- Adjust X/Y Offset only after size and proportions are approved.
- Add Angle separately so rotation does not hide a placement problem.
- On the Style tab set Color/RGB while keeping Alpha and Opacity at 1.0 for the first pass.
- Inspect the filled silhouette after sRender in RGB and Alpha Viewer.
- For a frame, disable Solid and confirm that Cap Style, Position and Length appear.
- Set Border Width and compare Bevel, Round and Miter with Corner Radius at 0.
- Lower Length below 1.0 so the free ends are visible and Cap Style can be judged.
- Compare Flat, Round and Square at the same Border Width.
- Lock Length and change Position; the gap should move along the outline without translating the whole shape.
- Restore Position and keyframe Length for write-on from a short segment to a closed 1.0 outline.
- For a pill or rounded card, return to Solid On and raise Corner Radius only after Width/Height are established.
- Route Shape Output through sGrid or sDuplicate before sRender when repetition is required.
- Use sBoolean or sMerge before rasterization for compound silhouettes.
- Use sChangeStyle downstream when a shared style override is cleaner than duplicating geometry.
- Test Allow Combining separately on deliberate semi-transparent overlap.
- Perform final QC after sRender at target resolution, 100% Viewer zoom, and playback for write-on animation.
