Go to: Synopsis. Return value. Flags. MEL examples.
doBlur [-colorFile string] [-length float] [-sharpness float] [-smooth float] [-smoothColor boolean] [-vectorFile string]
doBlur is undoable, NOT queryable, and NOT editable.
The doBlur command will invoke the blur2d, which is a Maya
stand-alone application to do 2.5 motion blur given the color image
and the motion vector file. For a given input colorFile name, e.g.
"xxx.iff", the output blurred image will be "xxx_blur.iff" in the
same directory as the input colorFile. There is currently no control
over the name of the output blurred image.
colorFile, length, sharpness, smooth, smoothColor, vectorFile
Long name (short name) |
Argument types |
Properties |
|
-colorFile(-c)
|
string
|
|
|
Name of the input color image to be blurred.
|
|
-length(-l)
|
float
|
|
|
Scale applied on the motion vector. Ranges from 0 to infinity.
|
|
-sharpness(-s)
|
float
|
|
|
Determines the shape of the blur filter. The higher the value,
the narrower the filter, the sharper the blur. The lower the value,
the wider the filter, the more spread out the blur.
Ranges from 0 to infinity.
|
|
-smooth(-m)
|
float
|
|
|
Filter size to smooth the blurred image. The higher the value,
the more anti-aliased the alpha channel. Ranges from 1.0 to 5.0.
|
|
-smoothColor(-r)
|
boolean
|
|
|
Whether to smooth the color or not.
|
|
-vectorFile(-v)
|
string
|
|
|
Name of the input motion vector file.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
doBlur -l 2 -s 1 -m 2 -c "testimage" -v "testimage.motion";