5
$\begingroup$

Hi guys I want my camera to display vertical bokeh stretch instead of horizontal. The rotation option in DOF settings of camera, doesnt rotate the bokeh.

Horizontal stretched bokeh (low res render just to illustrate)

enter image description here

What I want:

enter image description here

Maybe there is a simple solution to rotate it?

$\endgroup$
0

1 Answer 1

6
$\begingroup$

You can simulate the ellipsoidal bokeh created by anamporphic lenses by changing the ratio on the depth of field settings.

The defalut value for ratio of 1:1 will give you a circular shape, while a larger or smaller number will make the defocused elements deform in an ellipsoidal shape.

A value higher than 1 will deform the defocused areas on vertical ellipsoids (the most common anamorphic lenses will compress the image on a 2:1 aspect)

Conversely to deform horizontally use numbers smaller than 1

enter image description here

enter image description here

To create custom shapes for the bokeh (As described in this link: http://www.diyphotography.net/can-you-make-computerized-shaped-bokeh/):

Create a plane with a hole that has the shape of the bokeh you want.

Place the plane really close in front of the camera (adjust the clipping distance if necessary, so that the camera can see the object)..

Set the depth of field on the camera, and render.

enter image description here

Click on the image to enlarge

enter image description here

Click on the image to enlarge

$\endgroup$
2
  • $\begingroup$ Thanks for your explanation! This is my try, would you have any criticism or feedback? I see the plane adds less contrast but I guess the cut outs that photographers use also add similar defects. I guess color correction and glow in post could help the realism in an actual project ![enter image description here](i.sstatic.net/VhBGD.jpg) ![enter image description here](i.sstatic.net/BClaA.png) $\endgroup$
    – TmkDigital
    Commented Mar 5, 2017 at 13:54
  • $\begingroup$ @TmkDigital keep in mind that when dealing with depth of field the same rules apply as they would on a real camera, the selective de-focus will be more evident on longer lenses and if the subjects are close to the camera. You might want to work with a camera with a large sensor size and also increase the length of your lens. One more think to remember is you need to increase the number samples to get cleaner images. $\endgroup$
    – user1853
    Commented Mar 5, 2017 at 20:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .