4
$\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$
5
$\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$
  • $\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.stack.imgur.com/VhBGD.jpg) ![enter image description here](i.stack.imgur.com/BClaA.png) $\endgroup$ – TmkDigital Mar 5 '17 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$ – cegaton Mar 5 '17 at 20:30

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.