VectorDistort
Paint or patch the reference frame (Source), connect AIVectorGenerator to SmartVector, and the paint follows the motion through the shot.
Paint or patch the reference frame (Source), connect AIVectorGenerator to SmartVector, and the paint follows the motion through the shot. Occluded pixels drop out (occlusion matte). st-map outputs give the warp itself. Frame Distance picks how far apart the vectors are; a missing distance falls back to 1 frame.
| Node | VectorDistort |
|---|---|
| Menu | Transform › VectorDistort |
| Names in each format | |
| .oink comp (JSON) | "type": "OC_N_vectordistort" |
| .nk script | none: written as an Oink node |
| Python | nuke.createNode("OC_N_vectordistort") |
| Assistant (MCP) | create_node(type="VectorDistort") |
| Tab search | vectordistort, or its initials vd |

Inputs and outputs
| Port | Name | Type |
|---|---|---|
| input 0 | Source | image |
| input 1 | SmartVector | image |
| output 0 | Image | image |
Knobs
Panel tab Vectordistort, in panel order.
| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
reference_frame | reference frame | float | 1 | -100000 to 100000 (integer) | ||
hold_frame | hold frame | bool | true | Warp Source at the reference frame (else the current frame) | ||
frame_distance | frame distance | menu | 1 | 1 (1 frame), 2 (2 frames), 4 (4 frames), 8 (8 frames), 16 (16 frames) | Largest jump per step (needs smartvector_fNN_v01 layers) | |
output | output | menu | warped | warped (warped src), stmap (st-map), stmap_inverse (st-map inverse) | ||
occlusion | occlusion matte | bool | true | Drop pixels that were hidden (or left the frame) on the way | ||
filter | filter | menu | cubic | cubic (Cubic), bilinear (Bilinear) |
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 |