You are here: User Guide > Nuke > Warping Images > Warping

Warping

Warping refers to manipulating an image so that elements in the image are distorted. Unlike many of the transformations described under Transforming Elements, warps are transformations that only affect some of the pixels in an image rather than all of them. For example, you might make an animal’s eyes bigger or a person’s smile wider without affecting the rest of their features.

This is not to say that the pixels around the area you are moving do not move with the area. They do, because accommodating the change this way often produces more realistic results. However, the distortion lessens the further you get from the moved pixels. You also have some control over which pixels are moved and which are not, and can isolate the warp to a small area. Still, in an ideal situation, the subject you are going to warp is a subject you can key out or rotoscope to isolate it from its background before you create the warp. This way, you can be sure that the background stays intact.

In addition to performing creative manipulations on the shapes of the subjects in your images, you can also use warping to simulate different types of film or video lenses or to remove unwanted lens distortions.

Below, we discuss how to warp images, first using the GridWarp node and then the SplineWarp node. Finally, we also teach you to animate the warps. Again, we start with the GridWarp node and then show you how to do the same with the SplineWarp node.

NOTE:  Frame by frame updates in Nuke’s interface can be expensive, and real-time playback can suffer as a result.
The optimize Viewer during playback button in the Viewer tools stops updates elsewhere on the interface during RAM cache playback, helping to optimize the playback frame rate.
See Using the Viewer Controls in the NukeGetting Started Guide for more information.

 

Warping Images Using the GridWarp Node

Warping an Image Using the SplineWarp Node