1
00:00:00.05 --> 00:00:02.04
- [Instructor] In this
movie, I'll introduce you to

2
00:00:02.04 --> 00:00:03.08
the opacity mask.

3
00:00:03.08 --> 00:00:06.03
And we'll ultimately use
this feature to get the

4
00:00:06.03 --> 00:00:07.09
stripes off the model's nose

5
00:00:07.09 --> 00:00:11.05
and achieve this final effect right here.

6
00:00:11.05 --> 00:00:14.07
Now I'm going to be demonstrating
how an opacity mask works

7
00:00:14.07 --> 00:00:16.08
on this photographic image.

8
00:00:16.08 --> 00:00:18.07
And that's going to serve two purposes.

9
00:00:18.07 --> 00:00:21.04
First, we'll see how
opacity masks differ from

10
00:00:21.04 --> 00:00:24.09
the clipping mask, that
we saw back in chapter 23

11
00:00:24.09 --> 00:00:26.03
of the advanced course.

12
00:00:26.03 --> 00:00:30.01
And you'll also see how
opacity masks most closely

13
00:00:30.01 --> 00:00:33.06
resemble layer masks inside Photoshop.

14
00:00:33.06 --> 00:00:37.02
Alright so I'm going to go ahead
zoom out of this image here.

15
00:00:37.02 --> 00:00:39.03
And I'll turn off the glasses layer.

16
00:00:39.03 --> 00:00:41.05
And then I'll twirl open the image layer

17
00:00:41.05 --> 00:00:43.03
and I'll select the clipping group.

18
00:00:43.03 --> 00:00:45.02
Now we're going to remask this image.

19
00:00:45.02 --> 00:00:46.09
So I'm going to release the current mask

20
00:00:46.09 --> 00:00:50.03
by going up to the object
menu, choosing Clipping Mask,

21
00:00:50.03 --> 00:00:52.05
and choosing Release.

22
00:00:52.05 --> 00:00:56.01
Then I'll go ahead and
target this top path outline

23
00:00:56.01 --> 00:00:58.08
in the image layer, the
former clipping mask,

24
00:00:58.08 --> 00:01:01.03
and I'll press the back
space key or the delete key

25
00:01:01.03 --> 00:01:03.02
on the Mac to get rid of it.

26
00:01:03.02 --> 00:01:05.06
Alright let's zoom in a little bit here.

27
00:01:05.06 --> 00:01:07.09
And I'm going to go ahead
and select the Ellipse tool

28
00:01:07.09 --> 00:01:10.00
from the Shape Tools flyout menu.

29
00:01:10.00 --> 00:01:12.03
Then I'll position my cursor
on the bridge of her nose

30
00:01:12.03 --> 00:01:16.05
and I'll press the Alt key as
I drag in order to draw the

31
00:01:16.05 --> 00:01:20.06
shape from the center outward,
until it's about a big.

32
00:01:20.06 --> 00:01:23.01
Next, I'm going to increase my stroke.

33
00:01:23.01 --> 00:01:24.09
Notice I've got a black
stroke, but it's just

34
00:01:24.09 --> 00:01:25.09
one point thick.

35
00:01:25.09 --> 00:01:27.07
I'm going to crank it up to 20 points.

36
00:01:27.07 --> 00:01:30.09
And I'm going to go ahead
and set the field to white.

37
00:01:30.09 --> 00:01:33.01
And then just to give you a
real sense of what's going

38
00:01:33.01 --> 00:01:35.07
on here, I'll go up to the Effect menu,

39
00:01:35.07 --> 00:01:38.06
choose Blur, and choose Gaussian Blur,

40
00:01:38.06 --> 00:01:40.09
and I'll go ahead and
set the radius value to

41
00:01:40.09 --> 00:01:43.07
five pixels and click okay.

42
00:01:43.07 --> 00:01:47.02
And we end up with this
blurry looking shape.

43
00:01:47.02 --> 00:01:49.01
Now I could convert
this to a clipping mask

44
00:01:49.01 --> 00:01:52.02
just by selecting the
contents of this layer,

45
00:01:52.02 --> 00:01:54.09
which you can do by clicking
on this little wedge

46
00:01:54.09 --> 00:01:57.07
in the top right corner
of the layer, here inside

47
00:01:57.07 --> 00:01:59.01
the layers panel.

48
00:01:59.01 --> 00:02:01.01
And then you can go to the object menu,

49
00:02:01.01 --> 00:02:04.06
choose Clipping Mask, and choose Make.

50
00:02:04.06 --> 00:02:07.05
In which case we end up
losing all those attributes

51
00:02:07.05 --> 00:02:10.00
as well as the Gaussian blur.

52
00:02:10.00 --> 00:02:11.09
That's not the end of the world though.

53
00:02:11.09 --> 00:02:13.08
I can reestablish the attributes

54
00:02:13.08 --> 00:02:15.09
by twirling open this clipping group

55
00:02:15.09 --> 00:02:18.07
and targeting the clipping
mask, which is going to be

56
00:02:18.07 --> 00:02:20.03
the top path in the group.

57
00:02:20.03 --> 00:02:23.06
And then I could go back up
here to the stroke option,

58
00:02:23.06 --> 00:02:26.01
and set the line weight to 20 points,

59
00:02:26.01 --> 00:02:28.03
and we get a big black line.

60
00:02:28.03 --> 00:02:30.02
However if I go to the effect menu

61
00:02:30.02 --> 00:02:32.07
choose Blur and choose Gaussian Blur,

62
00:02:32.07 --> 00:02:37.00
and apply that same radius of
five pixels, nothing happens.

63
00:02:37.00 --> 00:02:39.05
And that's because clipping
masks don't support

64
00:02:39.05 --> 00:02:41.02
dynamic effects.

65
00:02:41.02 --> 00:02:44.05
Alright so let's back up and
see how different things are,

66
00:02:44.05 --> 00:02:46.07
when we're working with an opacity mask.

67
00:02:46.07 --> 00:02:49.05
I'll just go ahead and
press Ctrl + Z or Cmd + Z

68
00:02:49.05 --> 00:02:52.02
on the Mac, until we get back to the point

69
00:02:52.02 --> 00:02:54.06
where everything on
this layer is selected.

70
00:02:54.06 --> 00:02:57.04
Next you want to go to
the Transparency panel.

71
00:02:57.04 --> 00:02:59.04
So everything that we're talking about

72
00:02:59.04 --> 00:03:02.04
throughout this chapter
exists in this one panel.

73
00:03:02.04 --> 00:03:05.03
And notice right there,
we've got this button called

74
00:03:05.03 --> 00:03:06.03
Make Mask.

75
00:03:06.03 --> 00:03:07.08
Just go ahead and click on it,

76
00:03:07.08 --> 00:03:10.08
and notice now we get
a very soft transition,

77
00:03:10.08 --> 00:03:13.07
consistent with that Gaussian Blur.

78
00:03:13.07 --> 00:03:16.05
I also want you to take a
close look at these thumbnails

79
00:03:16.05 --> 00:03:18.08
here inside the transparency panel.

80
00:03:18.08 --> 00:03:21.03
Notice that in addition
to the image thumbnail,

81
00:03:21.03 --> 00:03:22.09
which we saw just a moment ago

82
00:03:22.09 --> 00:03:26.00
I'll go ahead and press Ctrl
+ Z or Cmd + Z on the Mac,

83
00:03:26.00 --> 00:03:29.01
at which point we are
seeing everything inside

84
00:03:29.01 --> 00:03:31.08
the document in this tiny thumbnail,

85
00:03:31.08 --> 00:03:34.07
but then if I press Ctrl + Shift + Z,

86
00:03:34.07 --> 00:03:37.03
or Cmd + Shift + Z on the
Mac, to redo that operation,

87
00:03:37.03 --> 00:03:40.00
we now have an additional thumbnail

88
00:03:40.00 --> 00:03:43.03
over here on the right
hand side, which represents

89
00:03:43.03 --> 00:03:46.03
the opacity mask itself.

90
00:03:46.03 --> 00:03:50.03
And notice that we have a white
ellipse surrounded by black.

91
00:03:50.03 --> 00:03:52.04
And this is just the way
things work with layer masks

92
00:03:52.04 --> 00:03:54.04
inside Photoshop.

93
00:03:54.04 --> 00:03:58.01
So anything that's white
inside the mask reveals,

94
00:03:58.01 --> 00:04:03.07
and anything that's black like
that fuzzy stroke conceals.

95
00:04:03.07 --> 00:04:05.05
I also want you to notice something else,

96
00:04:05.05 --> 00:04:07.04
that's going to throw you over time.

97
00:04:07.04 --> 00:04:10.07
Because it's a little
inconsistent with how things

98
00:04:10.07 --> 00:04:12.09
generally work inside Illustrator.

99
00:04:12.09 --> 00:04:16.02
Notice inside the image
layer, we now have a group.

100
00:04:16.02 --> 00:04:18.01
It doesn't tell us it's a clipping group.

101
00:04:18.01 --> 00:04:20.05
It doesn't tell us it's
an opacity mask group

102
00:04:20.05 --> 00:04:21.07
or anything like that.

103
00:04:21.07 --> 00:04:23.03
It just says the word group.

104
00:04:23.03 --> 00:04:25.00
And if you twirl it open,

105
00:04:25.00 --> 00:04:26.08
you're just going to
see the placed images.

106
00:04:26.08 --> 00:04:29.03
You're not going to see
that elliptical mask.

107
00:04:29.03 --> 00:04:32.09
The only way you really know
that you have an opacity mask

108
00:04:32.09 --> 00:04:35.08
is by the appearance of this underline.

109
00:04:35.08 --> 00:04:38.07
It's either going to be a
dotted underline or a solid one,

110
00:04:38.07 --> 00:04:42.06
in which case you can consult
the Transparency panel,

111
00:04:42.06 --> 00:04:45.09
where you'll actually see
the opacity mask represented

112
00:04:45.09 --> 00:04:48.01
by this thumbnail.

113
00:04:48.01 --> 00:04:50.00
Now if you want to edit that opacity mask,

114
00:04:50.00 --> 00:04:52.08
then you click on that
right hand thumbnail,

115
00:04:52.08 --> 00:04:54.09
at which point notice what's happened

116
00:04:54.09 --> 00:04:56.02
inside the layers panel.

117
00:04:56.02 --> 00:04:58.02
All of the layers have disappeared

118
00:04:58.02 --> 00:05:03.00
and we now see layers and
in parenthesis opacity mask.

119
00:05:03.00 --> 00:05:06.05
And we have what amounts to
a single layer that contains

120
00:05:06.05 --> 00:05:08.03
this ellipse.

121
00:05:08.03 --> 00:05:11.00
You can't create anymore
layers inside the mask,

122
00:05:11.00 --> 00:05:13.05
which is why all these
controls at the bottom of

123
00:05:13.05 --> 00:05:15.09
the layers panel are dim.

124
00:05:15.09 --> 00:05:18.00
And you're also going to see
a little bit of a highlight

125
00:05:18.00 --> 00:05:20.05
around that right hand thumbnail.

126
00:05:20.05 --> 00:05:23.00
In which way, notice
the ellipse is selected

127
00:05:23.00 --> 00:05:26.00
and I could go ahead and
switch to the Appearance panel,

128
00:05:26.00 --> 00:05:28.05
which you can also get by
choosing the Appearance command

129
00:05:28.05 --> 00:05:29.07
from the Window menu.

130
00:05:29.07 --> 00:05:31.06
Then I could click on Gaussian Blur

131
00:05:31.06 --> 00:05:36.00
and I could take that value
up to let's say eight pixels

132
00:05:36.00 --> 00:05:38.01
this time around, click okay,

133
00:05:38.01 --> 00:05:41.04
and that will give us
a fussier transition.

134
00:05:41.04 --> 00:05:44.01
Now a couple of other
things I want you to notice.

135
00:05:44.01 --> 00:05:46.07
See this Clip checkbox right there.

136
00:05:46.07 --> 00:05:51.01
If you turn it off, then
everything outside of the mask,

137
00:05:51.01 --> 00:05:54.01
in our case, this
ellipse, will become white

138
00:05:54.01 --> 00:05:58.01
and it will end up revealing
the model in the background.

139
00:05:58.01 --> 00:06:00.06
So that only the black
stroke is hiding her

140
00:06:00.06 --> 00:06:03.00
and revealing the violet gradient.

141
00:06:03.00 --> 00:06:05.01
If that's not what you
want, if you want everything

142
00:06:05.01 --> 00:06:08.01
outside the ellipse to
disappear, then turn that

143
00:06:08.01 --> 00:06:10.00
clip checkbox back on.

144
00:06:10.00 --> 00:06:12.03
You also have this Invert Mask option,

145
00:06:12.03 --> 00:06:15.06
which is going to invert how things work.

146
00:06:15.06 --> 00:06:18.00
So in other words, white
is going to conceal

147
00:06:18.00 --> 00:06:20.01
and black is going to reveal

148
00:06:20.01 --> 00:06:23.08
and then we once again have
clipping outside the shape.

149
00:06:23.08 --> 00:06:27.02
You can also turn Clip
off, in order to see what

150
00:06:27.02 --> 00:06:29.04
things would look like, if you're only

151
00:06:29.04 --> 00:06:31.08
masking away her face.

152
00:06:31.08 --> 00:06:33.07
That is not of course
remotely what I want.

153
00:06:33.07 --> 00:06:36.01
So I'm going to turn the
Invert Mask checkbox off,

154
00:06:36.01 --> 00:06:39.08
and I'll turn the Clip checkbox on.

155
00:06:39.08 --> 00:06:41.06
A couple of other things to know.

156
00:06:41.06 --> 00:06:44.09
If you want to see the mask
here inside the document window,

157
00:06:44.09 --> 00:06:47.05
instead of seeing the
illustration, then you want

158
00:06:47.05 --> 00:06:50.01
to press the Alt key or
the Option key on the Mac

159
00:06:50.01 --> 00:06:52.08
and click on that Mask thumbnail.

160
00:06:52.08 --> 00:06:55.05
And you will see the mask all by itself.

161
00:06:55.05 --> 00:06:58.01
Now it's going to look different
than it does in the thumbnail.

162
00:06:58.01 --> 00:07:01.00
You're going to see the ellipse
against a white background.

163
00:07:01.00 --> 00:07:03.02
But because the Clip checkbox is on,

164
00:07:03.02 --> 00:07:07.04
Illustrator is clipping
everything outside of that shape.

165
00:07:07.04 --> 00:07:09.05
If you want to see the illustration again,

166
00:07:09.05 --> 00:07:12.01
then just Alt or Option click once again

167
00:07:12.01 --> 00:07:15.06
on that right hand thumbnail.

168
00:07:15.06 --> 00:07:18.01
And by the way, that's
exactly how things work

169
00:07:18.01 --> 00:07:21.00
with layer masks inside of Photoshop.

170
00:07:21.00 --> 00:07:22.09
Here's something else that works the same.

171
00:07:22.09 --> 00:07:24.09
If you want to turn the mask off,

172
00:07:24.09 --> 00:07:26.09
then just go ahead and Shift + Click on it

173
00:07:26.09 --> 00:07:29.04
at which point, you'll see this big red X.

174
00:07:29.04 --> 00:07:33.03
If you want to turn it back
on, Shift + Click again.

175
00:07:33.03 --> 00:07:35.06
And incidentally you also have
a command that's available

176
00:07:35.06 --> 00:07:37.08
if you click on a flyout menu icon,

177
00:07:37.08 --> 00:07:40.07
in the top right corner
of the Transparency Panel,

178
00:07:40.07 --> 00:07:43.08
right there notice if you
chose Disable Opacity Mask,

179
00:07:43.08 --> 00:07:46.07
that's the exact same
thing as Shift clicking on

180
00:07:46.07 --> 00:07:48.00
this thumbnail.

181
00:07:48.00 --> 00:07:49.09
Alright, I'm going to Shift
Click to turn it back on

182
00:07:49.09 --> 00:07:52.08
and finally if you want to
be able to regain access

183
00:07:52.08 --> 00:07:55.01
to all the layers inside
your illustration,

184
00:07:55.01 --> 00:07:58.00
then just to see this happen,
I'll go ahead and switch

185
00:07:58.00 --> 00:08:01.06
back to the layers panel and
I'll click on the left hand

186
00:08:01.06 --> 00:08:06.07
thumbnail, at which point all
of your layers will reappear.

187
00:08:06.07 --> 00:08:09.04
And that is my introduction
to how opacity masks

188
00:08:09.04 --> 00:08:11.04
work here inside Illustrator.

189
00:08:11.04 --> 00:08:13.09
In the next movie, we'll
use an opacity mask

190
00:08:13.09 --> 00:08:15.08
to mask these glasses.

