Oink
Roto 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

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 .nk script import with the node.

NodeRoto
MenuDraw › Roto
Names in each format
.oink comp (JSON)"type": "OC_N_roto"
.nk scriptRoto (how .nk import works)
Pythonnuke.createNode("Roto")
Assistant (MCP)create_node(type="Roto")
Tab searchroto

Roto properties

Inputs and outputs

PortNameType
input 0Sourceimage
output 0Maskimage

Knobs

Panel tab Roto, in panel order.

KnobLabelTypeDefaultRange / values.nk 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 / values.nk 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

On this page