From the course: Cinema 4D Rendering Tips for NUKE

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Creating depth of field in NUKE

Creating depth of field in NUKE

From the course: Cinema 4D Rendering Tips for NUKE

Start my 1-month free trial

Creating depth of field in NUKE

- Okay, I've imported our renders from Cinema 4D into Nuke. Let's wire up a ZDefocus Mode, use our Multi-Pass from Cinema 4D and create some depth of field here inside of our composite. So the first thing we're going to do, I'm going to make sure that my cursor is over the Node Graph, I'm going to press the Tab key. I'm going to type Z and then just arrow down to ZDefocus. Now, there's two inputs to the ZD Focus and we're going to make sure that we plug our image input into our Premult. Now the reason we have a Premult is because I rendered it from Cinema 4D with a straight alpha channel, so I'll just take a quick second and show what that looks like. Here, with the straight alpha channel, you're going to get these crunchy edges, and what we need to do is to say, Okay, let's take this image, multiply it by the alpha channel to clean up our edges. And when we do that, it will look like this. Just in case you were wondering why that Premult was there. All right, now let's look at the…

Contents