I've realized in casual conversation, many people can't easily recall how the technique is commonly used in television and movies. And, they often overlook how common it is.
So, in this post I've collected a bunch of examples from movies, and whipped up some mock images from game screen shots.
This is all just motivation. ;) Ideas for fixing the problem in a practical way is for another post.
Cinema Examples
A few simple shots, showcasing bright point lights, and specular highlights:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmF01oF_WQzMWhBs2e2dRW5WyQxtdClNRvlWFvb7baW_DuxmWad9xz_l3rG17aEFHW9FfId6c75Q0Twzk7NpmQY-YPvB0XaVjDhxGs3Q4f-3hqYaK4l8LcZYm7zneanzDavbX41dwtHc3O/s280/In_America_162.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb7wqsM2IDjqk4Qoy6iI5UcvDy122htYXglHyXiX4uLC1WqFwXy5J-EMGbLHsqudU64wwxbC6b9r4xd3_0g5A_EMqtfMDIYKFikYdRKQfB2GqvWvl5k8djqsME3twLV4Rdg8J6xoRyiroN/s280/Underworld_Evolution_274.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIKLheTEmoynbIYHFp4Wo03fmL9ox5OXVgv9lm8OsQbroHb9okq5JlI5NpN-tH1XB_UbVeeGj14QnI8I9_lwrJrWrRdVMO0pifmIG8COwHMtFFfbr71p7pT3OiuXdlMWONfPST2O5DtwS9/s280/Cruel_Intentions_3_436.jpg)
Similar to the above, but with some edge highlights blurred as well. Look at the horizontal edges blurred in the background on the right of the image:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZCPBZwXNqkWLX4WjmGYAADHsYsgtr0B2-OhM_NehzH0OuiTo-tUX1wWt6OqFvWKPkBtpr3wG1KNDV2soD8e5daCk2xz-7t8fAHLWdUWIJXlb1g3lOKgTPQQUV1kzzLuf1wBrQRJKDm-1v/s280/Next_119.jpg)
The Dark Knight made extensive use of the effect for the entire film. The circles of confusion often had an oval shape due to the Panavision anamorphic lens used (compressing the image on film to an aspect ratio different than that of the screen). Also, note the specular highlights from the henchman's head and waist:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip8BFGF027cG_qNdqA7JQs7TSpzsTuKRRClftMHglktO0Ao_uZzKM9kU3yERuxHBgy14TLr8AhvhJighpaFgsl-WITh4lmaWqto9uPmWaMFNBG7ywsCGiqng1MKSQIk19gEqw99C8OVjdj/s280/screen1_thumb.jpg)
These circles are larger than in many of the others, and also show the non-uniform characteristics of the disks:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7tIaQIUpCLkOv1uQyUbfDAkkdUafhQMN8rJB44VGtTJ_Gzlu7Q0fcEe4alBqhyr1NjUhhah9G59Wn0kTJXB4ZHrqEYzU55oaGGHWfF-BzxA9jeGoC4AOiE1z20i9u6JobhAykMlNUSeGV/s280/darkknight.jpg)
Finally, a subtle image. The amount of blur is minimal, but still distinctive on the lights in the background. Even though slight, delivering this effect will be yet another one of those required level of polish for AAA games in the future:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiErl-vhNAiSzE4VqJkYh_Cy1Hv5JA1Eh5KEV3-9mGIkE0Z-NVZKGEzjsa8XXqd8tzUFAIQD7aMz79Y78hyphenhyphenVn0yRSsgs8Vr_xB6NlB4UskEMJUIZv0kGnfbIAAZgZQ1Ufugc97p9K5jOdUy/s280/In_the_Valley_of_Elah-52.jpg)
Mock Images
I've doctored up some game screen shots to show what is missing. They're quick and dirty, made in Photoshop with "lens blur". In a high dynamic range rendering pipeline, results would be much better, since the distinctive shapes we're looking for are results of very high contrast between highlights and the rest of the background scene.
First, a Mass Effect scene that would have worked well. I quickly added several points of bright light to trigger the effect since the background didn't include small point lights:
Before:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjosptz2hKjjjX3Qd1C_vmqaYWhtV8CeKQyLipHQIe90pCViTIHFad8tA6Y6xWy51w4KrjUBdvDtKT5Nza1HAfYxrHh5yQWR2QXjTibVdq_E68qtVixkYuW6-XPlHurGwXK9Xik0kr-k18y/s280/mass-effect-original.jpg)
After:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrE5RVaPvkU0MX4UEdHaKYyatm6D4z5yzcEbYOLjGkuFc6fzlR-z03on4f1UcZPHD4rM-Pnej6MBRoKIWoeSUOXFBnClbEZ-vSRXN9ndhWjBWmhsx0ruNyd-tlDJIBqCOK6GmcFPBe2JnA/s280/mass-effect-doctored.jpg)
And here marketing screen shot for Unreal Tournament. I only generated a mask and applied the blurs, since the image had good contrast to begin with:
Original:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMGZL5sGVAad_22JDmhf8shU7p6q5Gf12xXd8V0aewCcnhdOP9LwNdgv8YduUMgDc2q3AdtptwSe6ijm8J0f1VmpIWIy9T-R_QN61XS970Ddtd3ZPFXUq6tg25dSZfSIZKa_2cYqU6tm0B/s280/unreal-tournament-2007-tba-20070125113304397.jpg)
Lens blur:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCUmQpnEKjH7fecn28KiMJe_ryCLDrdARxDwLBJyvOkShEooZh8C_Ct2ALQndvvTTLIw6SUcw-Ee8NniP_K64JfLs5niurKC_jfTxmV7pjMFcRuSypaI04p6krKRfwAtjydOluttbV_aIj/s280/unreal-tournament-2007-tba-20070125113304397_lens.jpg)
Gaussian Blur (common in games today, poorer result):
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4vkOsYBbaoPIokFZxFw5Lo4xql68-0LvNIINVICfKZtQgT8DD3Hrp_i6yaE0d118WOTjCc9Um03z4DY16hECZ_y4dm29hXqmUa1DvLwu6m535aqiMqReGwLopP8nScsQTqag8c02n67_9/s280/unreal-tournament-2007-tba-20070125113304397_gausian.jpg)
And, a zoomed section contrasting Gaussian to Lens Blur:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmgbPeSljAqqcZ8xN1KnJzF4gT2Qd0-n2-5ztemyij82clGT4eAG_Oebazo-wOIhrM46p4WBm9qqwG1Z4EBgHGd-F2uC4FD8cmM2PTMXtX8fxdAoIIlME5qacdgdtNfTlo5QuBpElTRFrc/s280/unreal-tournament-2007-tba-20070125113304397_zoom_gausian.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK5P7uCCzNnfdkAwy6dJ59kJxFPt7yCpMIOM5KnREwRHZBAfQAwhUf6Nr_NJXF4UqnWLSCmj185XDQzy28nCg8z9hqtokptGDLCGGyObnF4rAvRnHRC256VkmNk9GmTn1zOBa-YNRAhaqn/s280/unreal-tournament-2007-tba-20070125113304397_zoom_lens.jpg)
Keep your eyes open as you watch TV, or movies, and you'll notice more and more how common this effect is.
Pay attention in games, and you'll notice that we're currently delivering the concept of "out of focus". That's sufficient to draw attention to near, middle, or background. But, games today are not capturing the artistic & emotional feeling that comes with a strong use of the effect.
I have a few prototyping ideas for delivering a higher quality depth of field, which I hope to have time to try out soon, but may likely take a while. As new hardware brings more FLOPS, it's also possible that the O(n^2 * m^2) naive approach may just be used soon enough (as was already done in Lost Planet on DirectX10).
(Next post, Jeff Russell Depth of Field example comments)
Update: Nice technique writeup in 3DMark11