Effects » DVE » Crop Presets » Deco DVE


Deco DVE
Author(s):
Release date: July 6, 2018
Creation date: April 27, 2017
License: unknown

Lightworks user effect Deco_DVE.fx

This is an Art Deco take on the classic DVE effect. It produces two independently
adjustable borders around the foreground image. It also produces corner flash lines
inside the crop which are adjustable.

It allows the foreground image to be resized and positioned inside the crop window,
as well as allowing the foreground composite with borders to be scaled and
positioned. Finally, as the composite is zoomed out the user can choose to have a
single instance on screen or multiples.

Although this uses four passes to perform its magic, they are either very simple or
use simple mathematics. As a result it should be capable of real time speeds on even
minimal systems.

Cross platform compatibility check 31 July 2017 jwrl.
Explicitly defined float2 and float4 variables to address behavioural differences
between the D3D and Cg compilers.
Inverted the position settings. They originally worked backwards. i.e., from the
camera point of view.

Version 14.5 update 24 March 2018 by jwrl.
Legality checking has been added to correct for a bug in XY sampler addressing on
Linux and OS-X platforms. This effect will function correctly when used with all
current and previous Lightworks versions.

Modified 7 April 2018 jwrl.
Added authorship and description information for GitHub, and reformatted the original
code to be consistent with other Lightworks user effects.

Modified 6 July 2018 jwrl.
Added a note to describe the function of the effect.
Cleaned up border generation code so that it's much clearer what's going on.
Reformatted the sampler definitions to be consistent with my other effects.
Inputs
Samplers
Parameters
Definitions and declarations
Functions
Shader
Techniques