Oink
VectorBlur2Source VectorBlur2

VectorBlur2

VectorBlur: motion blur along motion vectors — every pixel is smeared along its u / v vector (uv channels) times motion amount (0.5), over the shutter set by motion offset (-0.5 centres it).

raw .md

VectorBlur: motion blur along motion vectors — every pixel is smeared along its u / v vector (uv channels) times motion amount (0.5), over the shutter set by motion offset (-0.5 centres it). Uniform or gaussian blur type; motion falloff (0.33) softens the ends. The vectors can be offset, inverted, un-premultiplied (uv alpha) or blurred first. Output uvs shows the prepared vectors. Use it after AIVectorGenerator, MotionBlur2D or a render with motion vectors.

NodeVectorBlur2
MenuFilter › VectorBlur2
Names in each format
.oink comp (JSON)"type": "OC_N_vectorblur2"
.nk scriptVectorBlur2 (how .nk import works)
Pythonnuke.createNode("VectorBlur2")
Assistant (MCP)create_node(type="VectorBlur2")
Tab searchvectorblur2, or its initials vb2

VectorBlur2 properties

Inputs and outputs

PortNameType
input 0Sourceimage
input 1maskimage
output 0Imageimage

Knobs

Panel tab VectorBlur, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
channelschannelsmenurgbargba, rgb, alpha, all, noneLayer the op applies to: rgb, rgba, alpha, all, none, <layer> or <layer>.<ch>
useGPUIfAvailableUse GPU if availablebooltrueuseGPUIfAvailable
uvuv channelstextnoneuvLayer holding the u, v vectors (px per frame), e.g. motion / forward
mv_presetsmv presetsmenuNuke ScanlineRenderNuke ScanlineRender, PRMan, V-Ray Velocity Clamped, V-Ray Velocity, Arnoldmv_presets
outputoutputmenuresultresult, uvsoutput
blur_uvblur uvmenunonenone, uniform, linearblur_uv
invert_uvinvert uvboolfalseinvert_uv
uv_offsetuv offsetfloat0-1 to 1uv_offset
uv_alphauv alphatextnonealphaThe channel premultiplied vectors were multiplied by (none = off)
blur_typeblur typemenugaussianuniform, gaussianblur_type
scalemotion amountfloat0.50 to 4scale
motion_falloffmotion fallofffloat0.330 to 1motion_falloff
offsetmotion offsetfloat-0.5-1 to 1offset
grow_bboxexpand blur bboxfloat00 to 500 (integer)grow_bbox
soft_linessoft linesboolfalsesoft_lines
blur_insideblur insidebooltrueblur_inside
normalizenormalizebooltruenormalize
mask_channelmaskmenunonenone, rgba.alpha, rgba.red, rgba.green, rgba.blueMask channel, e.g. rgba.alpha (none = no mask)
injectinjectboolfalseCopy the mask into mask.a for nodes downstream
invert_maskinvertboolfalseinvert_mask
fringefringeboolfalseOnly apply the effect at the edges of the mask
mixmixfloat10 to 1mix

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
unpremult(Un)premult byenumnonenone, rgba.alpha
invert_unpremultinvertbooleanfalse(Un)premultiply by 1 - alpha
v_upV Up (Nuke)booleantrue

Knob names in .nk scripts

.nk knobKnob here
alphauv_alpha

Other .nk knobs use the same name here. See .nk import.

On this page