EffectConez
EffectConez function wraps the image over a cone of given base and top
diameters.. The cone can be either vertical or horizontal. Unaffected
image is blackend out if background is false. Otherwise original image is
retained. Wrapping can be gradual or constantly full. If equal values of
base and top are used then it will be a cylinder. In case of Horizontal
the base will be diameter of the cone at left end. The cone edges or
central axis can shaded.
RGB32, RGB24 and YUY2 and YV12 formats only are supported. Currently YUY2
is a little blocky.
Details of parameters
Description |
Name |
Type |
Limits |
Default |
clip |
|
|
valid clip |
|
Effect start frame number |
sf |
Integer |
within clip |
first frame |
Effect end frame number |
ef |
Integer |
within clip |
last frame |
Direction of cone axis |
dir |
string |
"hor" "ver" |
"ver" |
Is wrapping progressive or constant |
prog |
boolean |
true for progressive |
true |
Base diameter |
base |
integer |
4 to width or height |
half of width or height |
Top diameter |
top |
integer |
4 to width or height |
base |
Shading |
shade |
integer |
-255 to 255. If -ve edges are shaded more. |
0 (no shading) |
Whether original image to be retained as background? |
bkgrnd |
boolean |
true for yes, false for black background |
true |
#Usage examples:-
EffectConez(last,50,90, "hor",true,120,20, 50,true)
EffectConez (last,59,90, "ver", true, shade=-50, bkgrnd=false)
EffectConez (last,59,90, "hor", base=100, top=200)
EffectConez (last,59,90)
Image with effect :