Effects » Stylize » Special Fx » Flag wave
Release date: Aug. 11, 2018
Creation date: July 27, 2018
*********** WARNING: THIS EFFECT REQUIRES LIGHTWORKS 14.5 OR BETTER ***********
Lightworks user effect FlagWave.fx
This effect simulates a flag waving. It incorporates a 3D DVE to allow the flag to
be scaled, rotated and positioned.
Note that the depth setting interacts with the scaling. This is a side effect of the
way the waveform tracks the DVE settings. An accident originally, it was found to be
useful since it shows the effect is working. For that reason it has been retained,
but it can easily be trimmed out by adjusting the image scaling if necessary.
Modified 2018-08-11 jwrl:
Added a slight vertical ripple to the wave generation to improve realism somewhat.
Added a new parameter, "Orientation", to allow either edge to flutter.
Modified the wave generation component to support right or left edge fluttering.
Definitions and declarations
This first section is a standard 3D DVE. This is the bulk of the effect
From here on is the flag creation. Note that the waveform generation is
recovered first, then used to modify the foreground XY parameters. This
ensures that the flag scaling tracks correctly with the image scaling.