Oink
Nodes

VectorDistort

VectorDistort: paint or patch the reference frame (Source), connect AIVectorGenerator to SmartVector, and the paint follows the motion through the shot.

raw .md

VectorDistort: 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.

NodeVectorDistort
Type idOC_N_vectordistort
MenuTransform › VectorDistort
Nuke classnone: saved in .nk files as an Oink node
Codeopencomp_core/nodes/ai/aimotion.py

VectorDistort properties

Inputs and outputs

PortNameType
input 0Sourceimage
input 1SmartVectorimage
output 0Imageimage

Knobs

Panel tab Vectordistort, in panel order.

KnobLabelTypeDefaultRange / valuesNuke knobDescription
reference_framereference framefloat1-100000 to 100000 (integer)
hold_framehold framebooltrueWarp Source at the reference frame (else the current frame)
frame_distanceframe distancemenu11 (1 frame), 2 (2 frames), 4 (4 frames), 8 (8 frames), 16 (16 frames)Largest jump per step (needs smartvector_fNN_v01 layers)
outputoutputmenuwarpedwarped (warped src), stmap (st-map), stmap_inverse (st-map inverse)
occlusionocclusion mattebooltrueDrop pixels that were hidden (or left the frame) on the way
filterfiltermenucubiccubic (Cubic), bilinear (Bilinear)

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

Nuke equivalent

No Nuke class. In a .nk file this node is written as an Oink node that Nuke will not recognise.

On this page