DistortMask

In the S_DistortMask Plugin.

Similar to Distort but scales the amount of distortion by the Mask input. Warps the source input clip using the gradient of the Lens input clip. This can generate optical glass-like effects as if the source clip were being viewed through an arbitrarily shaped lens. It is best demonstrated when the lens image contains just a few bold shapes or a simple texture.

Inputs:

Source:  The clip to be processed.

Lens:  Distorts the source using the brightness values of this input clip.

Mask:  The amount of lens distortion is scaled by this input, so the Source is unaffected where the Mask is black. The Mask can optionally be blurred or inverted using the Blur Mask or Invert Mask parameters. Only the red channel of this input is used.
        

Parameters:

Amount:   Default: 1,  Range: any,  Shared.
The severity of the lens distortions. Make negative to invert the direction of the distortions.

Blur Lens:   Default: 0.5,  Range: 0 or greater,  Shared.
Smooths out the edges in the lens image by this amount before using it.

Rotate Warp Dir:   Default: 0,  Range: any,  Shared.
Rotates the warping direction by this many degrees. If non-zero, this can add some unusual twisting effects to the lens distortion.

Wrap:   X & Y,  Popup menu,  Default: [REFLECT REFLECT].
Determines the method for accessing outside the borders of the source image.
NO:  gives black beyond the borders.
TILE:  repeats a copy of the image.
REFLECT:  repeats a mirrored copy. Edges are often less visible with this method.

Amount Rel:   X & Y,   Default: [1 1],  Range: any,  Shared.
The relative amounts of horizontal and vertical distortion. This has no effect unless Amount is positive.

Filter:   Check-box,  Default: on,  Shared.
If enabled, the image is adaptively filtered when it is resampled. This gives a better quality result when parts of the image are warped smaller.

Blur Mask:   Default: 0,  Range: 0 or greater,  Shared.
Blurs the Mask input by this amount before using. This can provide a smoother transition between the masked and unmasked areas.

Invert Mask:   Check-box,  Default: off,  Shared.
If enabled, inverts the mask input so the effect is applied to areas where the Mask is black instead of white.

See general info for: Res, On Fields, Redraw, Undo, Load Defaults, Crop, Add Noise, and Use Gamma.


See Also:

DistortBlurMask
DistortChromaMask
DistortRGBMask
DistortFineMask
Distort
EmbossDistort
WarpFishEye
Sapphire Plug-ins Introduction


© 2010, GenArts, Inc. All rights reserved.