The blur2d utility applies a 2D motion blur on the input image based on saved motion vector information. In Autodesk® Maya®, motion vectors are saved with the image during rendering when Keep Motion Vectors is turned on in the Motion Blur section of the Render Settings window.
blur2d [-h] [-l blurLength] [-s blurSharpness] [-m smoothValue] [-n start end step] [-f inputFileName]
[-r smoothColor]
blur2d -f sphere.iff
The blurred image is saved as sphere_blur.iff.
blur2d -l 4 -f sphere.iff
The image is blurred with a blur length of 4 and saved as sphere_blur.iff.
blur2d -n 1 10 1 -f sphere.iff
The input image sequence being sphere.iff.1 ... sphere.iff.10, the output sequence would be sphere_blur.iff.1 ... sphere_blur.iff.10.
To blur an animation sequence, the sequence files have to be named as name.ext.# or name.#.
The command to blur the name.ext.# sequence is:
blur2d -n start end by -f name.ext
The command to blur the name.# sequence is:
The following example uses the motion path of one image and applies it to another. This is useful when you are rendering a very large file (which you want to speed up by not rendering motion blur). This example does a second, fast render (no lights or textures, low anti-aliasing) at the same resolution and with motion vectors on, and uses this to apply blur to the very large render.
blur2d -n 1 500 1 -l 2 -f ImageBeautry -v imageVector
imageBeauty is the high quality render and imageVector is the low quality render with motion vectors.
blur2d -n start end by -f name