Bokeh_Blur

 v4.7

Bokeh Blur simulates realistic lens blurring.
Author
Jason Bidwell
www.bidwellvfx.com
Requirements
7.0 or later
Linux, Mac, Windows
Created on: 04/05/2013
Updated on: 04/05/2013
Downloads: 3250
Login or Register

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.

BokehBlurTest

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.

 

Comments (27)

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
May 13, 2011

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
May 20, 2011

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.
May 24, 2011

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.
May 24, 2011

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.
May 25, 2011

darren coombes said:

...
yes, i'm getting the same offset effect too. The gizmo shifts the whole image up and to the right.
May 30, 2011

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.
May 30, 2011

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?
August 25, 2011

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.
August 26, 2011

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.
September 01, 2011

yacoob essack said:

...
same shifting poblem here...
September 07, 2011

Jason Bidwell said:

...
@ Abraham, yacob and darren, version 3.6 should correct the shifting issue.
September 27, 2011

Jason Bidwell said:

...
Fixed a couple additional bugs, please use version 3.7.
September 28, 2011

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
November 01, 2011

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
November 06, 2011

Rahul Venugopal said:

...
Great plugin, thanks!
November 16, 2011

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
November 21, 2011

Jason Bidwell said:

...
@ Chris I removed the GMatte string from the gizmo. Sorry about that, not sure how it got in there.
November 22, 2011

Jason Bidwell said:

...
To all, please use version 4.1
November 22, 2011

satheesh R said:

...
Great one Thanks Jason Bidwell :(
December 06, 2011

Jason Bidwell said:

...
Glad you found it useful.
April 17, 2012

Dima Marov said:

...
Very nice result. Using during education to look how I want to see my Convolve shapes and grading result.
April 19, 2012

Tomas Roca said:

...
Hi Jason, I just used it and i think It is very ood. Thanks
May 10, 2012

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
June 11, 2012

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
June 12, 2012

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

July 20, 2012

phil ede said:

...
fixed it... forgot to copy it in the .nuke home directory... :P
July 20, 2012

Write comment
You must be logged in to post a comment. Please register if you do not have an account yet.

busy