Nodes
RotoPaint
Nuke RotoPaint (P): the Roto shapes, output rgba by default (Nuke 17 RotoPaint).
Nuke RotoPaint (P): the Roto shapes, output rgba by default (Nuke 17 RotoPaint). Paint strokes (brush, clone, reveal, blur, dodge / burn) are not implemented yet: RotoPaint draws the same Bezier / B-spline shapes as Roto.
| Node | RotoPaint |
|---|---|
| Type id | OC_N_rotopaint |
| Menu | Draw › RotoPaint |
| Nuke class | RotoPaint |
| Code | opencomp_core/nodes/draw/roto.py |

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 | Nuke 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 | 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 RotoPaint.
Nuke knobs not in this list import as a knob of the same name, or are kept unchanged for export. See .nk import.