1
00:00:00.07 --> 00:00:02.05
- [Narrator] In this
movie, I'll show you how to

2
00:00:02.05 --> 00:00:05.00
essentially paint using gradient mesh and

3
00:00:05.00 --> 00:00:07.02
a great thing about mesh objects is

4
00:00:07.02 --> 00:00:09.02
because you're transitioning colors

5
00:00:09.02 --> 00:00:11.03
in two opposing directions

6
00:00:11.03 --> 00:00:14.04
you can paint very soft
or out of focus elements

7
00:00:14.04 --> 00:00:16.07
such as these reflected clouds,

8
00:00:16.07 --> 00:00:19.01
in this left hand window.

9
00:00:19.01 --> 00:00:20.09
Now again I have a diagram opened here

10
00:00:20.09 --> 00:00:24.01
inside Photoshop that shows
how things are going to work

11
00:00:24.01 --> 00:00:26.07
and so were painting
every single point with

12
00:00:26.07 --> 00:00:29.01
blue three or blue four.

13
00:00:29.01 --> 00:00:30.05
So all the threes appear in white,

14
00:00:30.05 --> 00:00:32.02
all the fours appear in black,

15
00:00:32.02 --> 00:00:34.03
and we also have a few
white points up here

16
00:00:34.03 --> 00:00:37.02
in the top right, down left, and down here

17
00:00:37.02 --> 00:00:39.05
at the bottom behind the rear view mirror.

18
00:00:39.05 --> 00:00:41.05
All right, I'll switch back to Illustrator

19
00:00:41.05 --> 00:00:43.09
and here we are in the document so far

20
00:00:43.09 --> 00:00:46.03
I'm going to go ahead and zoom in here

21
00:00:46.03 --> 00:00:48.04
and notice if I try and select the window

22
00:00:48.04 --> 00:00:50.05
right at this location there,

23
00:00:50.05 --> 00:00:54.02
I end up selecting this
frame group instead.

24
00:00:54.02 --> 00:00:57.02
And so what I'm going to
do is select that group

25
00:00:57.02 --> 00:00:59.09
and I'm also going to
shift click on the outline

26
00:00:59.09 --> 00:01:01.03
of the rear view mirror

27
00:01:01.03 --> 00:01:03.02
as well as this bottom panel right here

28
00:01:03.02 --> 00:01:04.09
and then I'll go up to the object menu

29
00:01:04.09 --> 00:01:07.05
choose lock and choose selection

30
00:01:07.05 --> 00:01:09.02
in order to lock those objects

31
00:01:09.02 --> 00:01:12.00
and now I can go ahead
and select this window.

32
00:01:12.00 --> 00:01:13.04
Now, the first thing I'm going to do,

33
00:01:13.04 --> 00:01:15.01
is make sure my fill is active here

34
00:01:15.01 --> 00:01:16.04
inside the swatches panel

35
00:01:16.04 --> 00:01:19.04
and then I'm going to
change the fill to white

36
00:01:19.04 --> 00:01:21.04
because white is a good place to start.

37
00:01:21.04 --> 00:01:23.02
Then I'll go up to the object menu

38
00:01:23.02 --> 00:01:25.04
and choose create gradient mesh

39
00:01:25.04 --> 00:01:27.08
and I decided I needed
a total of five rows

40
00:01:27.08 --> 00:01:29.08
and four columns.

41
00:01:29.08 --> 00:01:32.05
The problem is that
everything is equally spaced,

42
00:01:32.05 --> 00:01:33.07
which is not what I want

43
00:01:33.07 --> 00:01:36.02
and you can tell we have
some very wavy lines,

44
00:01:36.02 --> 00:01:37.08
which means that we have those

45
00:01:37.08 --> 00:01:39.07
unwanted hidden points.

46
00:01:39.07 --> 00:01:41.01
So I'm going to cancel out

47
00:01:41.01 --> 00:01:43.06
and I'm going to work with
the mesh tool instead.

48
00:01:43.06 --> 00:01:45.04
And then I'll go ahead and zoom in

49
00:01:45.04 --> 00:01:47.03
and then I'll click at
this spot right here,

50
00:01:47.03 --> 00:01:50.03
to add my first row, and
I'll click right about here

51
00:01:50.03 --> 00:01:51.07
to add the top one.

52
00:01:51.07 --> 00:01:52.08
So this is going to be the bottom row

53
00:01:52.08 --> 00:01:54.02
and this is the top row

54
00:01:54.02 --> 00:01:55.04
and this will give me a chance to

55
00:01:55.04 --> 00:01:56.07
clean these guys up

56
00:01:56.07 --> 00:01:58.06
and create smoother rows in between.

57
00:01:58.06 --> 00:02:00.03
Now, if you ever need to test

58
00:02:00.03 --> 00:02:02.04
whether there are extra points

59
00:02:02.04 --> 00:02:04.03
and there usually are, by the way,

60
00:02:04.03 --> 00:02:07.01
then just tap the minus key in order to

61
00:02:07.01 --> 00:02:09.04
switch to the delete anchor point tool

62
00:02:09.04 --> 00:02:10.06
at which point you'll see that

63
00:02:10.06 --> 00:02:12.08
we do indeed have some extra points.

64
00:02:12.08 --> 00:02:14.05
So I'll click on each one of them

65
00:02:14.05 --> 00:02:15.07
to get rid of them

66
00:02:15.07 --> 00:02:17.02
and that's going to kind
of flatten the curve

67
00:02:17.02 --> 00:02:18.02
but that's okay

68
00:02:18.02 --> 00:02:20.02
it will give me way more control as well.

69
00:02:20.02 --> 00:02:22.02
And I'll click on this guy
to get rid of it as well

70
00:02:22.02 --> 00:02:23.06
and then I'll press the A key

71
00:02:23.06 --> 00:02:25.04
to switch to my white arrow tool.

72
00:02:25.04 --> 00:02:27.06
I'll click on this mesh point right there

73
00:02:27.06 --> 00:02:29.09
and I'll raise this control handle

74
00:02:29.09 --> 00:02:33.00
and I'll go ahead and
raise this guy as well

75
00:02:33.00 --> 00:02:35.02
so that we have a little more curvature

76
00:02:35.02 --> 00:02:36.08
and then I'll click on this segment,

77
00:02:36.08 --> 00:02:39.07
and I'll go ahead and drag
this control handle way over

78
00:02:39.07 --> 00:02:43.06
like so, and I might drag this
one inward just a little bit.

79
00:02:43.06 --> 00:02:45.04
All right now let's
create a couple more rows

80
00:02:45.04 --> 00:02:47.03
by switching back to the mesh tool,

81
00:02:47.03 --> 00:02:49.04
which you can get by pressing the U key

82
00:02:49.04 --> 00:02:52.02
and then I'll click on
this right hand edge

83
00:02:52.02 --> 00:02:55.04
a couple of times, like
so, to add two more rows.

84
00:02:55.04 --> 00:02:57.09
And this time around if
I press the minus key

85
00:02:57.09 --> 00:03:01.01
I can see no extra invisible points,

86
00:03:01.01 --> 00:03:03.04
which is very good news.

87
00:03:03.04 --> 00:03:05.01
All right now let's add some columns

88
00:03:05.01 --> 00:03:07.06
by pressing the U key to
switch back to the mesh tool

89
00:03:07.06 --> 00:03:10.02
and I'll click, let's
say right about there,

90
00:03:10.02 --> 00:03:12.09
and that is tragic to say the least.

91
00:03:12.09 --> 00:03:15.02
I'm going to go ahead and undo that column

92
00:03:15.02 --> 00:03:17.05
and I'll click up here instead,

93
00:03:17.05 --> 00:03:20.05
which will at least put the
top point in the right location

94
00:03:20.05 --> 00:03:22.04
but all the other points are out.

95
00:03:22.04 --> 00:03:24.02
Now notice if I press the minus key

96
00:03:24.02 --> 00:03:26.08
the problem is not access points

97
00:03:26.08 --> 00:03:29.03
the problem is that
the points that we have

98
00:03:29.03 --> 00:03:31.02
are located in the wrong place.

99
00:03:31.02 --> 00:03:33.06
So I'll press the U key to
switch back to my mesh tool

100
00:03:33.06 --> 00:03:35.08
and I'll shift drag this guy

101
00:03:35.08 --> 00:03:36.07
so it's very important,

102
00:03:36.07 --> 00:03:38.04
that you are working with the mesh tool

103
00:03:38.04 --> 00:03:40.05
so that you don't reshape the path

104
00:03:40.05 --> 00:03:41.09
and then I'll go ahead and drag this

105
00:03:41.09 --> 00:03:43.08
control handle up and
then I'll drag this guy

106
00:03:43.08 --> 00:03:45.04
while pressing the shift key

107
00:03:45.04 --> 00:03:48.00
and it'll drag the control
handle over a little bit

108
00:03:48.00 --> 00:03:49.03
and I'll drag this guy

109
00:03:49.03 --> 00:03:51.01
while pressing the shift key.

110
00:03:51.01 --> 00:03:54.03
So that I'm dragging along the row line

111
00:03:54.03 --> 00:03:55.09
and I'll go ahead and move this guy

112
00:03:55.09 --> 00:03:57.07
and I'll move this one as well.

113
00:03:57.07 --> 00:03:58.06
And it looks like this one

114
00:03:58.06 --> 00:04:00.02
wants to come over a little farther,

115
00:04:00.02 --> 00:04:01.02
so I'll shift drag it

116
00:04:01.02 --> 00:04:03.02
then I'll shift drag this guy

117
00:04:03.02 --> 00:04:04.04
to right there

118
00:04:04.04 --> 00:04:06.04
that's looking actually pretty darn good

119
00:04:06.04 --> 00:04:08.08
then I just need to adjust
these control handles

120
00:04:08.08 --> 00:04:11.06
until we have everything nice and smooth.

121
00:04:11.06 --> 00:04:13.02
And, by the way, I haven't mentioned this

122
00:04:13.02 --> 00:04:14.06
in a while but if you find that

123
00:04:14.06 --> 00:04:16.07
your control handle are snapping into

124
00:04:16.07 --> 00:04:18.02
undesirable positions

125
00:04:18.02 --> 00:04:20.03
than you can go up here to the view menu

126
00:04:20.03 --> 00:04:21.09
and turn off smart guides.

127
00:04:21.09 --> 00:04:23.04
In my case they're already off

128
00:04:23.04 --> 00:04:25.03
so I'm able to work pretty freely here.

129
00:04:25.03 --> 00:04:27.09
All right, now I still
have the mesh tool active

130
00:04:27.09 --> 00:04:30.08
and so I'm going to go ahead
and click right about here

131
00:04:30.08 --> 00:04:33.02
near the center of the rear view mirror

132
00:04:33.02 --> 00:04:35.01
and that gives me another lumpy column

133
00:04:35.01 --> 00:04:37.02
and so I'll try to unlump
it here a little bit,

134
00:04:37.02 --> 00:04:40.03
if I can, by dragging these guys around

135
00:04:40.03 --> 00:04:43.00
and of course I'm shift
dragging the mesh points

136
00:04:43.00 --> 00:04:45.09
to avoid messing up my pristine rows,

137
00:04:45.09 --> 00:04:49.01
they look absolutely great
so, I don't want to harm them

138
00:04:49.01 --> 00:04:51.06
and I'm going to drag this
control handle over a little bit

139
00:04:51.06 --> 00:04:53.08
so this stuff can be a little maddening

140
00:04:53.08 --> 00:04:55.02
over time

141
00:04:55.02 --> 00:04:58.02
and this is, by the way,
on of the great things

142
00:04:58.02 --> 00:05:00.08
about starting with a gradient

143
00:05:00.08 --> 00:05:02.08
is that you don't have to go through

144
00:05:02.08 --> 00:05:06.00
a lot of these early mashinations here.

145
00:05:06.00 --> 00:05:08.02
But the problem with
starting with a gradient

146
00:05:08.02 --> 00:05:11.01
is that instead of working
directly inside a mesh object

147
00:05:11.01 --> 00:05:13.06
you're working inside of a clipping mask,

148
00:05:13.06 --> 00:05:15.08
which is often times not
the way you want to work.

149
00:05:15.08 --> 00:05:17.09
Anyway, I'm going to
go ahead and shift drag

150
00:05:17.09 --> 00:05:19.04
this guy over to about there

151
00:05:19.04 --> 00:05:22.03
and then I'll drag this
control handle down.

152
00:05:22.03 --> 00:05:25.02
And now, with any luck,
if I click over here

153
00:05:25.02 --> 00:05:27.02
to create one more column

154
00:05:27.02 --> 00:05:29.00
it won't be all lumpy.

155
00:05:29.00 --> 00:05:30.01
And sure enough,

156
00:05:30.01 --> 00:05:31.03
it's kind of unlumpy,

157
00:05:31.03 --> 00:05:33.03
it's got a little bit of
lump up here at the top,

158
00:05:33.03 --> 00:05:35.00
so I'll just go ahead
and select this point

159
00:05:35.00 --> 00:05:37.07
and shift drag it with
the mesh tool once again

160
00:05:37.07 --> 00:05:39.07
so I don't reshape the path outline.

161
00:05:39.07 --> 00:05:41.08
And then I'll drag this control handle

162
00:05:41.08 --> 00:05:43.03
into a better position.

163
00:05:43.03 --> 00:05:45.05
Now we still have a little
bit of lumpiness going on

164
00:05:45.05 --> 00:05:47.03
but that's not the end of the world.

165
00:05:47.03 --> 00:05:49.01
This is still going to work very nicely,

166
00:05:49.01 --> 00:05:50.07
for our clouds.

167
00:05:50.07 --> 00:05:52.01
All right, now press the A key

168
00:05:52.01 --> 00:05:54.02
to switch to the white arrow tool

169
00:05:54.02 --> 00:05:57.05
and I'll go ahead and marque
these points right here

170
00:05:57.05 --> 00:05:59.02
these first four points,

171
00:05:59.02 --> 00:06:01.05
over here on the right hand side.

172
00:06:01.05 --> 00:06:03.03
And if you end up selecting something,

173
00:06:03.03 --> 00:06:04.06
that you don't want to select

174
00:06:04.06 --> 00:06:07.07
just go ahead and twirl open
the meshes layer right there

175
00:06:07.07 --> 00:06:10.03
and I'm going to lock that
second object from the top,

176
00:06:10.03 --> 00:06:11.08
which is the windshield

177
00:06:11.08 --> 00:06:13.09
because after all I
don't want to mess it up

178
00:06:13.09 --> 00:06:15.06
but it looks like I still
have the interior path

179
00:06:15.06 --> 00:06:16.09
of the car selected.

180
00:06:16.09 --> 00:06:18.05
We'll get to that, in actually,

181
00:06:18.05 --> 00:06:20.08
the next movie and I don't want to ruin it

182
00:06:20.08 --> 00:06:23.04
so I'm just going to
re-marque these two points

183
00:06:23.04 --> 00:06:25.06
and then shift marque these two

184
00:06:25.06 --> 00:06:26.06
and I'll go ahead and

185
00:06:26.06 --> 00:06:28.07
make sure the fill is selected
here in the swatches panel

186
00:06:28.07 --> 00:06:31.01
and I'll select blue four,

187
00:06:31.01 --> 00:06:34.03
in order to turn those points light blue.

188
00:06:34.03 --> 00:06:36.07
Now I'll marque these two points up here

189
00:06:36.07 --> 00:06:40.03
and I also want to shift
marque these three points

190
00:06:40.03 --> 00:06:43.03
in order to select these
five mesh points in a row

191
00:06:43.03 --> 00:06:45.06
and I'll change them to blue four as well.

192
00:06:45.06 --> 00:06:48.06
All right now we are going to
add some blue three to the mix

193
00:06:48.06 --> 00:06:50.07
but clicking and shift
clicking on these two points

194
00:06:50.07 --> 00:06:52.09
shift click and shift click on these two,

195
00:06:52.09 --> 00:06:53.08
so notice that we are skipping a row,

196
00:06:53.08 --> 00:06:56.06
and then shift click and
shift click on these two.

197
00:06:56.06 --> 00:06:58.08
Next you want to shift click
on this point right here

198
00:06:58.08 --> 00:07:00.04
and shift click on this one.

199
00:07:00.04 --> 00:07:02.05
So in each case we are skipping a row,

200
00:07:02.05 --> 00:07:03.06
on the right hand side

201
00:07:03.06 --> 00:07:04.09
we are skipping row lines

202
00:07:04.09 --> 00:07:06.04
one, three, and five.

203
00:07:06.04 --> 00:07:07.04
On the left,

204
00:07:07.04 --> 00:07:09.05
we are skipping row lines two and four.

205
00:07:09.05 --> 00:07:12.08
And now I'll go ahead
and select blue three

206
00:07:12.08 --> 00:07:15.08
in order to paint those
mesh points like so.

207
00:07:15.08 --> 00:07:18.00
All right now I'm going
to select the other points

208
00:07:18.00 --> 00:07:19.07
so this guy and this guy

209
00:07:19.07 --> 00:07:21.03
so click and shift click

210
00:07:21.03 --> 00:07:23.01
and then shift click on each of these two

211
00:07:23.01 --> 00:07:25.08
and shift click on each of these two

212
00:07:25.08 --> 00:07:28.05
and change them to blue four.

213
00:07:28.05 --> 00:07:30.03
And you'll end up with this effect here

214
00:07:30.03 --> 00:07:32.09
and that's all there is to it

215
00:07:32.09 --> 00:07:36.01
and so there you have one possible way

216
00:07:36.01 --> 00:07:39.00
to paint soft or out
of focus image elements

217
00:07:39.00 --> 00:07:40.09
using a gradient mesh

218
00:07:40.09 --> 00:07:43.00
here inside Illustrator.

