Function
Different
to Shake's version, the preset of CGM's plug-in just blurs
the alpha channel of the image. By default a gaussian blur
is used, but you can change the filter for both X and Y.
It's very important to keep an eye on the spread function.
Because the workspace is infinite, you can select which
pixels will be used for the blur calculation - only the
pixels inside the image, or outside as well. If you are
getting clipping or dark edges on your final image you should
toggle Blur Alphas's spread parameters.
Parameters
|
Type
|
Defaults
|
Function
|
angle |
float
|
45 |
The
direction of the blur in degree. |
blur |
float
|
200 |
The
amount of blur in pixels, for example the amount of
200 will blur 200 pixels to either side of the current
pixel. |
softness |
float
|
10 |
This
is the softness of the wind blur.
|
channels |
string
|
"rgba" |
Which
channels will be blurred. Any or all of rgba. |
Synopsis
image
WindBlur(
image In,
float angle,
float blur,
float softness,
const char * channels
);
Script
image
= WindBlur( In, angle, blur, softness, "channels"
);
Command
Line (Terminal)
shake
-windblur angle blur softness channels
Examples
(Terminal)
shake
/www.CGM-online.com/doc/CGM_Logo.tif -windblur 130 380
- adds the WindBlur filter to the CGM logo. The blur
amount is set to 380 pixels in the angle of 130 degree.
The preset values are used for all other parameters.
shake /www.CGM-online.com/doc/CGM_Logo.tif -windblur
0 "Linear(0,0@1,720@20)"
- adds the WindBlur filter to the CGM logo and animates
the amout of blur from 0 to 720 during the frame
range of 1 to 20.
shake /www.CGM-online.com/doc/CGM_Logo.tif -windblur
5 400 10 "rgbn"
- adds the WindBlur filter to the CGM logo and blurs all
channels instead of the alpha channel.
Example
(Shake's Command Line)
/www.CGM-online.com/doc/CGM_Logo.tif -windblur 0 720
|