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
| Input | What it takes |
|---|---|
| bg | a clean background to reveal (optional — without one the node estimates it and says so) |
| source1 | — |
| source2 | — |
| source3 | — |
| source4 | — |
| mask | limits the effect to this matte — the engine's universal mask slot, applied for every node that declares it |
Outputs
| Output | Type |
|---|---|
| out | Image |
Parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
| strokes | Text | The strokes, as data: brush, points with pressure, lifetime, source. One undo each. Edited by painting, not by hand. | |
| brush | Choice | paint | The 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_color | Color | [1.0, 1.0, 1.0, 1.0] | The colour the paint brush lays. |
| brush_size | Float | 40.0 | Brush diameter in pixels. |
| brush_hardness | Float | 0.5 | How hard the brush's edge is: 1 is crisp, 0 fully feathered. |
| brush_opacity | Float | 1.0 | How strongly a stroke lands. |
| brush_flow | Float | 1.0 | How much each dab adds: below 1, overlapping dabs build up; at 1 a stroke is even. |
| brush_spacing | Float | 0.1 | Distance between dabs as a fraction of the size. |
| brush_amount | Float | 0.5 | How strong blur, sharpen, smear, dodge and burn are. For dodge and burn it is stops of exposure at the brush's centre. |
| pressure | Choice | size | What the pen's pressure drives: the size, the opacity, both, or nothing. offsizeopacityboth |
| lifetime | Choice | single | The 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_range | Float2 | [1.0, 100.0] | First and last frame for a stroke with lifetime = range. |
| source_input | Choice | bg | Where clone and reveal take their pixels: bg (the plate itself) or source1-4 (another shot, a clean plate). bgsource1source2source3source4 |
| source_time | Choice | offset | offset: source_frame frames from the frame being painted (-10 = ten frames earlier). frame: always the frame source_frame. offsetframe |
| source_frame | Float | 0.0 | The source's frame offset, or the fixed source frame (see source_time). |
| source_point | Float2 | [0.0, 0.0] | Where the clone reads from: Alt-click (or Ctrl-click) in the viewer to set it. |
| source_rotate | Float | 0.0 | Turn the source as it lands, degrees: for matching a patch to the plate's angle. |
| source_scale | Float | 1.0 | Size the source as it lands: 0.8 lands it at 80 %. |
| source_flip | Choice | off | Mirror the source left to right as it lands. offon |
| source_align | Choice | aligned | aligned: the source moves with the brush (the usual clone). fixed: every dab reads around the same source point (stamping one patch). alignedfixed |
| keep_grain | Choice | off | on: 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_colour | Choice | off | on: 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 |
| disabled | Bool | false | Bypass: the node passes its first input through untouched (D in the graph). The knobs keep their values for when it comes back. |
| label | Text | A note shown under the node in the graph — what this node is FOR. Never affects the render or the cache. | |
| hide_input | Bool | false | Draw the node without its input wire — a tidy graph for a node whose source is obvious (a Dot, a viewer tap). |
