- [Instructor] This lesson begins the 3D compositing portion
of the course,
and is one of Nuke's most powerful features,
but it's not designed to model a car or animated t-rex,
it's specifically designed
to re-photograph live action elements
in a true 3D environment.
I can demonstrate that for you with this little setup here.
The important thing is to note how seamlessly
we move back and forth between the 2D and the 3D worlds.
So, let me start by playing the clip
that we're going to be seeing the composite here..
So, we got the zombies staggering through this house,
and you can see we have a nice camera truck
going along horizontally,
showing our parallax and perspective.
So, let's see how this shot is built.
We start here, with just a 2D painting
of the background plate.
Then, switching to our 3D world,
I have very simple geometry here,
four cards which have a floor and three walls.
We then add a 3D camera here,
and we'll use that camera to project that image
onto the geometry, like this..
Okay, so this is our technique called camera projection..
And we now have a 3D world that we can re-photograph
with a second camera.
Okay?
Now, to finish our little 3D set,
we have another 2D image over here.
So, now I'm in 2D world again,
and there's my alpha channel,
and we attach it to a card,
and we merge it with the other geometry..
So, there it is, right there..
And now, I have this foreground shards
hanging from the ceiling as part of my 3D world.
Now, if I fire up my scene camera,
there's a second camera here,
and you see it's the moving camera.
The scene camera is the one
I'm using to re-photograph the scene.
So, if I look through the scene camera,
we'll see how that background has got some nice parallax
built in to it, okay?
Alright, so, that builds the background part of the picture.
Then, that is rendered out here..
We'll look at the 2D side..
And so, from here, we're back to 2D..
So, we'll see what the full background plate looks like..
There's my hanging shards, my floors and walls..
You can see I have a lovely parallax between everything..
Okay, now about the zombies..
So, we'll come over here..
There's my green screen, showing my staggering zombies..
And now, we're in 2D land obviously,
so we'll do our key and a garbage matte
and a color correction..
We put them on a card..
Okay, let me get my scene set up here..
So, they're on a card,
and as I step through the clip,
you can see they're walking along in 3D,
but because they're in 3D,
I can now share them in my 3D world, okay?
So, there's my zombie guys in my 3D world,
and I am re-photographing them with that same scene camera.
I use the same camera for both the zombies
and the background.
So, the zombies, when rendered in 2D,
look like this..
Alright?
So, I've got a 2D render of the zombies,
which was rendered in 3D,
a 2D render of the background,
which was rendered in 3D,
and I composite the two together.
And then, I'm back in 2D land here,
and I can do a color correction
or anything I want,
and that's how we make a 2D and 3D composite.
So, this illustrates how Nuke
allows you to move seamlessly between the 2D and 3D
compositing environments.
In the tutorials that follow,
we'll dive much deeper into Nuke's
3D compositing capabilities.