Defocus_Aberrations v1.2
This location is for Registered Users Only.
Perhaps you need to login or register.
13.1, 12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11.0, 10 or later
Linux, Mac, Windows


Defocus-Aberrations simulates a range of optical aberrations related to lenses and defocus.
This started as a chat message from another comp supervisor I work with. He had a shot he was working on that was heavily defocused and had cat's eye and cropped bokeh visible. He asked if there was a good Nuke tool to handle this and I wasn’t aware of any so built a really simple one to help that shot. Defocus_Abberations grew out of that and I added a number of additional effects along the way.
This is my first contribution to Nukepedia. It’s not as fast as I would like and in some circumstances can have visible artifacts, but I think it might be useful to others.
Here’s a list of the supported features
Internal bokeh generator with noise and onion rings (or external input)
ZDefocus - Nuke’s math or lens based optical defocus (thanks Jedediah Smith
Preprocessor with gamma and highlight boost
Cat’s eye bokeh (circular vignetting)
Astigmatism (radial and tangential stretching)
Cropped bokeh (matte box flagging)
Bokeh color fringing (axial chromatic aberration)
Field curvature effect (causes corner or center blurring)
Lateral chromatic aberration (corner color smearing
Coma
Two styles of vignetting (natural cos^4 falloff and image circle)
To handle effects requiring localized processing for different regions of the screen, the image is divided up into an array of segments and then merged back together after processing. You can determine the size of the array, but rebuilding and processing slows with larger grids.
ChangeLog:
1.0 - Initial release
1.1 - Modified initial reformat of image input to preserve bounding box outside image area for improved edge handling
1.2 - Swapped shuffles nodes to v11 compatible versions (Thanks to Nikolai Wüstemann)
CAT'S EYE BOKEH - with green-magenta axial chromatic aberration:
ASTIGMATISM:
CROPPED BOKEH - with red-blue axial chromatic aberration:
FIELD CURVATURE - with vignettes and green-magenta lateral chromatic aberration:
ZDEFOCUS SUPPORT:
Comments
https://wuestemann.net/nuke/Defocus_Aberrations_1.1_updated.nk
I have to 2nd Nikolai here, this is insane. Never have I ever seen any gizmo so great in replicating actual lens artifacts instead of random abberations. I fiddled just a few mins and could already replicate some troubled anamorphic footage: https://i.imgur.com/JJSxK5g.jpeg
If you allow some (hopefully constructive) feedback: having a preview of the anamorphic squeeze in the base kernel-view would be really helpful in some cases (like when you can't get a good bokeh-sample from the footage and you want to match it side by side)
Best,
Lucas
Nikolai, I did realize after sharing it with someone at work that I used the new shuffle node, so it's Nuke 12+. I'm just accustomed to using that node at this point, but it's' a bummer that that cuts out people with older versions.
Lucas, I choose to keep the "Base Kernel" as the raw circular iris shape and to have the "Kernel Array" with the bokeh mods applied so you could see how things are affected across the screen. You could rebuild the array with a lower cell count if you need to see the anamorphic kernel larger. It wouldn't be a big deal to modify it, but I'm not able to do that right now.
Thanks Again... Brian
totally understand it :) just thought it could be a conveniant upgrade if you ever decide to make an updated version. Super stoked about it already, this tool would've saved me some serious time in lots of productions :)
Best,
Lucas
RSS feed for comments to this post