I’ve whipped up a simple particle test in cycles (based on the blender guru tutorial) and then used the motion vectors and zbuffer to apply motion blur and dof in post. But the resulting dof (from defocus node) looks very very wrong. The middle of the shot doesn’t blur, and nothing i can do changes that. If I do a true 3d dof it looks correct, but the zbuffer seems to delivering incorrect values. Can anyone help?
I’ve included a test scene here. Just bake the particles and render frame 60. The resulting image through the compositor should show pretty extreme DOF except through the middle of the frame. It should also be noted that vector blur is giving spotty results as well, with many particles not blurring at all.
Here is what it should more similar to (this is a 3d dof render)
sparks.zip (1.67 MB)