From the course: Nuke New Features Consolidated

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

ZDefocus: Adding filter inputs

ZDefocus: Adding filter inputs - Nuke Tutorial

From the course: Nuke New Features Consolidated

ZDefocus: Adding filter inputs

- [Steve] We've seen the disc and bladed filter types, so let's see what happens when we supply our own image to create a custom bokeh shape. Before I select that however, I'm going to show you the images I have. I have this star filter here. And the important thing about this is there's really two boxes to be aware of. The outer box out here is what we call the format. The inner box here is the bounding box of the shape. Note that the shape is off-center from the format, it's on the lower left-hand corner. You'll see why this is important in a minute. So I'm going to take the filter input of the ZDefocus node and hook it up to my star filter, switch back to the ZDefocus node and zoom in. Now we'll switch the filter type to image, and there you go. Of course we can change the size of it by adjusting the size and maximum values. So why was I going on about the format or the bounding box of the shape? That's for right here, filter bounds. If you say shape, you're telling it you only…

Contents