File Exchange

image thumbnail

AACAM - Realistic Depth of Field Rendering in Matlab 3D Figures

version 1.2.0.0 (4.13 KB) by Anders Brun
Realistic rendering of depth of field in Matlab 3D plots using focal length and aperture size.

5 Downloads

Updated 04 Sep 2012

View Version History

View License

Say 'hello' to your brand new Matlab 3D camera. The matlab function aacam.m uses brute force simulation to enable realistic depth of field rendering in 3D plots. It allows you to specify focal length and aperture size, in several ways, and obtain interesting and realistic renderings of your 3D scenes.

Have a good time visualizing your data.

Cite As

Anders Brun (2020). AACAM - Realistic Depth of Field Rendering in Matlab 3D Figures (https://www.mathworks.com/matlabcentral/fileexchange/37943-aacam-realistic-depth-of-field-rendering-in-matlab-3d-figures), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (5)

Ted Shultz

I had a lot of fun playing with this. For some reason I have to run it twice to get reasonable results (!), I suspect that may be an issue with my video card, but I haven't had a chance to dig into this yet. I would be curious to see some of the other images that people have been able to make using this powerful tool!

Ted Shultz

Marcin Konowalczyk

Edgar Goederer

You might want to mention that it requires the image processing toolbox.

Stuart Layton

Very cool!

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Myaa - My Anti-Alias for Matlab

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!