1
00:00:01.01 --> 00:00:02.03
- [Instructor] In this movie we'll create

2
00:00:02.03 --> 00:00:04.00
this translucent windshield.

3
00:00:04.00 --> 00:00:07.08
And we'll do so by converting
a standard linear gradient

4
00:00:07.08 --> 00:00:10.03
into a gradient mesh.

5
00:00:10.03 --> 00:00:12.04
And so I want you to notice something.

6
00:00:12.04 --> 00:00:13.08
If I select the windshield which,

7
00:00:13.08 --> 00:00:15.06
if you're working along with me,

8
00:00:15.06 --> 00:00:18.01
you'll need to do by
clicking on the top edge.

9
00:00:18.01 --> 00:00:19.08
If you click down here on the bottom edge

10
00:00:19.08 --> 00:00:21.06
you'll select the hood instead

11
00:00:21.06 --> 00:00:22.09
because the hood is in front.

12
00:00:22.09 --> 00:00:25.04
In any event, I'll select the windshield

13
00:00:25.04 --> 00:00:26.06
and I'll move it out of the way.

14
00:00:26.06 --> 00:00:29.08
And you can see that reveals
the interior of the car,

15
00:00:29.08 --> 00:00:33.01
which is all found on this
layer called interior.

16
00:00:33.01 --> 00:00:36.04
And so I suppose one option
would be to press Control Z,

17
00:00:36.04 --> 00:00:39.02
or Command + Z on the
Mac, to undo that move.

18
00:00:39.02 --> 00:00:40.08
And now I'll zoom in here.

19
00:00:40.08 --> 00:00:44.06
One option would be to click
on the word opacity here

20
00:00:44.06 --> 00:00:47.05
and change the blend mode to screen

21
00:00:47.05 --> 00:00:49.07
which is just going to
produce the same effect

22
00:00:49.07 --> 00:00:52.03
as shining light on that windshield.

23
00:00:52.03 --> 00:00:55.00
And that will let us see through
to the interior of the car.

24
00:00:55.00 --> 00:00:57.00
The problem is we still very obviously

25
00:00:57.00 --> 00:00:58.07
have a linear gradient.

26
00:00:58.07 --> 00:01:00.09
Now albeit, this gradient
happens to contain

27
00:01:00.09 --> 00:01:02.01
quite a few colors.

28
00:01:02.01 --> 00:01:03.05
And if you want to see what those are,

29
00:01:03.05 --> 00:01:05.04
you can select the gradient tool,

30
00:01:05.04 --> 00:01:07.08
which you can also get
by pressing the G key.

31
00:01:07.08 --> 00:01:10.04
And then go ahead and hover
over the gradient annotator

32
00:01:10.04 --> 00:01:13.03
and you can see that we've
got this sort of dull orange

33
00:01:13.03 --> 00:01:16.04
that transitions into
green, back to orange,

34
00:01:16.04 --> 00:01:20.08
then to a kind of sky blue
and, ultimately, to white.

35
00:01:20.08 --> 00:01:23.03
So I want you to see that we have a total

36
00:01:23.03 --> 00:01:26.08
of five colors in all,
which is going to translate

37
00:01:26.08 --> 00:01:29.02
to three row lines, incidentally.

38
00:01:29.02 --> 00:01:33.02
One at the green location,
one at the orange location,

39
00:01:33.02 --> 00:01:34.08
and one at blue.

40
00:01:34.08 --> 00:01:37.02
Alright, so let's see
what that looks like.

41
00:01:37.02 --> 00:01:38.05
I'll go ahead and press the V key

42
00:01:38.05 --> 00:01:39.09
to switch back to my black arrow tool.

43
00:01:39.09 --> 00:01:42.02
And I'll undo the change to the blend mode

44
00:01:42.02 --> 00:01:45.01
so that we, once again,
have an opaque windshield.

45
00:01:45.01 --> 00:01:47.06
Next, what you want to do
is go to the object menu

46
00:01:47.06 --> 00:01:50.00
and not choose create gradient mesh.

47
00:01:50.00 --> 00:01:52.01
If you do that, you'll just replace

48
00:01:52.01 --> 00:01:54.07
all those colors with
black, which is obviously

49
00:01:54.07 --> 00:01:55.09
not what we want.

50
00:01:55.09 --> 00:01:57.00
So I'll cancel out.

51
00:01:57.00 --> 00:01:59.03
Instead, you want to
return to the object menu

52
00:01:59.03 --> 00:02:01.05
and choose the Expand command.

53
00:02:01.05 --> 00:02:04.01
And notice that you
can expand the gradient

54
00:02:04.01 --> 00:02:05.07
either to objects.

55
00:02:05.07 --> 00:02:08.02
So for example, if I
were to select Specify

56
00:02:08.02 --> 00:02:13.00
and it said to 255 by
default, then I will end up

57
00:02:13.00 --> 00:02:18.00
with 255 very narrow rotated rectangles

58
00:02:18.00 --> 00:02:20.00
inside of a clipping mask,

59
00:02:20.00 --> 00:02:21.05
which is not what I'm looking for,

60
00:02:21.05 --> 00:02:23.08
instead, I want a gradient mesh.

61
00:02:23.08 --> 00:02:26.05
Now, we only need to expand
the fill, not the stroke,

62
00:02:26.05 --> 00:02:28.03
so go ahead and turn
off the stroke checkbox

63
00:02:28.03 --> 00:02:29.08
and then click OK.

64
00:02:29.08 --> 00:02:33.01
And you'll see the colors
shift ever so slightly.

65
00:02:33.01 --> 00:02:34.07
So, notice, this is before,

66
00:02:34.07 --> 00:02:36.05
this is the original linear gradient,

67
00:02:36.05 --> 00:02:39.01
which has some very obvious
bands of color in it,

68
00:02:39.01 --> 00:02:42.00
and this is the smoother
effect we get by converting

69
00:02:42.00 --> 00:02:45.00
the linear gradient to a gradient mesh.

70
00:02:45.00 --> 00:02:48.00
Now, if you were to go
over to the layers panel

71
00:02:48.00 --> 00:02:50.02
and twirl open the meshes layer,

72
00:02:50.02 --> 00:02:53.03
you would see that we have
this object called windshield.

73
00:02:53.03 --> 00:02:55.06
And notice over here on the far left side

74
00:02:55.06 --> 00:02:57.09
of the control panel that it's a group.

75
00:02:57.09 --> 00:02:59.03
We do not need that group.

76
00:02:59.03 --> 00:03:00.08
In fact, it's going to get in our way,

77
00:03:00.08 --> 00:03:03.03
so go to the object menu and
choose the Ungroup command

78
00:03:03.03 --> 00:03:06.04
or press control shift G or
command shift G on a Mac.

79
00:03:06.04 --> 00:03:09.01
Now notice that we have a
clipping group right here

80
00:03:09.01 --> 00:03:13.09
and we have this path outline
and this path right there

81
00:03:13.09 --> 00:03:15.08
is just the stroke.

82
00:03:15.08 --> 00:03:17.06
Notice that if I drag it
to a different location,

83
00:03:17.06 --> 00:03:20.05
we have a stroke with
no fill, in other words,

84
00:03:20.05 --> 00:03:22.03
this is a useless object to us,

85
00:03:22.03 --> 00:03:24.04
so I'll press the backspace
key or the delete key on a Mac

86
00:03:24.04 --> 00:03:26.08
to get rid of it and then I'll twirl open

87
00:03:26.08 --> 00:03:30.02
the clipping group and if
you look very closely up here

88
00:03:30.02 --> 00:03:32.05
at the top of the windshield, you'll see

89
00:03:32.05 --> 00:03:34.06
that we're only getting
half a stroke and, in fact,

90
00:03:34.06 --> 00:03:36.02
we really don't have any stroke at all,

91
00:03:36.02 --> 00:03:38.01
we're just revealing half of the stroke

92
00:03:38.01 --> 00:03:41.04
from the larger body
object in the background.

93
00:03:41.04 --> 00:03:42.07
So, I'll undo that move

94
00:03:42.07 --> 00:03:46.06
and I will target this path
which is the clipping mask

95
00:03:46.06 --> 00:03:49.02
here inside the expanded clipping group

96
00:03:49.02 --> 00:03:51.06
and then I'll click on
the second color swatch

97
00:03:51.06 --> 00:03:53.03
up here in the control panel

98
00:03:53.03 --> 00:03:55.05
and I'll select black and
that will automatically

99
00:03:55.05 --> 00:03:57.05
give me a line weight of one point

100
00:03:57.05 --> 00:03:59.05
which is exactly what I'm looking for.

101
00:03:59.05 --> 00:04:01.07
Alright, now I'll deselect
the object for a moment

102
00:04:01.07 --> 00:04:05.05
and I'll zoom out and then I'll
target this item right here,

103
00:04:05.05 --> 00:04:08.01
the second item inside the clipping group,

104
00:04:08.01 --> 00:04:10.08
and that is the gradient
mesh object itself,

105
00:04:10.08 --> 00:04:13.03
you can see that by
the word Mesh over here

106
00:04:13.03 --> 00:04:15.01
on the far left side of the control panel

107
00:04:15.01 --> 00:04:18.08
and it's actually a rectangle
masked inside the shape

108
00:04:18.08 --> 00:04:20.01
of the windshield.

109
00:04:20.01 --> 00:04:22.08
Alright, now I'll go ahead
and zoom in on this object

110
00:04:22.08 --> 00:04:25.00
and we're going to be
modifying a few colors

111
00:04:25.00 --> 00:04:27.06
from the color panel and so if
you're not seeing the panel,

112
00:04:27.06 --> 00:04:30.06
you can go to the Window menu
and choose the color command.

113
00:04:30.06 --> 00:04:33.04
You also want to make sure
that it's fully expanded,

114
00:04:33.04 --> 00:04:37.02
so that you can see the slider
bars and I've got the sliders

115
00:04:37.02 --> 00:04:41.05
set to HSB that is hue
saturation and brightness.

116
00:04:41.05 --> 00:04:44.01
Now, I don't want what
just happened to happen,

117
00:04:44.01 --> 00:04:46.04
I just got done filling
the entire mesh with white

118
00:04:46.04 --> 00:04:49.02
and so I'll press control
Z or command Z on a Mac

119
00:04:49.02 --> 00:04:50.04
to undo that change.

120
00:04:50.04 --> 00:04:52.09
Alright, now we're going
to modify a few points here

121
00:04:52.09 --> 00:04:55.04
by pressing the A key to
get the white arrow tool

122
00:04:55.04 --> 00:04:59.01
and then I'll go ahead and
select this bottom left point

123
00:04:59.01 --> 00:05:01.06
and you can see that the hue
is already set in advance

124
00:05:01.06 --> 00:05:05.01
to 50 degrees, the
saturation's approximately 30%,

125
00:05:05.01 --> 00:05:08.07
and the brightness value is
80% and the reason that we have

126
00:05:08.07 --> 00:05:11.09
these decimal values is
because this is the closest

127
00:05:11.09 --> 00:05:15.04
Illustrator can come
in the RGB color space.

128
00:05:15.04 --> 00:05:18.06
But just to make it a little
easier to follow along,

129
00:05:18.06 --> 00:05:21.06
I've gone ahead and listed
the HSB values for each one

130
00:05:21.06 --> 00:05:25.01
of the mesh points here
inside this Photoshop file.

131
00:05:25.01 --> 00:05:27.03
So, I just throw it up on screen

132
00:05:27.03 --> 00:05:28.08
so you have a chance to see it.

133
00:05:28.08 --> 00:05:31.03
I'll go ahead and switch
back to Illustrator

134
00:05:31.03 --> 00:05:33.00
and notice that the bottom
right point, if I click on it,

135
00:05:33.00 --> 00:05:36.01
is set to those very same HSB values

136
00:05:36.01 --> 00:05:39.00
and that's because this
was the first color stop

137
00:05:39.00 --> 00:05:41.08
in the linear gradient, so
it actually starts down here

138
00:05:41.08 --> 00:05:43.09
at the bottom and goes up to the top.

139
00:05:43.09 --> 00:05:47.02
And so, at least so far,
we're not really changing

140
00:05:47.02 --> 00:05:48.03
any colors here.

141
00:05:48.03 --> 00:05:50.03
I'll go ahead and click
on this mesh point.

142
00:05:50.03 --> 00:05:54.04
Notice that it's HSB values are
120, 20, and 50 respectively

143
00:05:54.04 --> 00:05:57.07
which is just fine, the same
goes for this mesh point

144
00:05:57.07 --> 00:06:01.04
down right and that's
because this entire row

145
00:06:01.04 --> 00:06:04.01
corresponds to the second color stop

146
00:06:04.01 --> 00:06:05.02
in that linear gradient.

147
00:06:05.02 --> 00:06:07.07
Now, the only change I want
to make to this mesh point

148
00:06:07.07 --> 00:06:09.09
is to reduce the opacity
value and so notice

149
00:06:09.09 --> 00:06:12.00
if I click on the word opacity up here,

150
00:06:12.00 --> 00:06:15.01
I can't change the blend mode,
not for a single mesh point,

151
00:06:15.01 --> 00:06:18.01
but I can dial in a different
opacity value if I like

152
00:06:18.01 --> 00:06:22.07
and so I'm going to take that
opacity value down to 80%.

153
00:06:22.07 --> 00:06:26.07
Alright, now I'll select
this guy and his HSB values

154
00:06:26.07 --> 00:06:28.06
are 50, 30, 80, which is just what I want.

155
00:06:28.06 --> 00:06:31.05
I do, however, want to
reduce the opacity to 60%

156
00:06:31.05 --> 00:06:33.07
and because I've a lot of D keys,

157
00:06:33.07 --> 00:06:36.07
I can do that just by tapping the six key.

158
00:06:36.07 --> 00:06:39.07
So, those D key shortcuts
are going to work

159
00:06:39.07 --> 00:06:41.03
even when you're adjusting mesh points.

160
00:06:41.03 --> 00:06:43.07
Now I'll select this guy
and I'm going to dial in

161
00:06:43.07 --> 00:06:45.03
some different values.

162
00:06:45.03 --> 00:06:47.01
I'm going to set the
hue value to 30 degrees

163
00:06:47.01 --> 00:06:51.00
which is going to create a
little bit of orange down here

164
00:06:51.00 --> 00:06:53.02
at this location and so
notice we now have something

165
00:06:53.02 --> 00:06:55.01
we couldn't pull off
with a linear gradient.

166
00:06:55.01 --> 00:06:57.07
We have not only colors
transitioning vertically

167
00:06:57.07 --> 00:07:00.03
but horizontally as well

168
00:07:00.03 --> 00:07:03.04
and I'll set the saturation value to 30%,

169
00:07:03.04 --> 00:07:04.09
that's pretty much where it is already,

170
00:07:04.09 --> 00:07:07.06
and I'll set the brightness value to 60%

171
00:07:07.06 --> 00:07:09.06
to produce this effect here.

172
00:07:09.06 --> 00:07:13.01
Alright, now I'll select this mesh point.

173
00:07:13.01 --> 00:07:15.04
Its colors are just fine
here in the color panel

174
00:07:15.04 --> 00:07:17.06
but I do want to reduce
the opacity value to 70%

175
00:07:17.06 --> 00:07:20.03
and so again because I loaded D keys,

176
00:07:20.03 --> 00:07:22.09
I'll just press the seven key

177
00:07:22.09 --> 00:07:25.00
and then I'll select this guy right here

178
00:07:25.00 --> 00:07:26.07
and this is going to
be a pretty modest edit

179
00:07:26.07 --> 00:07:28.07
but I'm going to take
the brightness value down

180
00:07:28.07 --> 00:07:33.00
from 100% to 80% like so

181
00:07:33.00 --> 00:07:36.01
and that will dim down
the colors in that corner.

182
00:07:36.01 --> 00:07:38.09
Alright, so I could stick
with what are essentially

183
00:07:38.09 --> 00:07:41.06
a bunch of horizontal rows
but as long as I'm working

184
00:07:41.06 --> 00:07:44.00
with the gradient mesh, I
might as well bend these

185
00:07:44.00 --> 00:07:46.04
segments a little bit and so I
decided to take these guys up

186
00:07:46.04 --> 00:07:49.07
like so and then I clicked on this segment

187
00:07:49.07 --> 00:07:51.07
and drag these control handles.

188
00:07:51.07 --> 00:07:54.00
Notice that you can't
drag a segment directly

189
00:07:54.00 --> 00:07:56.05
when you're working with mesh objects,

190
00:07:56.05 --> 00:08:00.02
you have to go ahead and
move the control handles.

191
00:08:00.02 --> 00:08:02.05
Alright, that takes care
of all of the modifications

192
00:08:02.05 --> 00:08:05.08
to the actual mesh itself
and so now I'll just go ahead

193
00:08:05.08 --> 00:08:08.02
and press the V key to
switch to my black arrow tool

194
00:08:08.02 --> 00:08:10.03
and I'll click on the windshield

195
00:08:10.03 --> 00:08:12.08
and that goes ahead and selects
the entire clipping group

196
00:08:12.08 --> 00:08:14.09
after which point I'll
click the word opacity

197
00:08:14.09 --> 00:08:16.06
up here in the control panel

198
00:08:16.06 --> 00:08:19.02
and I'll change the blend
mode for the entire object

199
00:08:19.02 --> 00:08:24.00
to screen in order to produce
this effect right here

200
00:08:24.00 --> 00:08:26.01
and now I'll deselect the windshield,

201
00:08:26.01 --> 00:08:28.03
I'll press control zero
or command zero on a Mac

202
00:08:28.03 --> 00:08:32.00
to zoom out, I'll go ahead and
twirl the meshes layer closed

203
00:08:32.00 --> 00:08:33.09
and I'll scroll down to the
bottom of the layers panel

204
00:08:33.09 --> 00:08:36.06
and I'll turn on this layer of white

205
00:08:36.06 --> 00:08:39.07
which is designed to cover
up the tracing template

206
00:08:39.07 --> 00:08:42.00
and that's just going to
give us a cleaner look

207
00:08:42.00 --> 00:08:44.09
where these background
windows are concerned.

208
00:08:44.09 --> 00:08:47.00
And that's how you turn a linear gradient

209
00:08:47.00 --> 00:08:49.06
which can look pretty darn fakey at times

210
00:08:49.06 --> 00:08:52.08
into a luminous translucent gradient mesh

211
00:08:52.08 --> 00:08:54.08
here inside Illustrator.

