Bokeh_Blur | v4.7 |
7.0 or later
Linux, Mac, Windows
Updated on: 04/05/2013
Downloads: 3250
Bokeh Blur simulates realistic lens blurring. It's especially useful when you need to simulate a very 'out-of-focus' background. Has ablilty to use a Zdepth pass (or ramp) to simulate Depth of Field.

V4.7
Updated and optimized for Nuke 7.0
V4.6
Added an input for custom shapes, where the user can add a roto shape to drive the bokeh shapes.
V4.5
Minor bug fix
V4.4
A re-export of my gizmo (may have been a corrupted file)
V4.3
Added a Mask input and a formatting output pull-down, which fixes edge-artifacts on bright images.
V4.2
Improved on the chromoatic abberation, added radial and offset options. Fixed minor Zmatte issues (formerly Zdepth input) You can use any matte for this input.
V4.0
Placed Color and DOF knobs into groups. Fixed issue when nothing was connected to Zdepth, fixed monochrome issue, fixed and enhanced twinkle mode, made improvements to DOF functions. Fixed image input size to match source image. Colored Gizmo to look like a filter node.
Stephen Wong
said:
|
... Hey Jason, do you mind adding a description on how it works with z.depth? It'd be great if it works like zblur. Thanks, Stephen |
Abraham Schneider
said:
|
... Thanks for this gizmo. Problem is: it's not working as expected. Using it on one of my shots always results in an offset of the whole image. Think it has to do with the filter image being not centered inside the square image format. The tooltip of the Convolve mentions "The cropped area is what is used, the center of the filter is the center of the crop". Tried fixing it with a Transform and a Crop, which seems to work. Maybe you want to have a look at it. Abraham |
Jason Bidwell
said:
|
... I incorporated a Zslice node to allow for a DOF effect when using a Zdepth pass. Plug it into the Zmatte input. |
Jason Bidwell
said:
|
... @ Abraham, you may be seeing an offset because of the aberration slider. It just shifts the red and blue channel away from each other. Try setting it to zero. The convolve node is a nuke node and doesn't have effect on the translation of the image. |
Abraham Schneider
said:
|
... @Jason: no, I'm talking about an offset of alot of pixels, not the aberration offset! I have a starfield here and if I use your gizmo, the stars are on completely different locations then without the gizmo. It's definitely a bug of the gizmo. Of course, convolve is a nuke node. But as the help text of it says, the filter center is the center of the crop image. So to not get an offset, the mask should be centered. |
darren coombes
said:
|
... yes, i'm getting the same offset effect too. The gizmo shifts the whole image up and to the right. |
Jason Bidwell
said:
|
... In the gizmo, I am using a constant, which is set the size of your global settings, as a backdrop for the convolve. Try adding a crop before the gizmo, which will properly set your image size/ bounding box to project size. The gizmo works fine for me and I have used it in production. Feel free to open it up and make changes as needed. |
John Rogalski
said:
|
... I'm getting some "knobs don't exist" errors in 6.3v1 with this. namely: 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? |
Jason Bidwell
said:
|
... I just tested it in Nuke 6.3v2 and seems to be working fine. 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. |
Michael Ralla
said:
|
... Guys, In the same matter, I'd also give "Bokeh" a go: It is pretty fast, sort-of hassle-free and rather inexpensive...and looks great. http://peregrinelabs.com/bokeh/ Cheers, m. |
Jakob Weiss
said:
|
... hey jason. if i connect a zpass image to the zdeph input of the bokeh node, it doesn't change anything at all. if i activate the "view matte" button the rgb values are 0 all over the image. if i move the sliders of the "depth of field controlls" it changes nothing. in some cases i got in to work but only if i didn't turn "DOF on/off"- button on (didn't really understand that) and only for a short time. i have nuke 6.3 v4. 64bit installed on windows 7. perhaps you got a idea. your defocus looks really awesome. thanks and greetings from germany jakob |
Jason Bidwell
said:
|
... @ Jakob, I fixed a couple things, including the DOF displaying black when nothing attached. (see version 4.0) Glad you like it. - JB |
chris menz
said:
|
... the gizmo seems to have the alpha.G_matte and rga.alpha layer problem included (see the mailing list discussion on redguard). probably a good idea to remove those lines. chris |
Jason Bidwell
said:
|
... @ Chris I removed the GMatte string from the gizmo. Sorry about that, not sure how it got in there. |
Dima Marov
said:
|
... Very nice result. Using during education to look how I want to see my Convolve shapes and grading result. |
Viet Nguyen
said:
|
... Hi, I tried your v4.3 on Nuke 6.2v4 and I get these messages: Warning: circles.createNewTrack: no such knob circles.{-1} "-1 (none) -1" "1000 New Track Layer 1000": no such knob Warning: octagon.createNewTrack: no such knob octagon.{-1} "-1 (none) -1" "1000 New Track Layer 1000": no such knob Warning: heptagon.createNewTrack: no such knob heptagon.{-1} "-1 (none) -1" "1000 New Track Layer 1000": no such knob Warning: hexagon.createNewTrack: no such knob hexagon.{-1} "-1 (none) -1" "1000 New Track Layer 1000": no such knob Warning: pentagon.createNewTrack: no such knob pentagon.{-1} "-1 (none) -1" "1000 New Track Layer 1000": no such knob |
Jason Bidwell
said:
|
... Viet, I may have exported my Gizmo incorrectly, so I have posted a new version which will hopefully fix your problem. - JB |
phil ede
said:
|
... Hi, this is a very useful tool, but when I try to copy / paste it, or to open my nuke file again, it says : "BokehBlur1.Iris: 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 |
