3
$\begingroup$

Continuing on with the same logo reveal. The depth of field in Blender results in this horrible effect around the edge. I've seen this sort of blurring a lot in games, Assassin's Creed is quite famous for it.

The focused object shouldn't make this strange outline and I need the edges to look properly blurred and transition nicely into whatever's behind it without this strange effect seen around the square in the top right.

Apologies for the low shading samples.

enter image description here

enter image description here

Just tried it in Cycles. The lighting looks a lot better as usual however the same effect is still happening. I've tried both 'radius' and 'f/stop'. Radius being the same and f/stop creating this crazy blur.

Radius

enter image description here

f/stop enter image description here

The blurred cubes still have sharp edges alongside a blurry outline. enter image description here

$\endgroup$
  • 3
    $\begingroup$ Try using cycles's built in DoF, see blender.stackexchange.com/q/7395/599 $\endgroup$ – gandalf3 Mar 18 '15 at 20:31
  • $\begingroup$ Just tried, and have made an update. $\endgroup$ – Stewie Mar 18 '15 at 21:02
  • 1
    $\begingroup$ Try using only the depth of field on the camera only ( without the defocus node.) $\endgroup$ – cegaton Mar 18 '15 at 21:18
  • 1
    $\begingroup$ use more samples. blender.stackexchange.com/questions/18304/… $\endgroup$ – cegaton Mar 18 '15 at 21:24
  • 3
    $\begingroup$ previewing the depth of field of the camera in cycles is quite easy if you use Rendered shading in the 3D view window (press shift Z to enable) $\endgroup$ – cegaton Mar 18 '15 at 21:29
3
$\begingroup$

I've sometimes had odd results with the defocus node, particularly with large aperture sizes. See 2d vs 3d Depth of Field.

Try using built in Cycles DoF, which simulates the way light behaves at a lower level. It gives realistic and seamless results without requiring any fussing with the Z buffer:

enter image description here

The only downside is the inability to edit it in post.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.