Transform

Transform lets you not only translate elements, but also rotate, scale, and skew them from a single control panel.

You can also create this node by pressing T on the Node Graph.

See also TransformMasked.

Inputs and Controls

Connection Type

Connection Name

Function

Input

unnamed

The image to translate, rotate, scale, or skew.

Control (UI)

Knob (Scripting)

Default Value

Function

Transform Tab

translate x, y

translate

0, 0

Translates the image along the x and y axes. You can also adjust translate values by dragging the transform handle in the Viewer.

rotate

rotate

0

Rotates the image around the center x y coordinates. You can also adjust rotate values by dragging the transform handle in the Viewer.

scale

scale

1

Scales the image width and height around the center x y coordinates.

skew X

skewX

0

Skews the image on the x axis.

skew Y

skewY

0

Skews the image on the y axis.

skew order

skew_order

XY

Sets the order in which skew transforms are applied to the image:

XY

YX

center x, y

center

N/A

Sets the center of rotation and scale on the x and y axes.

invert

invert_matrix

disabled

When enabled, any transform you applied using the translate xy, rotate, scale, skew, or center xy controls is inverted.

filter

filter

Cubic

Select the filtering algorithm to use when remapping pixels from their original positions to new positions. This allows you to avoid problems with image quality, particularly in high contrast areas of the frame (where highly aliased, or jaggy, edges may appear if pixels are not filtered and retain their original values).

Impulse - remapped pixels carry their original values.

Cubic - remapped pixels receive some smoothing.

Keys - remapped pixels receive some smoothing, plus minor sharpening (as shown by the negative -y portions of the curve).

Simon - remapped pixels receive some smoothing, plus medium sharpening (as shown by the negative -y portions of the curve).

Rifman - remapped pixels receive some smoothing, plus significant sharpening (as shown by the negative -y portions of the curve).

Mitchell - remapped pixels receive some smoothing, plus blurring to hide pixelation.

Parzen - remapped pixels receive the greatest smoothing of all filters.

Notch - remapped pixels receive flat smoothing (which tends to hide moire patterns).

Lanczos4, Lanczos6, and Sinc4 - remapped pixels receive sharpening which can be useful for scaling down. Lanczos4 provides the least sharpening and Sinc4 the most.

clamp

clamp

disabled

When using filters that employ sharpening, such as Rifman and Lanczos, you may see a haloing effect. If necessary, check clamp to correct this problem.

black outside

black_outside

enabled

This renders as black pixels outside the image boundary, making it easier to layer the element over another. If you uncheck this control, the outside area is filled with the outermost pixels of the image sequence.

In most cases, you should keep black outside checked. However, you may want to turn this off for camera shake, or if you want to texture-map or intersect the output with a similar shape.

Note:  Enabling black outside also adds a solid alpha covering the input image area if no alpha is present.

motionblur

motionblur

0

Sets the number of motion blur samples. A value of 1 should produce reasonable results for most sequences.

Increase the value to produce more samples for higher quality, or decrease it to shorten the processing time. The higher the value, the smoother the result.

shutter

shutter

0.5

Enter the number of frames the shutter stays open when motion blurring. For example, a value of 0.5 corresponds to half a frame. Increasing the value produces more blur, and decreasing the value less.

shutter offset

shutteroffset

start

Controls how the shutter behaves with respect to the current frame value:

centred - center the shutter around the current frame. For example, if you set the shutter value to 1 and your current frame is 30, the shutter stays open from frame 29,5 to 30,5.

start - open the shutter at the current frame. For example, if you set the shutter value to 1 and your current frame is 30, the shutter stays open from frame 30 to 31.

end - close the shutter at the current frame. For example, if you set the shutter value to 1 and your current frame is 30, the shutter stays open from frame 29 to 30.

custom - open the shutter at the time you specify. In the field next to the dropdown menu, enter a value (in frames) you want to add to the current frame. To open the shutter before the current frame, enter a negative value. For example, a value of - 0.5 would open the shutter half a frame before the current frame.

shuttercustomoffset

0

If the shutter offset control is set to custom, this field is used to set the time that the shutter opens by adding it to the current frame. Values are in frames, so -0.5 would open the shutter half a frame before the current frame.

Step-by-Step Guides

Translating Elements

Rotating Elements

Scaling Elements

Skewing Elements

Related Topics Link IconRelated Topics