Skip to content

Nodes · Masks

RotoPaint

Masksv1coreNeeds full input

Overview

The paint-out tool: paint, clone and reveal over the plate, frame by frame. Clone from the plate elsewhere, from another frame (a time offset paints out someone walking through with the background from when they weren't there) or from another shot wired into source1-4, through a source transform. Every stroke has a lifetime, single-frame by default; the painted layer is a matte of the fix.

Inputs

InputWhat it takes
bga clean background to reveal (optional — without one the node estimates it and says so)
source1—
source2—
source3—
source4—
masklimits the effect to this matte — the engine's universal mask slot, applied for every node that declares it

Outputs

OutputType
outImage

Parameters

ParameterTypeDefaultWhat it does
strokesTextThe strokes, as data: brush, points with pressure, lifetime, source. One undo each. Edited by painting, not by hand.
brushChoicepaintThe next stroke's brush. paint lays colour; eraser puts the plate back; clone and reveal paint from the source; blur, sharpen, smear, dodge and burn work on what is already there. painteraserclonerevealblursharpensmeardodgeburn
brush_colorColor[1.0, 1.0, 1.0, 1.0]The colour the paint brush lays.
brush_sizeFloat40.0Brush diameter in pixels.
brush_hardnessFloat0.5How hard the brush's edge is: 1 is crisp, 0 fully feathered.
brush_opacityFloat1.0How strongly a stroke lands.
brush_flowFloat1.0How much each dab adds: below 1, overlapping dabs build up; at 1 a stroke is even.
brush_spacingFloat0.1Distance between dabs as a fraction of the size.
brush_amountFloat0.5How strong blur, sharpen, smear, dodge and burn are. For dodge and burn it is stops of exposure at the brush's centre.
pressureChoicesizeWhat the pen's pressure drives: the size, the opacity, both, or nothing. offsizeopacityboth
lifetimeChoicesingleThe frames the next stroke lives on. single: this frame only (how paint-outs are done). all: every frame. range: lifetime_range. to_end: from this frame on. from_start: up to this frame. singleallrangeto_endfrom_start
lifetime_rangeFloat2[1.0, 100.0]First and last frame for a stroke with lifetime = range.
source_inputChoicebgWhere clone and reveal take their pixels: bg (the plate itself) or source1-4 (another shot, a clean plate). bgsource1source2source3source4
source_timeChoiceoffsetoffset: source_frame frames from the frame being painted (-10 = ten frames earlier). frame: always the frame source_frame. offsetframe
source_frameFloat0.0The source's frame offset, or the fixed source frame (see source_time).
source_pointFloat2[0.0, 0.0]Where the clone reads from: Alt-click (or Ctrl-click) in the viewer to set it.
source_rotateFloat0.0Turn the source as it lands, degrees: for matching a patch to the plate's angle.
source_scaleFloat1.0Size the source as it lands: 0.8 lands it at 80 %.
source_flipChoiceoffMirror the source left to right as it lands. offon
source_alignChoicealignedaligned: the source moves with the brush (the usual clone). fixed: every dab reads around the same source point (stamping one patch). alignedfixed
keep_grainChoiceoffon: the plate's grain is measured outside the fix and put back inside the painted matte, so a blurred, smeared or cloned patch does not read as soft. offon
match_colourChoiceoffon: the next clone or reveal stroke is fitted to the plate around it - brightness, contrast and colour, per channel, learned in a ring just outside the stroke - so a patch from another take does not stand out. offon
disabledBoolfalseBypass: the node passes its first input through untouched (D in the graph). The knobs keep their values for when it comes back.
labelTextA note shown under the node in the graph — what this node is FOR. Never affects the render or the cache.
hide_inputBoolfalseDraw the node without its input wire — a tidy graph for a node whose source is obvious (a Dot, a viewer tap).