Oink
Nodes

Roto

Roto: in the Viewer pick Bezier or B-spline (V), click points (drag = smooth tangent), click the first point or Enter to close.

raw .md

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.

NodeRoto
Type idOC_N_roto
MenuDraw › Roto
Nuke classRoto
Codeopencomp_core/nodes/draw/roto.py

Roto properties

Inputs and outputs

PortNameType
input 0Sourceimage
output 0Maskimage

Knobs

Panel tab Roto, in panel order.

KnobLabelTypeDefaultRange / valuesNuke knobDescription
outputoutputtextalphaoutputalpha, rgb, rgba, <layer> or <layer>.<channel>
premultiplypremultiplymenunonenone, rgbapremultiply
replacereplaceboolfalsereplaceClear the output channels before drawing the shapes
autokeyautokeybooltrueEditing a shape sets a key on the current frame
shuttershutterfloat0.50 to 2
shutter_offsetshutter offsetmenuCENTREDSTART (start), CENTRED (centred), END (end)
motionblur_samplesmblur samplesfloat82 to 64 (integer)
output_widthformat wfloat00 to 16384 (integer)Format when nothing is connected (0 = project format)
output_heightformat hfloat00 to 16384 (integer)

Other knobs (Python, .nk and the assistant; not on the panel)

KnobLabelTypeDefaultRange / valuesNuke knobDescription
gl_colorViewer Controls Colorfloat ×30, 0, 00 to 1
postage_stamp_frameStatic Frameint1-2147483648 to 2147483647
lifetimeStartLifetime Startint0-2147483648 to 2147483647
lifetimeEndLifetime Endint100-2147483648 to 2147483647
useLifetimeUse Lifetimebooleanfalse
cachedCachedbooleanfalse
bookmarkBookmarkbooleanfalse
dope_sheetDope Sheetbooleanfalse
clone_groupClone Groupstring
link_sourceLink Sourcestring
link_overridesLink Overridesstring
split_viewsSplit Viewsstring
roto_dataShapesstring
smart_dataSmart Rotostring

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.

On this page