Sapphire Plug-ins for Autodesk: GlintMaskComp

GlintMaskComp

In the S_GlintMaskCmp Plugin.

Generates star shaped glints at locations where the Source clip is brighter than the threshold. The colors of the glints are scaled by a Mask input, and then combined with the Back input clip. This is similar to Glint, but here a Mask input is provided, and also the glint source and background can be different clips.

Inputs:

Front: The clip to use as foreground.

Back: The clip to combine the glints with.

Matte: Specifies the opacities of the Front clip. These values are scaled by the Source Opacity parameter before being used.

Mask: The source glint colors are scaled by this input. A monochrome Mask can be used to choose a subset of Source areas that will generate glints. A color Mask can be used to selectively adjust the glint colors in different regions. The Mask is applied to the source before the glints are generated so it will not clip the resulting glints.

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.

Size: Default: 1, Range: 0 or greater, Shared .
Scales the length of all glint rays. This and all the size parameters can be adjusted using the Size Widget. Note that a zero glint size still enhances the bright areas; set the brightness parameter to zero if you want to pass the Source through unchanged.

Size X: Default: 1, Range: 0 or greater, Shared .
Scales the length of the horizontal glint rays.

Size Y: Default: 1, Range: 0 or greater, Shared .
Scales the length of the vertical glint rays.

Size Diag1: Default: 0.75, Range: 0 or greater, Shared .
Scales the length of the diagonal rays from top right to bottom left.

Size Diag2: Default: 0.75, Range: 0 or greater, Shared .
Scales the length of the diagonal rays from top left to bottom right.

Mask Type: Popup menu,  Default: Luma .
This setting is ignored unless the Mask input is provided.
Luma: uses the luminance of the Mask input to scale the brightness of the glints.
Color: uses the RGB channels of the Mask input to scale the colors of the glints.

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.

Size Red: Default: 1, Range: 0 or greater.
Scales the length of the red component of the rays. If the red, green, and blue sizes are equal the glints will be uniform in color and will match the color of the source clip. If they are not equal, the glint colors can vary along the lengths of the rays.

Size Green: Default: 2, Range: 0 or greater.
Scales the length of the green component of the rays.

Size Blue: Default: 3, Range: 0 or greater.
Scales the length of the blue component of the rays.

Blur Glint: Default: 0, Range: 0 or greater, Shared .
The glints are blurred by this amount before being combined with the background.

Hue Shift: Default: 0, Range: any, Shared .
Shifts the hue of the glint, in revolutions from red to green to blue to red.

Brightness: Default: 1, Range: 0 or greater, Shared .
Scales the brightness of all the glints.

Scale Colors: Default rgb: [1 1 1], Shared .
Scales the color of the glints. The colors and brightnesses of the glints are also affected by the Source input.

Threshold Add Color: Default rgb: [0 0 0], Shared .
This can be used to raise the threshold on a specific color and thereby reduce the glints generated on areas of the source clip containing that color.

Threshold: Default: 0.7, Range: 0 or greater, Shared .
Glints are generated from locations in the source clip that are brighter than this value. A value of 0.9 causes glints at only the brightest spots. A value of 0 causes glints for every non-black area.

Threshold Blur: Default: 0.1, Range: 0 or greater, Shared .
Increase to smooth out the areas creating glints. This can be used to eliminate glints generated from small speckles or to simply soften the glints. Increasing this may put more highlights below the threshold and darken the resulting glints, but you can decrease the Threshold parameter to compensate.

Source Opacity: Default: 1, Range: 0 or greater, Shared .
Scales the opacity of the Source input when combined with the glints. This does not affect the generation of the glints themselves.

Scale Back: Default: 1, Range: 0 to 1, Shared .
Scales the brightness of the background. This parameter only has an effect if the background input is provided, and is visible due to a partially transparent Source image or a reduced Source Opacity parameter value.

Params2:

Brightness X: Default: 1, Range: 0 or greater, Shared .
Scales the brightness of the horizontal glint rays.

Brightness Y: Default: 1, Range: 0 or greater, Shared .
Scales the brightness of the vertical glint rays.

Brightness Diag1: Default: 1, Range: 0 or greater, Shared .
Scales the brightness of the diagonal rays from top right to bottom left.

Brightness Diag2: Default: 1, Range: 0 or greater, Shared .
Scales the brightness of the diagonal rays from top left to bottom right.

Glint Under Src: Default: 0, Range: 0 to 1, Shared .
Set to 1 to composite the Source input over the glints.

Glint From Matte: Default: 0, Range: 0 to 1, Shared .
Set to 1 to generate glints from the alpha channel of the source input instead of the RGB channels. In this case the glints will not pick up color from the source and will typically be brighter. Values between 0 and 1 interpolate between using the RGB and the Alpha.

Comp Premult: Check-box,  Default: off, Shared .
Enable this for a better composite if the Front pixel values have been pre-multiplied by the Matte pixel values. This is also known as an 'additive' composite.

Params3:

Mocha: Default: 0, Range: 0 or greater, Shared .
Brings up the Mocha window for tracking footage and generating masks.

Blur Mocha: Default: 0, Range: 0 or greater, Shared .
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, Shared .
Controls the strength of the Mocha mask. Lower values reduce the intensity of the effect.

Invert Mocha: Check-box,  Default: off, Shared .
If enabled, the black and white of the Mocha Mask are inverted before applying the effect.

Show Mocha Only: Check-box,  Default: off, Shared .
Bypass the effect and show the Mocha Mask itself.

Bypass Mocha: Check-box,  Default: off, Shared .
Ignore the Mocha Mask and apply the effect to the entire source clip.

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.
See general info for: Res , On Fields , Redraw , Undo , Load Defaults , Crop , Add Noise , and Use Gamma .


See Also:

GlintRainbowMaskComp
Glint
GlintMask
GlintComp
Glare
Sparkles
Glow
Sapphire Plug-ins Introduction

PRODUCT UPDATES & SPECIAL OFFERS

Join our email newsletter and keep up to date