Aller au contenu

Offset Modifier

By Kriss Norde

The Offset modifiers create variances between values based on the relationship between two positional controls. There are three of them: Offset Angle, Offset Distance and Offset Position.

Overview

  • Offset Angle : outputs a value between 0 and 360, based on the angle between two positional controls.
  • Offset Distance : outputs a value based on the distance between two positional controls.
  • Offset Position : generates a position (X and Y coordinates) based on the relationship between positional controls. It is the equivalent of a Calculation, except that it outputs X and Y coordinates instead of a value.

The Position and Offset parameters may be static, connected to other positional parameters or connected to paths of their own. The Inspector is identical for all three modifiers, but the controls behave differently depending on the offset type.

Where to find this node

Right-click a control, then choose Modify With > Offset. The manual's example uses Modify With > Offset Distance.

Offset tab

Position X and Y
the X and Y values of the Position used in the calculation.
Offset X and Y
the X and Y values of the Offset used in the calculation.
Flip Position Horizontal and Vertical
mirrors the Position along the vertical or horizontal axis of the image.
Flip Offset Horizontal and Vertical
mirrors the Offset position along the vertical or horizontal axis of the image.
Mode
the mathematical operation performed. Options: Offset, Difference (Position - Offset), Difference (Offset - Position), Average, Use Position Only, Use Offset Only, Maximum, Minimum, Invert Position, Invert Offset, Invert Sugar (label as printed in the 21.1 manual), Random Offset.
Image Aspect
compensates for the image aspect (not pixel aspect) of the project. To calculate it, divide the width by the height. The default value is based on the frame format selected in the preferences. This control can also be used to create the illusion of aspect.

Time tab

Position Time Scale
returns the value of the Position at the specified Time Scale (0.5 = the value at half the current frame time).
Position Time Offset
returns the value of the Position at the specified Time Offset (10 = 10 frames back).
Offset Time Scale
returns the value of the Offset at the specified Time Scale.
Offset Time Offset
returns the value of the Offset at the specified Time Offset.

Use cases

  • Text size driven by a distance (the manual's example): animate a text from left to right with Center X, then right-click Size and choose Modify With > Offset Distance. Two onscreen controls appear in the viewer: a crosshair for the Position and an X for the Offset. The text size now depends on the distance between them. Place the X at the bottom center and connect the Position to the text's path (Connect To > Path1 Position): the text shrinks near the center of the path and grows at its ends.