-What this script does?
-The script postprocess rendered images(with Blender) based on
the movement of the object within the scene creating a directional
blur(triangle linear kernel) in the direction of the movement.
Requires PIL(Python Image Library) www.pythonware.com
-How this script works?
1
-Render a sequence of images(or one image by setting Sta: equal to End:), letting Blender name
them(0001.jpg,0002.jpg...etc) and enter the path in field 1 in the image above.
2
-Enter in the string field 2 the path where you want to save the blurred
images
3
-Select the object which moves in the scene and press "Add Object"(4) to
insert it in the list.Repeat it for all the objects in motion(or not if you do Manual Blur for static objects)
4
-Select the format of the files to be saved(string field 5) and of the input
prerendered files(string field 6)
5
-Select "Auto" toggle button(8) if want to let the object be blurred based on
its movement.When the motion between two adjacent frames is impercetible for the script no blur will occur.
To generate blur must use manual settings(below).
By selecting it the "Manual" will be unselected and viceversa.
6
-Sometime the movement projected on the screen is unsignificant.The "Auto"
mode will not produce blur.Selecting "Manual" toggle button (9) in the
field 10 can insert the ammount of blur in pixels.The script get the direction
of the movement every frame.Inserting a number of frames in the "frame diff"
(11) the direction will be calculated between the current frame + "frame diff".
This let a better angle calculation.
7
-The ammount of blur(especially for the auto mode) can be changed by multiplying
it with factor(7).
-In the string field(12) will appear error messages(if any).
8
-Run the script(13) .In the dos window can follow the progress.
-The script works both for Object and Camera movement. Get Motion Blur Script example