Bokeh_Blur v6.2
This location is for Registered Users Only.
Perhaps you need to login or register.
12.2, 12.1 or later
Linux, Mac, Windows
BokehBlur V6.0
Completely redone for Nuke 12. (Use v5.3 for older versions of Nuke.)
Simulates realistic lens blurring. It's especially useful when you need to simulate a very 'out-of-focus' background. Has ability to use a mask or ramp to simulate DOF. (Fixed issue qith mask input)
All sliders have been normalized, so values live in a 1-10 size. Bokeh size is still dependent on the size of the plate connected to the image input.
Updated GUI
Cat-eye distortion
It’s not as accurate as others have done with blink-scripts, but this renders fairly quickly. It will be slower on lager plates.
Revised Anamorphic options to scale the bokeh shape, if needed, for matching to various lenses.
Mask Input, which can be used to simulate DOF.
You can attach a ramp or feathered roto. to the mask input and enable the mask check-box. You could even key the depth pass and use that as a mask.
Irregularity adds an organic look to the procedural iris shapes. This option is bypassed when using custom kernels.
Custom kernels should be a square format. BokehBlur creates a kernel based on the max RGBA.
Credits:
Cateye distortion inspired by Wes Heo’s ’W_CatsEye’ gizmo and M.Eiche’s ‘iBlur’ gizmo.
Nukepedia button inspired by Luma’s ‘Fuse’ gizmo. https://github.com/LumaPictures/LumaNukeGizmos
Comments
It'd be great if it works like zblur.
Thanks,
Stephen
Abraham
The gizmo works fine for me and I have used it in production. Feel free to open it up and make changes as needed.
Bokeh_Blur_jb.Added: no such knob
Bokeh_Blur_jb.simple: no such knob
Bokeh_Blur_jb.aberration: no such knob
Bokeh_Blur_jb.slider.: no such knob
The gizmo now just turns the image black and appears to not be functioning :/. any thoughts?
BTW, If you have "view matte" selected without a Zdepth pass connected, it will show a black screen. Also, if you tell the gizmo to set all knobs to default, the bokeh size slide goes into the negative integers, which also appears black. Grab the bokeh slider and slide until it shows an image again. Hope that helps.
In the same matter, I'd also give "Bokeh" a go: It is pretty fast, sort-of hassle-free and rather inexpensive...a nd looks great. http://peregrinelabs.com/bokeh/
Cheers, m.
thanks and greetings from germany
jakob
Glad you like it.
- JB
chris
I tried your v4.3 on Nuke 6.2v4 and I get these messages:
Warning: circles.createN ewTrack: no such knob
circles.{-1} "-1 (none) -1" "1000 New Track Layer 1000": no such knob
Warning: octagon.createN ewTrack: no such knob
octagon.{-1} "-1 (none) -1" "1000 New Track Layer 1000": no such knob
Warning: heptagon.create NewTrack: no such knob
heptagon.{-1} "-1 (none) -1" "1000 New Track Layer 1000": no such knob
Warning: hexagon.createN ewTrack: no such knob
hexagon.{-1} "-1 (none) -1" "1000 New Track Layer 1000": no such knob
Warning: pentagon.create NewTrack: no such knob
pentagon.{-1} "-1 (none) -1" "1000 New Track Layer 1000": no such knob
this is a very useful tool, but when I try to copy / paste it, or to open my nuke file again, it says : "BokehBlur1.Iri s: no such knob
BokehBlur1.Hexagonal: no such knob
BokehBlur1.specSwitch: no such knob
BokehBlur1.true: no such knob
BokehBlur1.chromAbr: no such knob
BokehBlur1.true: no such knob
BokehBlur1.CAbr: no such knob
BokehBlur1.Offset: no such knob
BokehBlur1.twinkle: no such knob
BokehBlur1.true: no such knob
BokehBlur1.Twinkle_Size: no such knob
BokehBlur1.150: no such knob
BokehBlur1.ZblurAmount: no such knob
BokehBlur.Iris: no such knob
BokehBlur.Octagonal: no such knob
BokehBlur.specSwitch: no such knob
BokehBlur.true: no such knob
BokehBlur.chromAbr: no such knob
BokehBlur.true: no such knob
BokehBlur.CAbr: no such knob
BokehBlur.Offset: no such knob
BokehBlur.twinkle: no such knob
BokehBlur.true: no such knob
BokehBlur.Twinkle_Size: no such knob
BokehBlur.150: no such knob
BokehBlur.Zblur: no such knob
BokehBlur.true: no such knob
BokehBlur.ZblurAmount: no such knob"
and it gets rid of all settings and the settings panel is not acessable anymore.
I´m using Nuke 6.3v4
For now, you could use a Keymix.
Hope this helps.
I have fixed the bokeh size=0 problem to not display black.
Bounding box is preserved, but very large bounding box will cause slowness and possible crash, especially using the Cat-eye option.
Zdepth input has been removed in favor of a mask input. When you enable it it looks for an alpha and will use zslices to simulate real DOF.
If you take the depth pass and shuffle it to the alpha channel, you could grade it to work as a depth pass. Also using two BokehBlur nodes together can create the FG and BG out of focus look.
I have also made sure the alpha gets process along with the RGB.
When i try to open 6.0, Nuke 12.0v4 write this:
BokehBlur.ReformatToInput9.filter: Bad value for filter : impulse
BokehBlur.Reformat13.filter: Bad value for filter : impulse
BokehBlur.Reformat17.filter: Bad value for filter : impulse
BokehBlur.Reformat19.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput5.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput6.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput8.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput1.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput2.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput3.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput11.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput12.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput13.filter: Bad value for filter : impulse
while executing
"scriptReadFile $f"
invoked from within
"if [file isdirectory $f] {
# load all images in this directory
set ff [filename_list -compress $f]
foreach t $ff {
set fulln..."
(procedure "drop" line 14)
invoked from within
"drop $drop_text"
What i can about this?
The others older versions don´t open.
Thx.
I was using 12.1v2 so maybe Foundry decided to change names of things in latest version. I will look into it when I can.
Thx!
BokehBlur.ReformatToInput9.filter: Bad value for filter : impulse
BokehBlur.Reformat13.filter: Bad value for filter : impulse
BokehBlur.Reformat17.filter: Bad value for filter : impulse
BokehBlur.Reformat19.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput5.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput6.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput8.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput1.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput2.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput3.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput11.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput12.filter: Bad value for filter : impulse
BokehBlur.ReformatToInput13.filter: Bad value for filter : impulse
Change "Group" to "Gizmo" and change the file suffix to .gizmo
About the errors; you might have to update your Nuke version because I think there was an early version that created an error with the impulse filter. It worked correctly for me in 12.1 and 12.2.
RSS feed for comments to this post