Warp

Warp Editor

The Warp tool allows you to create effects by editing two control grids: the Source and Destination. These grids are superimposed over the image displayed in the preview area. The source grid defines the original position of the pixels within the image. The destination grid defines the new locations for pixels to create the intended image variations. The default grid resolution is set to 5 rows by 5 columns. You can edit the grid resolution by selecting the Util -> New Mesh command or by adding individual rows or columns using the 'a' key whenever necessary (see Editing the Grid Resolution).

Tip:
It is recommended that you start with a low-resolution grid. You can then add rows and columns in critical areas of the image where a detailed grid is required. This avoids any unwanted pixel artifacts and speeds up processing.

Note:
The Warp tool's grid uses Bezier-type splines to provide optimum control. For more information on these types of splines, see Editing Function Curves.

Display Options

The display options allow you to view the source image with the associated source and destination grids. You can also use them to graphically view the path of animated control points between the source and destination grids, and view the names of control points belonging to a group.
Use this optionTo display the
ImagesSource or warped image.
Warped ImageResult of the warp.
SourceSource grid.
DestinationDestination grid.
Sub MeshFinely-divided grid (ten grid lines per main grid division)
PathsPath that describes where the control point starts and ends its animated translation.
GroupsGroup names assigned to control points.
AnimEffect Canvas.
TimeWarpTime Control editor.

Note:
Typically, you first select the Image and Source options to display the source image and the source grid. Once you edit the source grid's control points using the left mouse button, you deselect the Source option and select the Destination option to display and arrange the control points of the destination grid using the middle mouse button.

By default, the source and destination grids are displayed in red and blue, respectively. When a control point on the grid is selected, it changes colour. A selected point on the source or destination grid is displayed in yellow or cyan, respectively.

You have the option of changing grid display colours at any point during your warp session (see Changing the Grid Colours).

Filtered

The Filtered option displays a filtered image in the preview area. Deselect this option for faster previews. Select this option for a better result in the final render.

Editing the Grid

You can edit the Source and Destination grids by changing the position of control points. You can translate selected control points interactively, and using the commands in the Move menu, you can Scale and Rotate control points or restrict their movement along the x and y axes. Before you can edit the position of one or more control points, you must first select the ones you want to affect.

To select control points on the Source grid, use the following keyboard and mouse actions. For the Destination grid, follow the same procedures as the source grid, but use the middle-mouse button instead.
Selecting and Editing Single or Multiple Control Points
Type of actionControl pointDo this
SelectA single control point

 

 

Multiple control points

Click on the control point and handles appear.

 

Click and drag diagonally across a selection of control points.

Toggle Select Any control pointCtrl-click will toggle the selected status of a control point (that is, a selected control point is deselected and vice-versa).
ModifyLeft and right slopes at a control point Select a control point and drag the left or right handle. Use the 'b' key to toggle between modifying the two slopes together or independently.
Display handlesAll control points Press the Shift key to make all control point handles visible.
Reset handle position to defaultSingle or multiple control points Select the control point(s) and press the 'u' key to reset control point handles to default position.

Control Point Editing Options

The Move menu commands allow you to set options that affect how control points are edited. Each change is applied to the currently selected control point(s). Select single or multiple control points and then select a Move command.
Use this commandTo do this
LockXLock the grid points to translate only vertically.
LockYLock the grid points to translate only horizontally.
Rotate

 

Rotate the selected points clockwise or counter-clockwise about the centrepoint (see the next section).
Scale

 

Scale the selected points toward or away from the centrepoint crosshair marker (see the next section).
Limit

 

Limit the movement of the selected point to within the defined grid boundary.

Using the Centrepoint Crosshair Marker

The centrepoint crosshair marker appears when you select the Move -> Rotate and Scale commands. By default, it is positioned at the centre of the grid. You can change the position of the crosshair marker by simply clicking and dragging it to a new location.

Editing the Grid Resolution

You can modify the grid's resolution either globally or locally. Specify a global grid change by choosing the Util -> New Mesh button, or specify a local grid change by using the 'a' or 'd' keys to add or delete grid lines individually.

In addition, the Util -> Mesh Colours command allows you to modify the grid's colours. Refer to Changing the Grid Colours for more information.

Note:
When you modify the grid's resolution, it affects both the source and destination grids.

Tip:
When the Partial Undo option is deselected in the Preferences dialogue box, you can use the Edit -> Undo command or the Delete button to revert to the last grid resolution setting. When Partial Undo is selected and you make a global change to the grid using the Util -> New Mesh command, you cannot revert back to the previous grid.

Global Grid Change

When you specify a global change, you create a new grid that replaces the current one.

Select the Util -> New Mesh command. A dialogue box appears.

Set the grid resolution by entering new values in the New Rows (x axis) and New Cols (y axis) text boxes.

Warning
If you select the New Mesh command after you have already set control points, you will delete any existing animation values associated with the control points.

Local Grid Change

When you specify a local change, you are simply fine-tuning the resolution of the grid.

Press the 'a' or 'd' key, then click (or middle-click when working with the destination grid) to add or delete individual grid lines. When you have finished, press the key again.

To add a new row:

1. Press the 'a' key. The pointer changes to a + shape.

2. Line up the pointer along the existing column line (y axis) at the exact position where you want the new row to appear. Use the horizontal line of the pointer to help you imagine from where the row line would extend.

3. Click (or middle-click for the destination grid) and the new row appears.

4. Repeat the previous step to continue adding more rows as desired.

5. Press the 'a' key when you have finished.

To add a new column:

1. Press the 'a' key. The pointer changes to a + shape.

2. Line up the pointer along the existing row line (x axis) at the exact position where you want the new column to appear. Use the vertical line of the pointer to help you imagine from where the column line would extend.

3. Click (or middle-click for the destination grid) and the new column appears.

4. Repeat the previous step to continue adding more rows as desired.

5. Press the 'a' key when you have finished.

To delete an existing row or column:

1. Press the 'd' key. The pointer changes to an x shape.

2. To delete a column, position the pointer so that the existing line runs vertically through the pointer, then click (or middle-click for the destination grid).

3. To delete a row, position the pointer so that the existing line runs horizontally through the pointer, then click (or middle-click for the destination grid).

4. Repeat to delete more rows or columns as desired.

5. When you have finished, press the 'd' key again.

Changing the Grid Colours

1. Select the Util -> Mesh Colours command. A dialogue box appears.

2. Select the grid to which you want to apply the new colour.
Use this optionTo change
SrcThe colour of the source grid.
DstThe colour of the destination grid.
NormalThe default colour of unselected control points for both grids.
HighlightThe highlight colour of selected control points for both grids.

3. Select either the HLS or RGB colour model.

4. Select a new colour using the Colour Selection display. You can change the colour by dragging the sliders in the colour scale bars or by typing values in their text boxes (see Colour).

Group Menu

The Group pull-down menu commands allow you to create a named group of points, add and delete control points from a group, and rename or delete a group. You can then edit groups as single entities.

Groups (but not the points contained in groups) can be selected using the Groups pop-up menu. The current group selected in the Groups pop-up menu is affected by commands on the Group pull-down menu. The Group pull-down menu contains the following commands:
Use this commandTo do this
New Group Create a new group that includes the currently selected points (you will be prompted for a name).
Add Selection

 

Add the currently selected points to the current group (For more information, see Adding Control Points to a Group).
Delete Selection

 

Removes the currently selected points from the current group (For more information, see Deleting Control Points from a Group).
Remove GroupDeletes a group from the Group pop-up menu.
Rename GroupRenames a group from the Group pop-up menu.
Group SelectSelect an entire group by selecting one of its members.

Creating a New Group

1. Select multiple control points. See Selecting and Editing Single or Multiple Control Points for more information.

2. Choose the Group -> New Group command and a dialogue box appears.

3. Enter a name for the group in the text box and click the OK button. If you select the Groups display option in the editor, you will see the group name beside each control point of the group.

Groups Pop-Up Menu

The Groups pop-up menu displays a list of the names of groups you have created. By default, no pop-up menu appears beside the Groups name. It becomes visible only when you create the first group name. To change the current group, click on the Groups pop-up menu and select the desired group name.

Adding Control Points to a Group

1. From the Groups pop-up menu, select the group to which you want to add control points. Make sure that the Groups display option is selected.

2. Select the control points you want to add to the group.

3. Select the Group -> Add Selection command.

Deleting Control Points from a Group

1. Select the group name from the Groups pop-up menu. Make sure that the Groups display option is selected.

2. Select the control points that you want to delete from the group.

3. Select the Groups -> Delete Selection command. The group name will disappear from the control point(s) you specified.

Manipulating an Entire Group

1. Select the Group Select option from the Group pull-down menu.

2. Select any control point within the group. All control points belonging to the group will be automatically selected.

3. Drag to translate the entire group, or select an option from the Move menu to rotate or scale the group.

Note:
You can also manipulate multiple control points that are not assigned to a particular group. Refer to Selecting and Editing Single or Multiple Control Points for more information.

Deleting a Group

1. Select the group name to delete from the Groups pop-up menu.

2. Select the Group -> Remove Group command. The group name is automatically removed from the Groups pop-up menu.

Renaming a Group

1. Select the group name to rename from the Groups pop-up menu.

2. Select the Group -> Rename Group command. A dialogue box appears.

3. Enter a new name in the text box and choose the OK button. The new name automatically appears in the Groups pop-up menu.

Height Rendering

The Util -> Show Heights command lets you define the height of cardinal patches and overlap them using integers. The integer represents the height of the patch relative to the neighbouring patches. For example, by attributing a value of two to a face's nose and a value of one to its mouth, you could bring the nose over the mouth without stretching or blending the patches of the mouth. When this option is selected, a number (integer) is displayed in the middle of each patch on the destination grid.

Note:
When the Show Heights option is selected, the control points on the Destination grid cannot be selected or edited.

To perform height rendering by overlapping patches, follow these steps:

1. Choose the Util -> Show Heights command. This command displays a number (integer) in the middle of each cardinal patch on the destination grid. By default, the patches are initialized at 0. At this point, you may want to modify the resolution of the grid (see Control Point Editing Options).

2. Middle-click to select the patches you want to edit. For multiple selection, middle-click and drag over the patches or hold down the Ctrl key and click the appropriate patches.

3. Press the '+' or '-' keys (either from the keyboard or numeric keypad) to change the height level. The height level allows you to raise or lower a section of the patch. The higher values are rendered first.

Note:
It is important to note that a value of -1 deactivates the height warping operation for the selected patch.

4. Edit the grid by positioning control points (see Control Point Editing Options).

Tip:
The Sub Mesh display option helps you to visualize the effect by showing the deformations using a higher resolution grid.

5. To render the result, turn off the Show Heights command, hold down the Shift key and click the frames forward button.

Key Options

This section describes how to set animation keyframes using the source and destination grids.

The Key options allow you to set keyframes. When the Src and Dst options are selected, you can set keyframes for all the control points located on these grids. When the Selected option is selected, you can set keyframes for the selected control points (see Selecting and Editing Single or Multiple Control Points).

For more information about keyframes and animation, refer to Creating Keyframe Animations.

Note:
The Previous/Next button applies to the currently activated control points. For example, if the Key -> Src option is selected, the Next button will take you to the next keyframe of the Source grid. Similarly, if the Key ->Dst option is selected, the Next button will take you to the next keyframe of that grid.

Copy Menu

The Copy menu commands allow you to copy selected or all control point positions and keyframes from the Source or Destination grids. Additionally, a buffer is available for temporarily storing alternate grids. These copy commands allow you to save the current state of either the Source or the Destination grid to the buffer for later use.

Note:
When the Copy -> Selected command is selected, only the selected control points of the grid are copied. When this option is deselected, t
Use this optionTo copy the
SelectedSelected control points of the grid.
All AnimKeyframed animation associated with the control points of the grid.
Source From DestinationControl points from the destination grid to the source grid.
Destination From SourceControl points from the source grid to the destination grid.
Source to pastebufferCurrent source grid to the paste buffer.
Destination to pastebufferCurrent destination grid to the paste buffer.
Paste to SourcePaste buffer grid onto the source grid
Paste to DestinationPaste buffer grid onto the destination grid.
the entire grid is copied

Note:
Once the con.trol points of the source grid have been positioned, select the Copy -> Destination From Src command. The destination grid will then match the source grid and you can reposition the destination grid to create the "warped" destination image.

Edit Menu

The Edit menu contains two commands: Undo and Redo. By selecting the Undo command, the grid will revert back to its last position. You perform multiple undo actions by reselecting the Undo command. This successively eliminates each preceding change made to the grid, up to the limit set in the Preferences dialogue box. The Redo command reverses the effect of the Undo command.

Util Menu

The commands on the Util menu provide a variety of useful functions. For more information about the New Mesh and Mesh Colours commands, see Editing the Grid Resolution. For more information about the Show Heights command, see Height Rendering.

Ease In/Ease Out

The Ease In and Ease Out options allow you to control the speed of the morph and blend. By default, the warp distorts and blends into the destination image evenly over the duration of the sequence. If you select the Ease In option, the warp will gradually decelerate before a keyframe. When you select the Ease Out option, the warp will gradually accelerate after the set keyframe. These options contribute to a smoother warping and blending process.

Init Black

The Init Black command initializes a patch to black before it is rendered. This lets you see the progression of a rendering.

Display Options
Filtered
Editing the Grid
Control Point Editing Options
Using the Centrepoint Crosshair Marker
Editing the Grid Resolution
Global Grid Change
Local Grid Change
Changing the Grid Colours
Group Menu
Creating a New Group
Groups Pop-Up Menu
Adding Control Points to a Group
Deleting Control Points from a Group
Manipulating an Entire Group
Deleting a Group
Renaming a Group
Height Rendering
Key Options
Copy Menu
Edit Menu
Util Menu
Ease In/Ease Out
Init Black

SOFTIMAGE Eddie 3.5 - 10 JAN 1997