GlareMask

Generates rainbow halos and/or glint-like rays at locations where the Source clip is brighter than the threshold. Each glare's color is scaled by the color of the Mask input, and then the glares are combined with the Source image. Glares are best observed on dark images with a few bright spots.

Inputs:

Source:  The input clip that determines the glare locations and colors. This clip is also used as the background and the glares are layered back onto it.

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

Parameters:

Type:   Popup menu,  Default: Rainbow Rays.
The style of glare to apply. Custom glare types can also be made, or existing types modified, by editing the "s_glares.text" file.
Rainbow Rays:  rays with rainbow.
Rainbow Rays 2:  rays with larger rainbow.
Rays 60:  cluster of 60 rays.
Rays 20:  cluster of 20 rays.
Rays 16:  cluster of 16 rays.
Rays 12 Rand:  12 rays with random orientations.
Rays 6:  cluster of 6 rays.
Rays 4:  cluster of 4 rays.
Rays 4 Ring:  4 rays with ring and glow.
Rays Multi:  several clusters of rays together.
Rainbow Only:  rainbow.
Rainbow 2 Only:  larger rainbow.
Rainbow Double:  2 rainbows.
Round Coin:  simple solid circle.
Glint Rays:  similar to the default settings of Glint.
Rainbow Rays 3:  a cross with a spray of rays and a textured rainbow ring.
Streaky Rainbow:  rainbow ring with radial texture.
CCD Saturation:  bright vertical white line, simulating digital camera CCD saturation or overdrive.

Convolve:   Check-box,  Default: off.
Determines the method for applying the glares to the Background.

Size:   Default: 1,  Range: 0 or greater.
Scales the size of the glares. This parameter can be adjusted using the Size Widget.

Rel Height:   Default: 1,  Range: 0 or greater.
Scales the vertical dimension of the glares, making them elliptical instead of circular.

Rotate:   Default: 0,  Range: any.
Rotates the ray elements of the glares, if any, in degrees.

Scale Source:   Default: 1,  Range: 0 or greater.
Scales the brightness of the Source input when combined with the glares. This does not affect the generation of the glares themselves.

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

Saturation:   Default: 1,  Range: any.
Scales the color saturation of the glare elements. Increase for more intense colors. Set to 0 for monochrome glares.

Rays Num Scale:   Default: 1,  Range: 0 or greater.
Increases or decreases the number of rays.

Rays Length:   Default: 1,  Range: 0 or greater.
Adjusts the length of the rays without changing their thickness.

Rays Thickness:   Default: 1,  Range: 0 or greater.
Adjusts the thickness of the individual rays.

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

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

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

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

Glare Res:   Popup menu,  Default: FULL.
Selects the resolution factor for the glares. Higher resolutions give sharper glares, lower resolutions give smoother glares and faster processing. This 'Res' factor only affects the glares: the background is still combined with the glares at full resolution.
FULL:  Full resolution is used.
1/2:  The glares are calculated at half resolution.
1/4:  The glares are calculated at quarter resolution.

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

Params2:

Blur Glare:   Default: 0,  Range: 0 or greater,  Shared.
The glare is blurred by this amount before being combined with the background.

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

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


See Also:

Glare
GlareComp
GlareMaskCmp
Glint
Glow
LensFlare
Convolve
Sapphire Plug-ins Introduction


© 2010, GenArts, Inc. All rights reserved.