Blitz Defocus v7.1

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Maxime Servoise
Blinkscript powered Z-Defocus to handle astigmatism, cat-eye occlusion, chromatic aberration.
13.1, 13.0, 12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11 or later
Linux, Mac, Windows
31 Oct 2023

Blitz Defocus is a blinkscript-powered z-defocus node I wrote as I was struggling finding a tool that would simulate the bokeh streching and cat-eye occlusion happening on anamorphic and retro lenses. So I made one :)

It uses Jedypod's Optical Defocus algorithm so you can use real camera settings such as aperture, f-stop and focal.

Bokeh can then be squashed and cat-eye/barn-door occluded as they stray away from the optic center.

Some little extra features such as lens breathing, chromatic spread, bokeh noise and enhancements can also be found..


pres01-800 copy



Please login in order to download these files.


0 # Oliver Banasiak 2021-11-09 22:53
Would be amazing to have depth processed with this! :)
+1 # Maxime Servoise 2022-01-07 17:30
Just updated the tool, it should compute depth now :)
-1 # Laszlo Gulyas 2022-01-08 12:38
Great stuff Maxime! v2.0 does not have an extension and throws a whole lot of errors on pasting into comp.
0 # Maxime Servoise 2022-01-10 08:17
Sorry, I will compile it properly as soon as I can put my hands on a license again..
0 # Uwe Majer 2022-01-11 09:06
If you replace '' with ' ' in i.e Sublime and change the extension to .nk it is working.
-1 # Uwe Majer 2022-01-11 09:09
ok this reply looks off. In a text editor you see

< 0 x a 0 > (without spaces)

this you need to replace with a tabs
0 # Oliver Banasiak 2022-01-12 15:31
When I open it in notepad and search for that line it can't find it. Could you explain a little bit deeper? Would be awesome!
0 # Maxime Servoise 2022-01-15 15:43
v3.0 fix is here
-1 # Oliver Banasiak 2022-02-14 23:32
When I download it says v6.1, that's correct right? Thanks for making this one more awesome and awesome! Really neat gizmo! Good job!
0 # Oliver Banasiak 2022-02-14 23:44
Hey again! It doesn't recognize my depth pass even when I shuffle it out and use the depth input. Works fine in ZDefocus, Peregrine Labs and in Magic Defocus.
-1 # Maxime Servoise 2022-02-15 08:34
Thank you for the kind words , please try 6.3 :) depth pass should be coming from alpha channel though the depth input.
0 # Oliver Banasiak 2022-02-15 15:45
Hi! Thanks for the fast reply and fix! Will check it out! :D
-1 # Javier Delgado 2022-01-16 20:45
In the gizmo it says v1.5 and the nk file is named v2.0. Then...
+2 # Jonas Kylén 2022-03-31 16:03
This is great! Would love a short tutorial or a written guide on all the features and how it works.
+1 # Nikolai Wüstemann 2022-05-10 15:50
This might be the best defocusing tool out there. All the cat eye stuff has been done with some kind of array in the past, which introduced seams. And the Blink ones were very rudimentary. Nice job, combining the best of all worlds!!! Any chance you leave the Blink code unencrypted, so we can see and learn from it?

I will also leave some feedback for improvement:
The tool should be able to process (and output) the input resolution and not a specified format. Also, the boundingbox should not be discarded. Right now this also results in edge artifacts on the borders of the image and bokeh shapes "popping" into existence when the shot has motion. All this can be easily fixed though.
+1 # Nikolai Wüstemann 2022-05-11 09:00
One more thing that could be improved:
Anamorph footage handling is a bit weird. I have to set the pixel aspect knob to 2 AND the anamorph value in the Filter tab to 0.5 in addition to selecting the anamorph format in the input format knob. Expected solution would be to remove the pixel aspect knob, as the format already contains a pixel aspect that we can use. (parent.format. pixel_aspect)

You have no rights to post comments

We have 2922 guests and 166 members online