Spline Warp
Controls
Parameter / Script Name | Type | Default | Function |
---|---|---|---|
Warp pins / PinList | - | List of warp pins. | |
Warping Factor / scale | Float | 1 | A global multiplier applied to all the warping vectors. |
Warping Scale / scale1 | Float | 1 | A normalized scale multiplier applied to the warping vectors. Useful for animating the deformation. |
Invert Vectors / invert | Boolean | Off | Inverts the direction of all the warping vectors. Useful for getting the reverse deformation. |
Function / radialFunction | Choice | Multiquadric | Defines the radial function used to compute the deformation of the input. Different radial functions lead to wildly divergent results. |
Resolution / resolution | Float | 20 | Frequency of points to generate along the curve-based deformations. |
Borders / bordersWarp | Choice | Fixed borders | Defines the behavior of the edges of the input. |
Wrap U / u_wrap | Choice | Black | How the source image is accessed when the X coordinate is out of bounds |
Wrap V / v_wrap | Choice | Black | How the source image is accessed when the Y coordinate is out of bounds |
Mask / mask | Image | - | |
Mix / mix_with_source | Float | 1 | Dissolves between the original image at 0 and the image with the effect applied at 1 |
Description
The Image Warp modifiers provides the user with a large panel of tools to warp, deform and bend a given graphic source. These tools, or modes, can be employed for smallscale and largescale deformations alike.
Dual pin
The dual pin is the most basic tool in the Image warp toolset. It should be used to perform single "point to point" deformations.
The design of the dual pin allows the user to drag a point of the graphic source from a source position to a target position.
By pressing the right mouse button, you will create a source pin at the cursor position. Then, by holding the mouse button, you may drag the target pin accross the image and release it on the desired position. The input is warped in real-time, which is useful to perform local, on the fly corrections to an area.
Spline warp
The spline warp should be used to distort the image by warping a source shape group to a target shape group. In a similat way to the shape generator, these shape groups can be created and edited using shape-specific tools, which are made available in the vertical toolbar whenever this mode is active.
This is implemented by generating a fixed number of source pins along the source paths, and their corresponding target pins on the target path. The number of pins is determined by the resolution parameter.
Flow warp
The flow warp deforms the graphic source along a path. Similarly to the spline warp, the flow warp is based on a geometry group; this geometry group defines the path driving the deformation.
Under the hood, the flow warp consists of a series of source and target pins distributed accross the same path, with the target pins offsetted by a certain distance on the curve.
In addition, we offer two more anchoring modes. They must be used to nullify the effects of any deformation in a given area.
Fixed pin
The fixed pin should be used to specify a region of the graphic source that must not be affected bby the deformations.
Fixed pins are virtually identical to a dual pin whose source and target pins share the same position.
Boundary spline
The boundary spline defines a boundary prevents the any deformation on one side of the spline to carry over to the other side. Effectively, this mode can be used to restrict the warping to a specific area.
The boundary spline works by setting up a series of fixed pins along the defined path.
When toggled, the hard boundary option creates a clipping mask outdside the shape group, nullifying all but the deformations within it.