EffectUnderWater
EffectUnderWater function creates the effect of the image floating on
a pool of water. Slowness of sashay, number of cells and wave height as
%age of cell dimension are the parameters. (Cells*Cells) gives total number
of cells used to create effect. The larger it is the finer the appearance.
But as amp is a %age, the upheaval will become less. The parameter calm
(slowness in seconds) determines how fast the sashaying takes place. See
EffectWater function also.
RGB32, RGB24 YUY2 and YV12 formats only are supported.
Details of parameters
Description |
Name |
Type |
Limits |
Default |
clip |
|
clip |
|
none |
Effect start frame number |
sf |
Integer |
within clip |
first frame |
Effect end frame number |
ef |
Integer |
within clip |
last frame |
slowness in seconds |
calm |
integer |
1 to 10 |
5 |
number of cells in each dimension of frame |
n |
integer |
4 to 24 |
10 |
wave amplitude as %age |
amp |
integer |
1 to 100 |
60 |
#Usage examples:-
EffectUnderWater(last,50,90,1,8,40)
EffectUnderWater(last,59,90,amp=80)
EffectUnderWater(last,59,90)
Image with effect :