Understanding Lens Aberrations in 3D

Types of Bokeh in Depth of Field

Reading time
5 min
Published on

February 10, 2024

Blauw Films

Today we're going to talk about bokeh. You've most definitely seen these out of focus shapes of light.

Bokeh describes the feel of your blur.

Differences in lens aberrations and aperture shape cause very different bokeh effects. As well as your decision of shooting with spherical or anamorphic lenses.

Monochromatic vs Chromatic Aberrations

Let's first actually look at the difference between a spherical and an anamorphic lens by analyzing what they do to the magnification of light.

To make an anamorphic lens in 3D I'm using a Cylinder from which I'm cutting a straight cube. This will act as our anamorphic lens element.

For a Spherical Lens we are doing the same with a sphere: 

I've given them a simple refractive material with Caustics enabled. That will allow us to shine light through the element and se how it is bent by the lens.

As you can see, the anamorphic lens element (left) stretches the light

Anamorphic lenses make use of cylindrical lens elements and spherical lenses use spherical elements. On an abstract level that is what creates the distinct look between them.

Lens Aberrations

Simply put, aberrations are imperfections in your lens that add texture and details to your image.

There are two important categories of aberrations: 

  1. Monochromatic aberrations
  2. Chromatic aberrations

Monochromatic aberrations include spherical aberration, coma, astigmatism, field curvature and image distortion. These are all the optical effects that change the perfection of the light-rays hitting the sensor.

Chromatic aberrations are the more obvious ones to our eye as they shift the wavelengths of colored light. Thus creating a mis-alignment of the different colors on the sensor.

Spherical Aberrations are primarily responsible for the distribution of light within a lens.

This means that even though all the light coming through the lens meets nicely at a tiny point on the sensor or film, the light distribution within the cone itself may be uneven.

This aberration causes the blur-circles to be unevenly lit, and instead they tend to collect more light in the middle of the discs or towards the edges.

Bokeh Test Scene

Let's see all of these principles coming together in some 3D renders!

In the example above we are working with

  1. a hexagonal aperture map
  2. with over-compensated light distribution
  3. a slight bit of chromatic aberration
  4. and strong monochromatic aberration (causing a cat-eye bokeh) 

All of these details should be considered when working on your 3D-renders.

Bokeh is the feel of your blur.

And thus it has a fundamental impact on how your shot is perceived by you and the viewer. The decision of how you want it to look and feel is fully yours.

In the following examples from Operation: Deli Platter you can see how there is a soft falloff between the edges of the gun and the characters in the background. And highlights that are out-of-focus are magnified into a rough eye-bokeh shape.

A blue military patch with a white dove from Operation: Deli Platter.

Production Ready 3D Bokeh

To accelerate our process of achieving realistic bokeh we made the Free Bokeh Builder project file. This is a combination of custom aperture maps that have been pre-rendered with all types of light-compensation, and an After Effects full customization setup for any time you need even more control. 

Be sure to check it out on and start creating beautiful depth of field!

Download the Bokeh Builder for Free from our Resources page

Conclusion

When creating photorealistic 3D renders you will inevitably run into depth of field. It's the journey starting out with an artificially sharp render that screams computer generated imagery, to an imperfect image with a soft falloff between what is in focus and what isn't. However, it is still a fine balance of settings to truly achieve that extra photorealism you are looking for. As the blur, or bokeh, of your image has multiple layers of imperfections itself.

I hope to have covered the most important aspects of lens aberrations in today and how they (together with the aperture shape) directly impact the look and feel of your bokeh effect :)

For those of you who would like to truly dive deep into customizing your bokeh, I'd recommend this blog on the subtle details that bokeh brings into the render. Good luck! 

Table of Contents
Stay connected with Blauw Films! 
For the latest updates, breakdowns and exclusive content, follow us on Instagram, LinkedIn and YouTube

Reading List

References

0 Comments

Active Here: 0
Be the first to leave a comment.
No Name
Set
Moderator
4 years ago
This is the actual comment. It's can be long or short. And must contain only text information.
(Edited)
Your comment will appear once approved by a moderator.
No Name
Set
Moderator
2 years ago
This is the actual comment. It's can be long or short. And must contain only text information.
(Edited)
Your reply will appear once approved by a moderator.
Load More Replies

New Reply

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Load More Comments
Loading

Up next

That was the latest post.

Check back soon for more entries to the library.

Previous

That was the oldest post.

We are working on updating our archives.

You might also like

A blue arrow pointing right from the Blauw Films website.
Planet Earth in a half translucent blue and purple color with a glow rendered in the Blauw Films crystal material.

Join the Newsletter!

Be the first to hear about our latest releases and news!

Want to start Dreaming in Blauw[1]?

Oh no! That didn't seem to work.

By entering your email, you agree to receive a curated newsletter from Blauw Films.

[1]: Dreams of Blauw are any form of crystallised thought based on honest expression. Sometimes they linger a shade of blue in your after-image.