Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,502 --> 00:00:02,320
In this lesson,
2
00:00:02,320 --> 00:00:08,502
we're going to learn how to merge shapes together to create a cut out.
3
00:00:08,502 --> 00:00:11,502
OK, so I've already gone ahead and set up a little Node tree for us here.
4
00:00:11,502 --> 00:00:15,502
And I want to go ahead and kind of just show you what's going on.
5
00:00:15,502 --> 00:00:21,252
So I've gone ahead and created a rotoscope that is-- or actually a couple
6
00:00:21,252 --> 00:00:24,502
of rotoscopes that are isolating both of these bottles.
7
00:00:24,502 --> 00:00:28,835
And then we have a color correction node that is being applied to our whole
8
00:00:28,835 --> 00:00:32,502
Read node and then is being masked by that rotoscope.
9
00:00:32,502 --> 00:00:37,501
So let's go ahead and open up the Roto node so you can see those two shapes.
10
00:00:37,502 --> 00:00:40,502
We've got our tall bottle and our short bottle.
11
00:00:40,502 --> 00:00:45,502
So we've got both of those names just to stay organized a little bit better.
12
00:00:45,502 --> 00:00:48,501
And you can see how they overlap with each other.
13
00:00:48,502 --> 00:00:50,501
Now that's the important part.
14
00:00:50,502 --> 00:00:54,252
They're animated so that at the beginning there aren't really overlapping,
15
00:00:54,252 --> 00:00:55,752
but towards the end,
16
00:00:55,752 --> 00:00:58,901
we maintain that point consistency where it's all
17
00:00:58,901 --> 00:01:01,502
around the sides of these bottles.
18
00:01:01,502 --> 00:01:05,501
And so we're able to keep this edge on this tall bottle here.
19
00:01:05,501 --> 00:01:07,335
And we're able to see that shape that it creates as
20
00:01:07,335 --> 00:01:10,501
it goes behind the shorter bottle.
21
00:01:10,502 --> 00:01:13,501
So what if we want to create a cut out where we're only
22
00:01:13,502 --> 00:01:17,501
looking at one or the other bottles?
23
00:01:17,502 --> 00:01:19,348
Well, there's an easy way to do that,
24
00:01:19,348 --> 00:01:22,502
but we have to change our set up a little bit from what it is right now.
25
00:01:22,502 --> 00:01:25,835
And the way we have it set up right now is that we've got both
26
00:01:25,835 --> 00:01:28,501
of these Bezier shapes on one Roto node.
27
00:01:28,502 --> 00:01:34,502
And they need to each be on a different Roto node for this method to work.
28
00:01:34,502 --> 00:01:38,501
Now this is also useful if you ever create some kind of a
29
00:01:38,502 --> 00:01:41,501
shape like this on a Roto node and you really need it to be
30
00:01:41,502 --> 00:01:44,502
on a different Roto node entirely.
31
00:01:44,502 --> 00:01:46,502
You don't want to store them all on the same thing.
32
00:01:46,502 --> 00:01:48,502
And you might do that for a number of reasons.
33
00:01:48,502 --> 00:01:50,138
But, besides learning how to create a cut out,
34
00:01:50,138 --> 00:01:53,271
you're also going to learn how to take a Bezier shape out of a
35
00:01:53,271 --> 00:01:55,502
Roto node and put it into a different one.
36
00:01:55,502 --> 00:01:56,501
So let's go ahead and get started.
37
00:01:56,502 --> 00:01:59,502
I'm going to go ahead, and we'll create our second Roto node now.
38
00:01:59,502 --> 00:02:00,502
So just without anything selected,
39
00:02:00,502 --> 00:02:05,502
I'm going to come up here to our draw button and choose Roto.
40
00:02:05,502 --> 00:02:09,716
We'll drop that in, and not connected up to anything right now,
41
00:02:09,716 --> 00:02:14,168
all we have to do is to simply look at what we've got here in our Roto 1,
42
00:02:14,168 --> 00:02:18,502
and let's decide to take the short bottle and we'll put that in Roto 2.
43
00:02:18,502 --> 00:02:20,501
So all I have to do is simply drag it.
44
00:02:20,502 --> 00:02:25,359
So I'm going to grab the short bottle that's here in the root of Roto 1,
45
00:02:25,359 --> 00:02:30,502
and we'll just drag it up and drop it on the root of Roto 2.
46
00:02:30,502 --> 00:02:33,578
So now, the short bottle lives inside of Roto 2,
47
00:02:33,578 --> 00:02:36,502
and the tall bottle is still in Roto 1.
48
00:02:36,502 --> 00:02:38,946
So you can see I can click back and forth between those two nodes,
49
00:02:38,946 --> 00:02:41,502
to see the different shapes that have been being created.
50
00:02:41,502 --> 00:02:48,502
And now, more importantly, we have the ability to merge these two nodes together.
51
00:02:48,502 --> 00:02:52,502
So I'm going to disconnect the matte support for just a second.
52
00:02:52,502 --> 00:02:55,502
So let's go ahead and merge these two Roto nodes.
53
00:02:55,502 --> 00:03:00,002
So I like to just hover my mouse over the open area in my Node graph,
54
00:03:00,002 --> 00:03:02,502
hit the Tab key and we can type in merge.
55
00:03:02,502 --> 00:03:08,502
Or you can even just hit the N key, and that'll drop in a Merge node for you.
56
00:03:08,502 --> 00:03:12,168
Now, depending on which one you want to be cut out,
57
00:03:12,168 --> 00:03:17,835
it's going to matter which A and B pipe is connected to which Roto node,
58
00:03:17,835 --> 00:03:19,835
but for now, let's just go ahead and connect them up,
59
00:03:19,835 --> 00:03:21,502
and just see what happens.
60
00:03:21,502 --> 00:03:25,216
So you always want your B pipe to be straight up and down,
61
00:03:25,216 --> 00:03:28,502
so I'll go ahead and put that B pipe straight up and down there.
62
00:03:28,502 --> 00:03:31,502
And then we'll put the A pipe over here to the side.
63
00:03:31,502 --> 00:03:34,502
And let's pull this up just a little bit like that.
64
00:03:34,502 --> 00:03:37,501
And then we just need to grab the Mask port of our color
65
00:03:37,502 --> 00:03:40,502
correction and drop it onto our Merge node.
66
00:03:40,502 --> 00:03:46,320
So now, you can see that we basically have the same look as what we had earlier,
67
00:03:46,320 --> 00:03:52,502
but we have individual control over the Roto nodes because of the Merge node.
68
00:03:52,502 --> 00:03:56,702
And so we can change the way that they are being mixed together,
69
00:03:56,702 --> 00:04:00,502
the way that they're overlapping with this operation.
70
00:04:00,502 --> 00:04:03,502
So right now, the operation being over, we don't see much of a change.
71
00:04:03,502 --> 00:04:06,271
But if I change it to the from operation,
72
00:04:06,271 --> 00:04:07,956
you can see that now,
73
00:04:07,956 --> 00:04:13,502
only the short bottle is being affected by the color correction.
74
00:04:13,502 --> 00:04:18,501
So only Roto 2, which is on our B pipe is being affected.
75
00:04:18,502 --> 00:04:23,047
Now if I unplugged those and we switched them so that the tall
76
00:04:23,047 --> 00:04:27,956
bottle was what was connected to our B pipe,
77
00:04:27,956 --> 00:04:31,501
now you can see that this one is a little more saturated.
78
00:04:31,502 --> 00:04:37,002
So it just depends on whichever one is your B pipe is going to be the one
79
00:04:37,002 --> 00:04:40,502
that will be affected if you're using the From operation.
80
00:04:40,502 --> 00:04:44,502
So, pretty interesting the way that that works out.
81
00:04:44,502 --> 00:04:48,502
So now we've got our short bottle being saturated by this.
82
00:04:48,502 --> 00:04:52,138
And just to help you visualize what this looks like,
83
00:04:52,138 --> 00:04:55,320
I'm going to select that From-- or excuse me,
84
00:04:55,320 --> 00:04:57,501
the Merge node that has the From operation,
85
00:04:57,502 --> 00:05:03,502
and then we can come up here to the style that we want to view this as and,
86
00:05:03,502 --> 00:05:06,002
change it to be Alpha,
87
00:05:06,002 --> 00:05:11,963
and you can see if we move our Viewer here to the Merge Node,
88
00:05:11,963 --> 00:05:15,501
you can see the Alpha of that cut out.
89
00:05:15,502 --> 00:05:16,502
So now,
90
00:05:16,502 --> 00:05:24,502
you can see how that From is affecting the Alpha channel of the short bottle.
91
00:05:24,502 --> 00:05:25,502
So pretty interesting the way that that works.
92
00:05:25,502 --> 00:05:30,073
And that's a really useful technique you can use for lots of different
93
00:05:30,073 --> 00:05:31,502
kinds of Rotoscopes that you might need to create.
94
00:05:31,502 --> 00:05:35,946
Sometimes something's going to pass behind or in front of something else,
95
00:05:35,946 --> 00:05:37,802
but you want to maintain that point consistency,
96
00:05:37,802 --> 00:05:42,501
maybe because you know it's going to come out from it on the other side.
97
00:05:42,502 --> 00:05:48,502
So you simply use a From operation to isolate that,
98
00:05:48,502 --> 00:05:52,501
even while it's passing behind other things.
99
00:05:52,502 --> 00:05:54,501
So really, really interesting technique.
100
00:05:54,502 --> 00:05:56,502
Really easy to execute.
101
00:05:56,502 --> 00:05:58,502
You just have to kind of do a little bit of planning.
102
00:05:58,502 --> 00:06:01,271
And even if you don't plan for it, as I showed you,
103
00:06:01,271 --> 00:06:04,501
can transfer a Bezier shape to a different Roto node.
104
00:06:04,502 --> 00:06:08,701
So that you can have that merge operation and that seems to work really,
105
00:06:08,701 --> 00:06:09,501
really nicely.
106
00:06:09,502 --> 00:06:10,732
In the next lesson,
107
00:06:10,732 --> 00:06:14,956
I want to talk about how you can reuse key frame data through
108
00:06:14,956 --> 00:06:18,502
your viewer to help speed up your animations.
109
00:06:18,502 --> 00:06:31,502
So we're going to learn how to do that in our next lesson.
10084
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.