EffectFog
EffectFog creates a foggy image. The grayness can be varied from start
to end by specifying startfog and endfog values. The density of fog is
controlled by density. The effect of grayness and density values are not
entirely independent. Some care need to be taken in selecting these %age
values. Fogs appear differently on different occasions and modeling is
not always satisfactory.
RGB32, RGB24, YUY2 and YV12 formats only are supported at this time.
The parameters are described below
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 |
Fogginess %age at start |
startfog |
integer |
0 to 100 |
30 |
Fogginess %age at end |
endfog |
integer |
0 to 100 |
startfog |
fog density |
density |
integer |
0 to 100 |
50 |
#Usage examples:-
EffectFog(last,50, 150, 10,50,40)
EffectFog(last,50,150, startfog=40)
EffectFog(last,50,150,endfog=50, density=70)
Image with effect :