Skip to content

Nodes · Transform

GridWarpTracker

Transformv1core

Overview

Warps an image and tracks it onto footage: wire the image to in and the footage to track, place the grid, press Track, and the warp follows the footage through the shot. Points with nothing to lock onto are carried by their neighbours, so the mesh never tears. Where a point slips, go to that frame and move it: that sets a key there (marked on the timeline) and the frames that were right stay right.

How to

The two inputs

  • in: the image the warp is applied to - a paint patch, a matte-painting piece, a graphic, a still of the plate.
  • track: the footage the grid follows. Track reads it; it is never part of the picture. With nothing wired to track, Track follows in itself.

The usual setup: the patch into in, the plate into track, and the node's output merged over the plate. The patch then rides the tracked grid: on every frame it is pushed to where the footage has moved, warp included. Outside the grid there is nothing of it, so place the grid over the whole patch (⬚ place grid).

image says what the picture on in does. auto treats it as a still when track is wired to other footage, and as moving when you track in itself. Set still or moving when auto guesses wrong.

No stretch limit

Pull a point as far as you like, past the image's edge too: the node's output grows to wherever the warp reaches.

How-to

  1. Wire the image to in and the footage to track, then select the node. The viewer shows the grid. Set rows and cols for how finely it should bend. Changing them later re-samples the grid, the warp and the track over the same area; nothing resets.
  2. The grid covers the whole frame by default. To put it on one area, press ⬚ place grid and drag a box in the viewer; the grid is laid over the box with the same rows and cols. Then, in grid mode (the viewer's ⊞ grid, or G), drag single points onto the surface you want to follow. Shift-drag moves the whole grid.
  3. View the footage, put the grid on the area to follow, and press track ▶▶ (V) to track forwards from the playhead, or ◀◀ track (Z) to track backwards. The grid follows the surface. The first track also fixes ref_frame: the frame the grid was drawn at.
  4. Warp mode (↔ warp, or W): drag points to where the picture should go. The warp rides the tracked grid on every frame.
  5. mix fades the warp. follow off shows the warp as drawn, untracked.

How the tracking works

  • Every point is matched frame to frame, and each match is checked backwards and against the frame the track started on, so it does not drift.
  • A point with nothing to lock onto (flat sky, a plain wall, a shadow) is never trusted on its own. The same goes for one that jumps to a lookalike. Its motion comes from the points around it, and the viewer draws it amber on those frames. The mesh bends with the surface but cannot tear on one bad patch.
  • smooth pulls each point's motion toward its neighbours'. patch is the detail each point locks onto, and reach is how far a point may move between frames.

Fixing a frame: keys

After a track, go to the frame where a point has slipped and move it. That sets a key at that frame:

  • The point sits where you put it on that frame, and the frames that were already right stay right. Between two keys the correction eases in; past the last key it holds.
  • The keys are marked on the timeline while the node's panel is open, and the panel lists their frames.
  • Grid mode (G) keys where the grid sits on the plate: drag a point back onto its feature. The warp drawn on that point goes with it. Shift-drag moves the whole grid on that frame.
  • Warp mode (W) keys the warp's shape. The first time you shape the warp is the warp itself, on every frame. Reshape it on another frame and that frame gets a key.
  • The reference frame (the frame the grid was drawn at) is always a key. Moving a point there re-places it on that frame; frames keyed elsewhere do not move.
  • ◇ sets a key at the playhead without moving anything. Use it on a frame that is right, before you correct the one next to it, so the correction does not reach back past it. On a keyed frame the button shows ◆ and removes the key.
  • After fixing a frame you can press track ▶▶ from it: the track carries on from the corrected grid, and the correction is kept.
  • auto-key off: a move shifts the point through the whole shot instead (what placing the grid does).
  • Clear track drops the grid's keys with the track they corrected. Reset grid and ⬚ place grid drop all keys.

Transforms after the grid

A Transform, Tracker (match-move), CornerPin, CameraShake or Resize downstream of a GridWarp or GridWarpTracker also moves its handles. The grid is drawn where the picture actually is in the viewer, and dragging a point there edits the right point.

Inputs

InputWhat it takes
inthe image this node works on
track—

Outputs

OutputType
outImage

Parameters

ParameterTypeDefaultWhat it does
rowsInt5Lattice resolution. More points follow finer bends of the surface; fewer track faster and hold together better. Changing it re-samples the placed grid, the warp and the track over the same area.
colsInt5Lattice resolution. More points follow finer bends of the surface; fewer track faster and hold together better. Changing it re-samples the placed grid, the warp and the track over the same area.
src_gridTextWhere the grid sits on the plate at the reference frame - what Track follows. Place it in the viewer in grid mode.
dst_gridTextThe warp at the reference frame - where each grid point should push the picture. Shape it in the viewer in warp mode.
editChoicewarpWhat the viewer's handles move: grid places the lattice on the plate (shift-drag moves all of it), warp shapes the warp. G and W in the viewer. warpgrid
imageChoiceautoWhether the image on in stays put or moves with the footage. auto: a still when track is wired to other footage (a patch tracked onto a plate), moving when you track in itself. still: the image rides the track and nothing of it stays behind outside the grid. moving: the grid and the image move together. autostillmoving
trackTextThe tracked lattice, frame by frame, as the node stores it. Made by Track; Clear track forgets it.
ref_frameFloat1.0The frame the grids were drawn at. Set by the first track; the warp is exactly as drawn there and follows the surface everywhere else.
grid_keysTextCorrections to the tracked grid, keyed: each key holds how far every point was moved off the track at its frame. Set by moving points in grid mode on a frame other than the reference frame; between keys the correction eases linearly, past the last key it holds. The reference frame is always a key of no correction.
warp_keysTextThe warp's animation: each key holds how far every point of the warp differs, at its frame, from the warp as first shaped. Set by reshaping the warp on another frame once it has been shaped.
warp_frameFloat-1000000000.0The frame the warp was first shaped at - the base its keys are measured from. Unset, it is the reference frame.
autokeyBooltrueOn: after a track, moving a point on another frame sets a key at that frame instead of moving it through the whole shot. Off: a move shifts the point on every frame, as placing the grid does.
followBooltrueLet the grid ride the track. Off shows the warp as drawn at the reference frame, on every frame.
patchInt15Radius, in pixels, of the patch matched around each grid point. Bigger holds on soft or noisy detail; smaller follows finer bends.
reachFloat128.0The farthest, in pixels, a point may move between two frames. Raise it for fast motion.
smoothFloat0.15How strongly each point's motion is pulled toward its neighbours'. 0 trusts every match; higher keeps the mesh calmer on jittery plates.
mixFloat1.0Dissolves the effect back toward the input. 0 = off (bit-identical), 1 = full effect.
disabledBoolfalseBypass: the node passes its first input through untouched (D in the graph). The knobs keep their values for when it comes back.
labelTextA note shown under the node in the graph — what this node is FOR. Never affects the render or the cache.
hide_inputBoolfalseDraw the node without its input wire — a tidy graph for a node whose source is obvious (a Dot, a viewer tap).