S_DistortChromaWarps the chrominance of the source input by different amounts 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 or textured prism. It is best demonstrated when the lens image contains just a few simple bold shapes.In the Sapphire Distort effects submenu.
Inputs:
|
|
Parameters:
-
Load Preset:
Push-button
.
Brings up the Preset Browser to browse all available presets for this effect.
-
Save Preset:
Push-button
.
Brings up the Preset Save dialog to save a preset for this effect.
-
Mocha Project:
Default:
0,
Range:
0 or greater.
Brings up the Mocha window for tracking footage and generating masks.
-
Blur Mocha:
Default:
0,
Range:
0 or greater.
Blurs the Mocha Mask by this amount before using. This can be used to soften the edges or quantization artifacts of the mask, and smooth out the time displacements.
-
Mocha Opacity:
Default:
1,
Range:
0 to 1.
Controls the strength of the Mocha mask. Lower values reduce the intensity of the effect.
-
Invert Mocha:
Check-box, Default:
off.
If enabled, the black and white of the Mocha Mask are inverted before applying the effect.
-
Resize Mocha:
Default:
1,
Range:
0 to 2.
Scales the Mocha Mask. 1.0 is the original size.
-
Resize Rel X:
Default:
1,
Range:
0 to 2.
The relative horizontal size of the Mocha Mask.
-
Resize Rel Y:
Default:
1,
Range:
0 to 2.
The relative vertical size of the Mocha Mask.
-
Shift Mocha:
X & Y, Default:
[0 0],
Range:
any.
Offsets the position of the Mocha Mask.
-
Bypass Mocha:
Check-box, Default:
off.
Ignore the Mocha Mask and apply the effect to the entire source clip.
-
Show Mocha Only:
Check-box, Default:
off.
Bypass the effect and show the Mocha Mask itself.
-
Combine Masks:
Popup menu, Default: Union
.
Determines how to combine the Mocha Mask and Input Mask when both are supplied to the effect.
-
Union:
Uses the area covered by both masks together.
- Intersect: Uses the area that overlaps between the two masks.
- Mocha Only: Ignore the Input Mask and only use the Mocha Mask.
- Intersect: Uses the area that overlaps between the two masks.
-
Union:
Uses the area covered by both masks together.
-
Amount:
Default:
1,
Range:
any.
The severity of the lens distortions. Make negative to invert the direction of the distortions.
-
Blur Lens:
Default:
0.4,
Range:
0 or greater.
Smooths out the edges in the lens image by this amount before using it.
-
Rotate Warp Dir:
Default:
0,
Range:
any.
Rotates the warping direction by this many degrees. If non-zero, this can add some unusual twisting effects to the lens distortion.
-
Warp Red:
Default:
0.5,
Range:
any.
The magnitude of lens distortion for the red end of the spectrum. Make negative to invert the direction of the red distortions.
-
Warp Blue:
Default:
1,
Range:
any.
The magnitude of lens distortion for the blue end of the spectrum. Make negative to invert the direction of the blue distortions.
-
Steps:
Integer, Default:
8,
Range:
3 to 100.
The number of color samples along the spectrum to include. More steps give a smoother result, but require more time to process.
-
Color1:
Default rgb:
[1 0 0].
The color at the 'red' end of the spectrum.
-
Color2:
Default rgb:
[0 1 0].
The color in the middle of the spectrum.
-
Color3:
Default rgb:
[0 0 1].
The color at the 'blue' end of the spectrum.
-
White Balance:
Check-box, Default:
off.
When enabled, the three colors are adjusted internally so they sum to white. In this case, the colors of unwarped regions are not affected and the average color of the result remains the same.
-
Amount Rel:
X & Y, Default:
[1 1],
Range:
0 or greater.
The relative amounts of horizontal and vertical distortion. This has no effect unless Amount is positive.
-
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.
- Tile: repeats a copy of the image.
-
No:
gives black beyond the borders.
-
Filter:
Check-box, Default:
on.
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 Matte:
Default:
0,
Range:
0 or greater.
Blurs the Matte input by this amount before using. This can provide a smoother transition between the matted and unmatted areas. It has no effect unless the Matte input is provided.
-
Invert Matte:
Check-box, Default:
off.
If on, inverts the Matte input so the effect is applied to areas where the Matte is black instead of white. This has no effect unless the Matte input is provided.
-
Matte Use:
Popup menu, Default: Luma
.
Determines how the Matte input channels are used to make a monochrome matte.
-
Luma:
the luminance of the RGB channels is used.
- Alpha: only the Alpha channel is used.
- Alpha: only the Alpha channel is used.
-
Luma:
the luminance of the RGB channels is used.
-
Opacity:
Popup menu, Default: Normal
.
Determines the method used for dealing with opacity/transparency.
-
All Opaque:
Use this option to render slightly faster when
the input image is fully opaque with no transparency (alpha=1).
- Normal: Process opacity normally.
- As Premult: Process as if the image is already in premultiplied form (colors have been scaled by opacity). This option also renders slightly faster than Normal mode, but the results will also be in premultiplied form, which is sometimes less correct.
- Normal: Process opacity normally.
-
All Opaque:
Use this option to render slightly faster when
the input image is fully opaque with no transparency (alpha=1).
-
Crop Input Parameters:
Default:
0,
Range:
0 or greater.
These 4 parameters, Crop Top , Crop Bottom , Crop Left, and Crop Right , allow selecting a rectangular subsection of the input image to be processed. If the Wrap parameters are set to "No" the exposed borders will be transparent. If the Wrap is "Tile" or "Reflect" the source image is wrapped on the new cropped borders to fill the frame. This can make it easier to avoid artifacts due to distorting an image with bad edges.