Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Image-based blurs

From: Nuke 6 New Features

Video: Image-based blurs

I've got a demo set up here that you can duplicate if you want to follow along. I'm going to use a horizontal gradient with the ZBlur node to increase the blur from black to white, and apply it to this checkerboard. So first of all, we have our CheckerBoard node. Next is a Grade node that I just use to increase the contrast to make the blur easier to see. Following that is a Ramp node, and what I did here was I set it up so we'll put a ramp in the alpha channel that goes from 0 black over here to 1.0 over there.

Image-based blurs

I've got a demo set up here that you can duplicate if you want to follow along. I'm going to use a horizontal gradient with the ZBlur node to increase the blur from black to white, and apply it to this checkerboard. So first of all, we have our CheckerBoard node. Next is a Grade node that I just use to increase the contrast to make the blur easier to see. Following that is a Ramp node, and what I did here was I set it up so we'll put a ramp in the alpha channel that goes from 0 black over here to 1.0 over there.

It also have has a broad strip of 0, so we'll have a nice section of unblurred image, and you just gradually roll into our more blur as we go to the right. If you need to see what that setup looks like, I put the output in the alpha channel and .0 is on the left and .1 is on the right, just a little bit short on the right, so I would have a narrow strip of exactly 1.0. Okay, we'll close this, switch the viewer back to RGB, and let's go get the ZBlur node. So from the Filter tab, ZBlur, and that hooks right in under the Ramp node.

Now immediately we get a blur. The reason is the ZBlur node is looking at the depth.Z channel, which happens to be black or 0 and then combining that with a focus plane and the depth choices, it's giving a bit of a blur. So first we'll do is we'll set the channel to RGB--always want to get into the habit of setting those channels. Now my "depth data" is in the alpha channel; it is not in the depth.Z channel, so we're going to direct the ZBlur node to look into the rgba.alpha channel for its business.

Now we can set it up any way we want, but I wanted to have the black on the left with no blur and the white on the right with maximum blur. So to set that up, the math function that we want is far= 1, so the right edge where the alpha channel is 1 is going to be the farthest distance from the camera and get the most depth-of-field blur. We set the focus plane to 0, meaning the 0 black over here will be in sharp focus. We'll set the depth-of-field to 0, meaning it's going to immediately start blurring the images as soon as the code values get above 0. And we'll set the Size for 10 to give it a nice blur.

Okay, so right off the bat, you can see it's sharp on the left and blurry on the right. That is to say, where the gradient is black, it's sharp. Where the gradient is white, it's blurred. Okay, let's push in and take a look at what we've got. I'll set a zoom factor of 1 in the viewer. We're at the left edge and here the alpha channel is 0 black. You can see the code values down here. Back to RGB.

So we've got no blur here and as we move to the right, you can see the blur starting to pick up. It's not just a mix back of some blur radius. It is in fact increasing the blur diameter as we move to the right. In fact, you can see the yellow line getting thicker and thicker as we move to the right. Here we are. To increase the blur more, we could increase the size, but don't forget to increase the maximum along with it, or you won't see any change at all.

I'll re-home the viewer. As you can see, the trick to using the ZBlur node as an image-based blur is to load it's Z channel with a one-channel blur mask image. This blur mask can be created any way you want, through a Paint node, a Luminance key, or any other source, and it could be put into any available channels, since you can set the ZBlur node to look at any channel for the Z information.

Show transcript

This video is part of

Image for Nuke 6 New Features
Nuke 6 New Features

59 video lessons · 5964 viewers

Steve Wright
Author

 
Expand all | Collapse all
  1. 7m 45s
    1. Welcome
      1m 56s
    2. What is NukeX?
      5m 0s
    3. Using the exercise files
      49s
  2. 1h 11m
    1. Learning the interface
      5m 15s
    2. Drawing shapes
      1m 41s
    3. Editing shapes
      5m 1s
    4. Keyframe animation
      6m 4s
    5. Property panel tabs
      7m 8s
    6. The shape list
      4m 26s
    7. Output settings
      1m 11s
    8. Workflow examples
      5m 33s
    9. Creating garbage mattes
      4m 55s
    10. Drawing strokes
      4m 16s
    11. Editing strokes
      4m 30s
    12. The Clone tool
      1m 37s
    13. Editing the Clone tool
      2m 54s
    14. The Reveal tool
      9m 2s
    15. The Blur tool
      2m 21s
    16. The output mask
      2m 57s
    17. The Dodge tool
      2m 32s
  3. 27m 38s
    1. Basic compositing
      3m 51s
    2. Using the Screen controls
      2m 50s
    3. Using the Screen Matte controls
      3m 37s
    4. The Crop feature
      2m 28s
    5. Holdout and garbage mattes
      2m 19s
    6. The Tuning controls
      1m 58s
    7. The Bias controls
      2m 37s
    8. Screen replacement
      2m 15s
    9. Multipass keying
      4m 37s
    10. Color-correcting the foreground
      1m 6s
  4. 17m 8s
    1. Basic setup
      3m 24s
    2. The Ultimatte workflow
      5m 18s
    3. Using the matte tools
      4m 16s
    4. Spill suppression
      4m 10s
  5. 28m 8s
    1. Overview
      2m 42s
    2. Pre-processing the greenscreen
      3m 25s
    3. Creating specialized keys
      7m 14s
    4. The preliminary composite
      6m 14s
    5. Creating supplemental keys
      6m 22s
    6. Alternative workflows
      2m 11s
  6. 24m 39s
    1. Editing control points
      4m 49s
    2. Editing the warp grid
      2m 52s
    3. Keyframe animation
      4m 42s
    4. Morphing
      10m 7s
    5. Additional tabs
      2m 9s
  7. 33m 20s
    1. Drawing splines
      6m 3s
    2. Drawing open splines
      2m 0s
    3. Limiting the warp
      7m 1s
    4. Warping to a target image
      5m 54s
    5. Morphing
      8m 1s
    6. The correspondence points
      4m 21s
  8. 9m 3s
    1. The MotionBlur2D node
      5m 55s
    2. Using the VectorBlur node
      3m 8s
  9. 10m 29s
    1. The ZBlur node
      6m 33s
    2. Image-based blurs
      3m 56s
  10. 11m 13s
    1. Navigating the Dope Sheet
      5m 17s
    2. Shifting keyframes
      5m 56s
  11. 5m 22s
    1. Making a group
      2m 50s
    2. Making a gizmo
      2m 32s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Nuke 6 New Features.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.