Sapphire Plug-ins for AVX2: FeedbackDistort

S_FeedbackDistort

The previous frames of the input clip are
distorted by the gradient of a given Lens input clip and combined
with the current frame to give a variety of possible effects. The
output of each processed frame is stored and then combined with the
next frame. The feedback is reinitialized whenever any
non-consecutive frame is processed, either the first frame,
reprocessing a given frame, or jumping to another frame. You must
process multiple frames of a clip in a row to observe the effect.

In the Sapphire Time category.

Inputs:

Source:
The current track.
The clip to be processed.

Lens:
Selectable.
Distorts the previous frames using the brightness values of
this input clip.

Background:
Optional.
The clip to use as background. The output of the effect is composited over this clip.

Mask:
Optional.
Interpolate between the result and the Source input. White areas
use the result of the effect. Black areas use the Source clip.

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.

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.

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.

Prev Brightness:
Default:
0.8,
Range:
0 or greater.
For each frame, the previous output is scaled by this amount
before it is combined with the new input frame. Normally this value
should be less than 1.0 which causes previous frames to fade out
over time. A value of 1.0 causes no fading, and values greater than
1.0 cause previous frames to become brighter over time.

Prev Color:
Default rgb:
[1 1 1].
For each frame, the previous output is scaled by this
color before it is combined with the new input frame. This is
similar to Prev Brightness but affects the colors of the previous
frames instead of just the brightness.

Prev Hue Shift:
Default:
0,
Range:
-1 to 1.
Shifts the hue of the previous frames' colors, for each
new frame.

Ave:
The current frame is averaged with the previous
output, smearing moving objects out over time. The output is scaled
by Fade and the input is scaled by 1.0-Fade for a weighted average,
so Fade must be less than 1.0 for this to work properly. Unlike the
other combine options, Ave should never affect the brightness of
stationary objects in the clip.

Max:
The colors of the current frame and previous frames
are combined with a maximum function. This makes the output frame
at least as bright as the current frame, and will make brighter
'trails' for example if you have bright objects moving on a dark
background.

Screen:
The colors of the current frame and previous
frames are combined with a blend function. This can be used to
accumulate the colors of a moving clip. However, non-black regions
will become brighter with each frame.

Add:
The colors of the current frame and previous frames
are added. This can also be used to accumulate the colors of a
moving clip, with the non-black regions becoming brighter at each
frame.

Over:
The current frame is composited over the previous
frames using its Alpha channel. This uses pre-multiplied
compositing, so where the alpha is black the Source image should
normally also be black. If the input clip contains no Alpha
channel, the luminance is used instead.

Under:
The current frame is composited under the previous
frames.

New Color:
Default rgb:
[1 1 1].
Scales the color of the current frame. Set this to the
complement of Old Color to offset overly colored trails.

New Opacity:
Default:
1,
Range:
0 to 10.
Scales the opacity and brightness of the current frame.

Distort Amount:
Default:
0.1,
Range:
any.
The severity of the feedback distortions. Make
negative to invert the direction of the distortions.

Blur Lens:
Default:
0.1,
Range:
0 or greater.
Smooths the lens image by this amount before using it.
Increase this for smoother more continuous feedback directions.

Rotate Distort:
Default:
90,
Range:
any.
Rotates the distortion direction by this many
degrees. If non-zero, this can create some twisting distortions.

Blur Amount:
Default:
0,
Range:
0 or greater.
The previous frames are blurred by this amount for
each new frame. This has no effect unless it is positive.

Diffuse Amount:
Default:
0,
Range:
0 or greater.
The previous frames are passed through a
pixel-diffusion process of this magnitude, for each new frame. This
has no effect unless it is positive.

Center:
X & Y, Default:
screen center.
The center position for rotation and scaling, in screen
coordinates relative to the center of the frame. This parameter can be adjusted using the Center Widget.

Z Dist:
Default:
1,
Range:
0.001 to 10.
For each new frame, the 'distance' of the previous frames is
scaled by this amount. This causes zooming during the feedback
process. Values greater than 1.0 zoom out and make the previous
frames smaller, and values less then 1.0 zoom in and enlarge them. This parameter can be adjusted using the Transform Widget.

Rotate:
Default:
0,
Range:
any.
For each new frame, the amount of rotation in degrees to
apply to the previous frames. This parameter can be adjusted using the Transform Widget.

Shift:
X & Y, Default:
[0 0],
Range:
any.
Shifts the previous frames by this amount for each new frame.
If this is non-zero the Center location is less meaningful. This parameter can be adjusted using the Shift Widget.

Wrap:
X & Y, Popup menu, Default:
[
No No
].
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.

Mask Use:
Popup menu, Default: Luma
.
Determines how the Mask input channels are used to make a
monochrome mask.

Luma:
the luminance of the RGB channels is used.

Alpha:
only the Alpha channel is used, or if there is no
valid Alpha channel the Red channel is used.

Blur Mask:
Default:
0.05,
Range:
0 or greater.
Blurs the Mask input by this amount before using. This
can provide a smoother transition between the masked and unmasked
areas. It has no effect unless the Mask input is provided.

Invert Mask:
Check-box, Default:
off.
If on, inverts the mask input so the effect is applied
to areas where the Mask is black instead of white. This has no effect
unless the Mask input is provided.