Roto
Roto: in the Viewer pick Bezier or B-spline (V), click points (drag = smooth tangent), click the first point or Enter to close.
Roto: in the Viewer pick Bezier or B-spline (V), click points (drag = smooth tangent), click the first point or Enter to close. Q = select; drag points / tangents (Ctrl = break); Ctrl+drag a point = feather; Ctrl+Alt+click a curve adds a point; Z / Shift+Z smooth / cusp; E / Shift+E feather; Delete removes points. With autokey on, every edit keys the whole shape on this frame. Import from mask turns a matte (e.g. an AIRoto layer on the input) into animated shapes. A shape can have a lifetime (it shows only between two frames). Shapes, strokes, layer and shape transforms and attributes from a Nuke .nk script import with the node.
| Node | Roto |
|---|---|
| Type id | OC_N_roto |
| Menu | Draw › Roto |
| Nuke class | Roto |
| Code | opencomp_core/nodes/draw/roto.py |

Inputs and outputs
| Port | Name | Type |
|---|---|---|
| input 0 | Source | image |
| output 0 | Mask | image |
Knobs
Panel tab Roto, in panel order.
| Knob | Label | Type | Default | Range / values | Nuke knob | Description |
|---|---|---|---|---|---|---|
output | output | text | alpha | output | alpha, rgb, rgba, <layer> or <layer>.<channel> | |
premultiply | premultiply | menu | none | none, rgba | premultiply | |
replace | replace | bool | false | replace | Clear the output channels before drawing the shapes | |
autokey | autokey | bool | true | Editing a shape sets a key on the current frame | ||
shutter | shutter | float | 0.5 | 0 to 2 | ||
shutter_offset | shutter offset | menu | CENTRED | START (start), CENTRED (centred), END (end) | ||
motionblur_samples | mblur samples | float | 8 | 2 to 64 (integer) | ||
output_width | format w | float | 0 | 0 to 16384 (integer) | Format when nothing is connected (0 = project format) | |
output_height | format h | float | 0 | 0 to 16384 (integer) |
Other knobs (Python, .nk and the assistant; not on the panel)
| Knob | Label | Type | Default | Range / values | Nuke knob | Description |
|---|---|---|---|---|---|---|
gl_color | Viewer Controls Color | float ×3 | 0, 0, 0 | 0 to 1 | ||
postage_stamp_frame | Static Frame | int | 1 | -2147483648 to 2147483647 | ||
lifetimeStart | Lifetime Start | int | 0 | -2147483648 to 2147483647 | ||
lifetimeEnd | Lifetime End | int | 100 | -2147483648 to 2147483647 | ||
useLifetime | Use Lifetime | boolean | false | |||
cached | Cached | boolean | false | |||
bookmark | Bookmark | boolean | false | |||
dope_sheet | Dope Sheet | boolean | false | |||
clone_group | Clone Group | string | ||||
link_source | Link Source | string | ||||
link_overrides | Link Overrides | string | ||||
split_views | Split Views | string | ||||
roto_data | Shapes | string | ||||
smart_data | Smart Roto | string |
Nuke equivalent
Imports from and exports to Nuke's Roto.
Nuke knobs not in this list import as a knob of the same name, or are kept unchanged for export. See .nk import.