Page 1 of 2
Optical vignetting test
Posted: Thu Nov 10, 2011 12:16 pm
by OnoSendai
Just messing around with a test implementation of optical vignetting.
You can read about optical vignetting here:
http://toothwalker.org/optics/vignetting.html
Optical vignetting is responsible for the squashing / cat-eye effect of the out of focus lights near the edge of the image.
The scene here is just a matrix of small spheres with an emitting material. The camera is quite out of focus, obviously

Aperture shape is circular.
Re: Optical vignetting test
Posted: Fri Nov 11, 2011 1:47 am
by Zom-B
Sounds like a interesting new feature!
Can you tell us if this effect comes for free (regarding speed), and if it will be triggerable?
Re: Optical vignetting test
Posted: Fri Nov 11, 2011 1:56 am
by OnoSendai
Hi Zom-B,
It should be pretty cheap.
It will probably be controlled by a couple of parameters - lens length, and lens radius. Setting lens radius to a large value will effectively disable the optical vignetting.
Re: Optical vignetting test
Posted: Fri Nov 11, 2011 11:47 am
by OnoSendai
Got spherical aberration working, woo!
Spherical aberration manifests as a bright edge to the bokeh.
I'm trying to match the spherical aberration on my Nikon D5000. It looks like the D5000 has negative spherical aberration.
The top image below is the Indigo render showing spherical aberration.
I've attached the photo from my Nikon as well.
Re: Optical vignetting test
Posted: Fri Nov 11, 2011 12:05 pm
by OnoSendai
And here's a render show both optical vignetting and spherical aberration:
Re: Optical vignetting test
Posted: Sat Nov 12, 2011 1:17 am
by dougal2
Cool!
Re: Optical vignetting test
Posted: Sat Nov 12, 2011 1:19 am
by Voytech
That's really neat. A perfect little detail to make the renders that much more realistic. Let me know if you need more samples. Or perhaps you could even build a format for this to import lens characteristics. Would be fun to maybe reverse engineer the Adobe Lens Profiles so that they can be used with this.
Re: Optical vignetting test
Posted: Mon Nov 14, 2011 10:48 pm
by zeitmeister
Very cool!!!
Can't wait to get this implemented!!!
Re: Optical vignetting test
Posted: Thu Sep 20, 2012 12:31 am
by dcm
cant wait too, im big fan of lens effects simulation!
Re: Optical vignetting test
Posted: Thu Sep 20, 2012 5:02 am
by StompinTom
Are these in the next Indigo release?

Re: Optical vignetting test
Posted: Thu Sep 20, 2012 5:08 am
by OnoSendai
StompinTom wrote:Are these in the next Indigo release?

They're not available yet, maybe after 3.4 I'll try and get this stuff ready.
Re: Optical vignetting test
Posted: Thu Sep 20, 2012 7:05 am
by galinette
OnoSendai wrote:Just messing around with a test implementation of optical vignetting.
You can read about optical vignetting here:
http://toothwalker.org/optics/vignetting.html
Optical vignetting is responsible for the squashing / cat-eye effect of the out of focus lights near the edge of the image.
The scene here is just a matrix of small spheres with an emitting material. The camera is quite out of focus, obviously

Aperture shape is circular.
Hey that's not vignetting, that's distortion.
Vignetting is the reduction of brightness with increasing distance to the image center
Etienne
Re: Optical vignetting test
Posted: Thu Sep 20, 2012 7:08 am
by OnoSendai
It results in an effective decrease of illumination towards the edge of the photo/sensor.
Re: Optical vignetting test
Posted: Fri Mar 15, 2013 8:47 am
by Olis
This is awesome! When will it be implemented? I'm very eager to render my scenes with a less than perfect lens

Re: Optical vignetting test
Posted: Fri Mar 15, 2013 11:47 am
by StompinTom
Olis wrote:This is awesome! When will it be implemented? I'm very eager to render my scenes with a less than perfect lens

I usually just take a picture of my screen with a film camera.