Sapphire Plug-ins for Autodesk: LensFlareTrack

LensFlareTrack

Similar to LensFlare with the AutoTrack option but a separate Track input clip is used for tracking. Renders a lens flare image over the background clip, aligning various flare elements between the hotspot and pivot locations. Here the hotspots are automatically positioned on the brightest areas of the Track clip. Increasing Blur For Auto will cause the input to be smoothed before the brightest locations are found and can help remove the effect of secondary bright spots.

Inputs:

Back: The clip to use as background.

Track: The flare hotspots are automatically positioned on the brightest areas of this input.

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.

Pivot: X & Y,   Default: [0 0], Range: any, Shared .
The elements of the flare will be in a line between the Hotspot and the Pivot locations. The Pivot is in screen coordinates relative to the center of the frame.

Scale Widths: Default: 1, Range: 0 or greater, Shared .
Scales the sizes of all the flare elements. This parameter can be adjusted using the Scale Widths Widget.

Rel Heights: Default: 1, Range: 0 or greater, Shared .
Scales the vertical dimension of all the flare elements, making them elliptical instead of circular. This can also be adjusted using the Scale Widths Widget.

Lens: Default: 0, Range: 0 or greater, Shared .
The type of lens flare to apply. Custom lens flare types can also be made, or existing types modified, by editing the "s_lensflares.text" file.

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

Hotspot Bright: Default: 1, Range: 0 or greater, Shared .
Scales the brightness of the hotspot elements only.

Rays Brightness: Default: 1, Range: 0 or greater, Shared .
Scales the brightness of the ray elements only.

Gamma: Default: 1, Range: 0.1 or greater, Shared .
Increasing gamma brightens the flare, and especially boosts the darker elements.

Saturation: Default: 1, Range: any, Shared .
Scales the color saturation of the flare elements. Increase for more intense colors. Set to 0 for a monochrome lens flare.

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

Color: Default rgb: [1 1 1], Shared .
Scales the color of all flare elements.

Hotspot Color: Default rgb: [1 1 1], Shared .
Scales the color of the hotspot elements only.

Other Brightness: Default: 1, Range: 0 or greater, Shared .
Scales the brightness of all flare elements that are NOT at the hotspot location.

Blur Flare: Default: 0, Range: 0 or greater, Shared .
If positive, the flare image is blurred by this amount before being combined with the background.

Scale Back: Default: 1, Range: 0 or greater, Shared .
Scales the brightness of the background before combining with the flare. If 0, the result will contain only the flare image over black.

Combine: Popup menu,  Default: Screen .
Determines how the flare image is combined with the Background.
Screen: performs a blend function which can help prevent overly bright results.
Add: causes the flare image to be added to the background.
Flare Only: gives only the flare image with no background.

Tint Back Whites: Check-box,  Default: off, Shared .
If this is enabled, the chroma of the flare is added only after the result is clamped to the maximum brightness. This allows the color of the flare image to still be visible even over bright white backgrounds. For the majority of backgrounds there will be no observable difference.

Params2:

These parameters allow further adjustment of the hotspot, and enabling of the screen interface widgets.

Rays Rotate: Default: 0, Range: any, Shared .
Rotates the ray elements of the lens flare, if any, in counter-clockwise degrees.

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

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

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

Other Width: Default: 1, Range: 0 or greater, Shared .
Scales the width of all flare elements that are NOT at the hotspot location.

Other Color: Default rgb: [1 1 1], Shared .
Scales the color of all flare elements that are NOT at the hotspot location.

Blur For Auto: Default: 0.014, Range: 0 or greater.
Used only if the effect is set to AutoTrack. The input is blurred by this amount before finding the brightest location.

Max Hotspots: Integer,  Default: 1, Range: 1 or greater.
Maximum number of flares to render. Rendering multiple flares can give different tracking results than rendering a single flare.

Hotspot Thresh: Default: 0.6, Range: 0 or greater.
Flares are drawn at locations in the source clip that are brighter than ths value.

Track Color: Check-box,  Default: off.
If enabled, the color of each hotspot will be adjusted to match the light source it's tracking.

Hotspot Shift: X & Y,   Default: [0 0], Range: any, Shared .
Adds this amount to the hotspot locations. This allows for a relative adjustment of the hotspots away from the auto-tracked locations if necessary.

Negate Shift: Check-box,  Default: off, Shared .
If enabled, the hotspot shift parameter is negated before affecting the hotspot.

Triggers Parameters:

Edge Width: Default: 0, Range: 0 or greater, Shared .
Creates a trigger zone at the edge of the screen which affects the brightness and size of the flare. This parameter controls the width of the zone. Setting it to zero will disable Edge Triggers.

Edge Falloff: Default: 2, Range: 0.01 or greater, Shared .
Controls the speed with which the intensity of the trigger decreases when moving away from the edge. A value of 1 results in a linear ramp. Values greater than one result in a steeper initial drop which gradually levels out. Values less than one result in a slope that starts gradually and gets steeper at the end.

Shift Out: Default: 0, Range: any, Shared .
Shifts the trigger zone outward from the edge of the screen, placing the peak off-screen. Negative values will shift the trigger zone inward toward the center of the image.

One Way: Check-box,  Default: off, Shared .
If this box is checked, the trigger will stay at maximum intensity when the Hotspot moves off-screen, instead of ramping back down as it moves farther from the edge.

Show Edge Zones: Check-box,  Default: off, Shared .
Overlays the output with a grayscale image which shows the location intensity of the Edge Triggers.

Center Radius: Default: 0, Range: 0 or greater, Shared .
Creates a trigger zone centered on the Pivot which affects the brightness and size of the flare. This parameter controls the radius of the zone. Setting it to zero will disable Center Triggers.

Center Falloff: Default: 1, Range: 0.01 or greater, Shared .
Controls the speed with which the intensity of the trigger decreases when moving away from the edge. A value of 1 results in a linear ramp. Values greater than one result in a steeper initial drop which gradually levels out. Values less than one result in a slope that starts gradually and gets steeper at the end.

Edge Scale Brtness: Default: 3, Range: 0 or greater, Shared .
Scales the Brightness by this amount when the trigger is at peak intensity. For example, a value of 3 will cause the flare to ramp up to 3 times its normal brightness as it passes through the trigger zone. If less than 1, the trigger will dim the flare instead of brightening it.

Edge Scale Widths: Default: 2, Range: 0 or greater, Shared .
Scales the width of the flare by this amount when the trigger is at peak intensity. For example, a value of 3 will cause the flare to expand to 3 times its normal size as it passes through the trigger zone. If less than 1, the trigger will shrink the flare instead of growing it.

Center Scale Brtnss: Default: 2, Range: 0 or greater, Shared .
Scales the Brightness by this amount when the trigger is at peak intensity. For example, a value of 3 will cause the flare to ramp up to 3 times its normal brightness as it passes through the trigger zone. If less than 1, the trigger will dim the flare instead of brightening it.

Center Scale Widths: Default: 1.5, Range: 0 or greater, Shared .
Scales the width of the flare by this amount when the trigger is at peak intensity. For example, a value of 3 will cause the flare to expand to 3 times its normal size as it passes through the trigger zone. If less than 1, the trigger will shrink the flare instead of growing it.

Occlusion Scale Brt: Default: 1, Range: 0 or greater, Shared .
Enables a Trigger that adjusts the brighness of the flare as it's occluded. The brightness will ramp up to this value when the Hotspot is 50 percent occluded, then ramp back down to its normal brightness. At the same time, the flare will be fading out due to the occlusion, so its brightness will drop off quickly at the end. Works best when Occlusion Softness is turned up as well. This feature only works with Luma masks.

Occlusion Scale Wdth: Default: 1, Range: 0 or greater, Shared .
Enables a Trigger that adjusts the size of the flare as it's occluded. The flare will expand up to this amount when the Hotspot is 50 percent occluded, then shrink back down to its normal size. At the same time, the flare will be fading out due to the occlusion, so it will appear to shrink quickly at the end. Works best when Occlusion Softness is turned up as well. This feature only works with Luma masks.

Show Center Zone: Check-box,  Default: off, Shared .
Overlays the output with a grayscale image which shows the location intensity of the Center Trigger.

Diffraction Glow: Default: 0, Range: 0 or greater, Shared .
Creates a glow on the edges of occluding objects that are near the hotspot, to simulate light bleeding around the edges of the object. This parameter controls the brightness of the glow. This feature only works with Luma masks.

Glow Width: Default: 0.4, Range: 0 or greater, Shared .
The width of the Diffraction Glow.

Atmosphere Parameters:

Atmosphere Amp: Default: 0, Range: 0 or greater, Shared .
Atmosphere gives the effect of the flare shining through a dusty atmosphere and picking up light or getting shadowed. This parameter adjusts the amount, or amplitude, of the atmospheric effect. Zero gives a smoother flare, higher values give more dirty look.

Atmosphere affects some parts of the flare but not others. This behavior can be adjusted for each element by toggling the Ignore Atmosphere setting within the Flare Designer. Typically, elements which originate within the camera (such as secondary reflections) should use Ignore Atmosphere, while elements which originate outside it (such as glows) should not.

Atmosphere Freq: Default: 1, Range: 0.1 or greater, Shared .
Controls the spatial frequency of the atmospheric noise. Turn this up higher to get finer details, turn down for broader overall variation.

Atmosphere Detail: Default: 0.6, Range: 0 to 1, Shared .
Controls the amount of fine detail in the atmosphere simulation. Decrease to get smoother atmosphere, increase for a more crunchy or grainy look.

Atmosphere Seed: Default: 0.123, Range: 0 or greater, Shared .
Used to initialize the random number generator for the atmospheric noise. The actual seed value is not significant, but different seeds give different results and the same value should give a repeatable result.

Atmosphere Speed: Default: 1, Range: any, Shared .
The cloudy noise in the atmosphere evolves over time like real dust clouds; this parameter controls how fast the cloud pattern changes over time. Set to zero for a static pattern.

Glow Color: Default rgb: [1 1 1], Shared .
The color of the Diffraction Glow.

Glow Radius: Default: 0.2, Range: 0 or greater, Shared .
The distance from the hotspot at which Diffraction Glow is visible. The glow will fall off softly as distance from the hotspot increases. Objects outside this radius won't create any glow.

Flicker Amp: Default: 0, Range: 0 or greater.
The amount of random flickering of the flare brightness.

Flicker Speed: Default: 1, Range: 0 or greater.
The speed of random flickering.

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


See Also:

LensFlare
LensFlareTrackMask
LensFlare
LensFlareMask
LensFlareAutoTrack
LensFlareAutoTrackMask
Glint
Glare
Sapphire Plug-ins Introduction

PRODUCT UPDATES & SPECIAL OFFERS

Join our email newsletter and keep up to date