WEBVTT

00:00.390 --> 00:05.940
So to pick back up where we left off, basically, I accidentally made an over off offset mash node

00:05.940 --> 00:11.670
in between the lessons and it offset the grass way down.

00:11.670 --> 00:15.060
So I just deleted that offset note and it was back where it should be.

00:15.480 --> 00:20.910
So in this lesson, I want to cover the render setup in Maya or what used to be called render layers.

00:21.240 --> 00:27.480
And if you're familiar with render layers, you can get to the old system by going to the preferences

00:27.480 --> 00:31.140
and rendering and say preferred render setup and say legacy render layers.

00:31.140 --> 00:34.380
You will have to restart Maya, but you can get to the old system that way.

00:34.660 --> 00:39.420
But we're going to use the new way called render setup and set a little it's a little convoluted.

00:39.920 --> 00:45.180
It could hopefully they fix it and later versions.

00:45.180 --> 00:46.110
But basically it's up here.

00:46.350 --> 00:48.990
There's a little button and now we have a render setup.

00:49.170 --> 00:54.870
And essentially what we need to do is select everything that we want and add it to this collection or

00:54.870 --> 00:55.630
this render layer.

00:56.010 --> 01:02.490
So in this example, what we're going to do is try to separate the Firefly's from everything else.

01:02.910 --> 01:07.380
So that means that when a firefly goes behind the tree, it should disappear.

01:07.380 --> 01:08.610
But we don't want to see the tree.

01:09.030 --> 01:09.480
All right.

01:09.490 --> 01:15.360
So when we're compositing, we can just bring in the Firefly's on their own so that we can have finer

01:15.360 --> 01:19.290
control over how we kind of composite the fireflies.

01:19.290 --> 01:25.020
If we want to add Glos and whatever we can, we can isolate the fireflies and only glow those and not

01:25.020 --> 01:25.760
the rest of the scene.

01:26.100 --> 01:32.130
So what we need to do is go in here and grab every piece of geometry that's in the scene that we want

01:32.130 --> 01:35.360
to include and then middle mouse drag it into a collection.

01:35.730 --> 01:41.550
So let's go through here and select everything from the outliner that we want to include, which is

01:41.550 --> 01:44.520
basically all of that.

01:45.180 --> 01:49.290
And then we can right click here and say create new collection or create collection.

01:50.190 --> 01:56.580
And we'll just call this scene and then we can middle mouse drag from the outliner into it.

01:56.580 --> 02:05.130
Says Agit collection include a middle mouse track that in now, if we had named everything with a suffix

02:05.130 --> 02:07.470
or prefix, we could have

02:10.230 --> 02:15.270
we could have just type that in here as an expression and it would include everything with that suffix

02:15.270 --> 02:15.870
or prefix.

02:16.320 --> 02:16.740
But we didn't.

02:16.750 --> 02:18.290
So we just need a middle mouse, drag it in here.

02:18.840 --> 02:26.640
So what we need to do next is to add a shader override and in that shader override we can add the holdout.

02:26.910 --> 02:31.770
Now, hold out just basically means and we're going to use a surface shader for that hold up basically

02:31.770 --> 02:36.180
means that you can't see it and there's an alpha there.

02:36.180 --> 02:37.170
So it's totally transparent.

02:37.170 --> 02:39.900
So we need to turn out that opacity all the way to black.

02:40.500 --> 02:45.510
And for us to test this in the render, we basically need to turn off rendering the whole scene, which

02:45.510 --> 02:46.880
is this little tab here.

02:46.920 --> 02:53.070
So when you turn that off and we have this one on, so we go to Arnold, render prevue, it should render

02:53.220 --> 02:55.980
that layer basically by itself.

02:56.160 --> 03:00.030
And what we should see is a totally black.

03:00.810 --> 03:09.720
We shouldn't actually see anything because the holdout, you know, should be completely transparent.

03:11.760 --> 03:13.140
So that is not what we see.

03:16.460 --> 03:22.650
We turn that off, so let's turn off the visibility of this, let's turn on the visibility of that and

03:22.650 --> 03:23.910
now it should work.

03:24.300 --> 03:25.650
So let's go to Arnold.

03:26.130 --> 03:30.600
Let's go and let's make sure that we have all the shards here are there.

03:30.960 --> 03:34.890
So now when we go to Arnold Reinterview, we just needed to have that.

03:35.760 --> 03:37.220
I turned on.

03:37.680 --> 03:42.150
So now it should be totally black and it should take two seconds to render, which it does.

03:42.510 --> 03:43.680
And we test the alpha.

03:43.680 --> 03:45.350
We can see it's totally blank.

03:46.410 --> 03:46.910
Cool.

03:46.920 --> 03:48.340
So we have the holdouts.

03:48.360 --> 03:49.600
That's a huge step.

03:49.950 --> 03:55.980
So now we need to do is add the Firefly's someone to turn back on the visibility of the whole scene.

03:56.670 --> 04:01.590
So the whole scene should pop back on and now we can just select the Firefly's.

04:03.870 --> 04:09.060
Or we could just find them in the outliner, select one of the Firefly's, so that should bring up the

04:09.060 --> 04:12.600
Olympic cache, mean hit F in the outliner to find it.

04:13.170 --> 04:15.810
And then now I'm going to make a new collection here.

04:16.350 --> 04:19.200
So I'm going to say create collection.

04:19.590 --> 04:21.030
I'm going to call this Firefly's.

04:23.710 --> 04:23.990
Cool.

04:24.460 --> 04:33.760
So now all I need to do is just include that in here and that's it, we just need to view this.

04:33.760 --> 04:40.780
And now what we should get is all of the fireflies, and they should all be kind of correctly occluded

04:40.780 --> 04:42.250
by anything that's in front of them.

04:42.840 --> 04:43.690
That makes sense.

04:43.820 --> 04:45.920
OK, so let's test that.

04:46.270 --> 04:51.790
So what we should get is a totally transparent background and analysis.

04:51.790 --> 04:55.200
So we check the Alpha should look pretty much the exact same, which it does.

04:55.660 --> 04:56.590
So it's pretty amazing.

04:58.390 --> 05:04.630
We have created this interview here and let me just check it in the render cam.

05:05.200 --> 05:12.040
So all we need to do is to add the render cam by middle mouse it like we did the Olympic cache, and

05:12.040 --> 05:21.520
then we can go back into the Arnold Render preview and you may need to hit refresh for it to update

05:21.730 --> 05:27.760
for us to be able to select the render cam so we can switch between these two now and we can render

05:27.760 --> 05:31.300
this with the holdout and everything looks correct.

05:31.780 --> 05:32.080
Right.

05:32.080 --> 05:40.900
If we look at this compared to this view, we can see that we shouldn't have any Firefly's in this kind

05:40.900 --> 05:41.680
of quadrant.

05:41.710 --> 05:45.870
Right, because this tree is blocking them and we can see here that's the case.

05:46.240 --> 05:52.900
So it looks like everything's working properly and now we can render this as just the Firefly's.

05:53.270 --> 05:59.470
So let's go over to the rendering tab here and let's go to first.

05:59.470 --> 06:02.230
Let's make sure the render setup, the settings are correct.

06:02.770 --> 06:04.960
So it doesn't really matter.

06:05.170 --> 06:08.560
These don't really matter because the fireflies are surface raiders anyways.

06:08.950 --> 06:12.670
But we might want to turn on motion blur.

06:13.540 --> 06:21.280
So let's just enable that and let's go and call this Firefly's and.

06:24.240 --> 06:35.970
Now we can say name no extension, and we want to do the one thousand one to twelve hundred and frame,

06:36.340 --> 06:43.470
we want to make sure we have the render cam selected and the correct kind of settings here, depending

06:43.470 --> 06:44.850
on how you want to render this out.

06:45.150 --> 06:49.230
I say 720 and now are ready to export.

06:49.920 --> 06:57.510
Now, you could do x r it doesn't really matter, but we just want to make sure that we have some file

06:57.510 --> 06:59.400
format that has transparency.

06:59.940 --> 07:07.770
So now when we render and we go to render render sequence, it will start to render each one of these

07:07.770 --> 07:08.360
frames.

07:08.370 --> 07:13.860
So I'll see in a second and we will pick back up, finishing out, rendering the actual scene the rest

07:13.860 --> 07:15.330
of the scene besides the Firefly's.

07:15.550 --> 07:21.180
Let me just hold on here for one second, because it looks like it's rendering the perspective cam.

07:21.600 --> 07:29.370
And even though that we told it to render the render cam, let me just minimize this real quick and

07:29.370 --> 07:32.760
show you that says camera perspective shape.

07:32.760 --> 07:33.180
Right.

07:34.830 --> 07:41.640
We're correctly rendering the whole DAULAIRE But, you know, my just decides to not respect what we

07:41.640 --> 07:46.380
said here in the render settings where we said render cam, render the render cam.

07:46.740 --> 07:47.760
It's not doing that.

07:47.790 --> 07:54.000
So we can delete that or close it out and go to render sequence again and hit this little option box.

07:54.480 --> 07:59.880
So for some reason it's choosing to override what we already chose with the perspective shape.

08:00.480 --> 08:04.710
So let's select render cam here and do that again.
