Aller au contenu

Vector Warp Node

By Kriss Norde

Vector Warp distorts a reference image according to the motion of the source clip, to stick an element onto a moving, deforming surface such as fabric or skin.

Overview

DaVinci Resolve Studio only.

Vector Warp takes a main image sequence (the background) and a still image (the texture to warp). It generally follows an Optical Flow, which creates the required motion vectors. It is useful for adding or removing elements on non-solid surfaces: adding or removing logos from clothing, adding a scar to someone's face, adding texture to skin. The output is an RGBA image that may contain extra motion vector channels (Vx, Vy, BVx, BVy) for downstream tools.

Where to find this node

  • Effects Library: Tools > Optical Flow > Vector Warp
  • Quick add: right-click in the Node Editor → Add Tool > Optical Flow > Vector Warp

Inputs

  • Input (orange) - a 2D image sequence with precomputed Vector and Back Vector channels, generated by an Optical Flow or saved in EXR format with vector channels.
  • Texture (green) - the 2D still image to warp.

Setup

Optical Flow → Vector Warp (orange input)
Still image → Vector Warp (green input)

Controls tab

Set Frame
uses the current frame as the reference frame and fills in Reference Frame.
Reference Frame
the frame of the main sequence the texture was created for.
Operation
Generate Warp (creates a warp map from the reference frame to the current frame, saved in the UV channels), Generate Warp + Map (creates the map and warps the texture), Apply Warp Map (warps the texture with a previously generated map from the input), UnWarp (freezes the texture at the reference frame and reverse warps the current frame to resemble the reference frame).
Smooth UV
averages with neighboring UV values, to smooth out anomalies in the UV channels.
Grid Overlay
displays the warping as a viewer overlay.
Merge Warp over BG
displays the composited texture on the main sequence.

The Settings tab is common to the other Optical Flow nodes.

Use cases

  • Add or remove a logo on clothing.
  • Add a scar to a face or texture to skin.