RotoPaint
Nuke RotoPaint (P): the Roto shapes, output rgba by default.
Nuke RotoPaint (P): the Roto shapes, output rgba by default. Paint strokes (brush, clone, reveal, blur, dodge / burn) are not implemented yet: RotoPaint draws the same Bezier / B-spline shapes as Roto.
| Node | RotoPaint |
|---|---|
| Menu | Draw › RotoPaint |
| Names in each format | |
| .oink comp (JSON) | "type": "OC_N_rotopaint" |
| .nk script | RotoPaint (how .nk import works) |
| Python | nuke.createNode("RotoPaint") |
| Assistant (MCP) | create_node(type="RotoPaint") |
| Tab search | rotopaint, or its initials rp |

Inputs and outputs
| Port | Name | Type |
|---|---|---|
| input 0 | Source | image |
| output 0 | Mask | image |
Knobs
Panel tab Rotopaint, in panel order.
| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
output | output | text | rgba | 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 | .nk 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 |