1
00:00:00.06 --> 00:00:01.07
- [Instructor] In this
movie, I'll introduce you

2
00:00:01.07 --> 00:00:04.00
to the powerful gradient mesh feature

3
00:00:04.00 --> 00:00:06.00
here inside Illustrator.

4
00:00:06.00 --> 00:00:08.06
Now notice that we're
looking at the bacterium

5
00:00:08.06 --> 00:00:10.08
which first appeared in Chapter Three

6
00:00:10.08 --> 00:00:13.06
on the Fundamentals course,
specifically in the movie

7
00:00:13.06 --> 00:00:17.06
called Zooming In and Out, and
just to refresh your memory,

8
00:00:17.06 --> 00:00:21.06
we ended up zooming in to
Illustrator's maximum zoom ratio,

9
00:00:21.06 --> 00:00:26.00
which is 64,000%, which
is sufficiently magnified

10
00:00:26.00 --> 00:00:29.08
to theoretically see individual bacteria,

11
00:00:29.08 --> 00:00:33.00
and you may notice that
this guy's body right here

12
00:00:33.00 --> 00:00:35.09
is filled with a gradient mesh.

13
00:00:35.09 --> 00:00:37.03
So let's see what that looks like.

14
00:00:37.03 --> 00:00:40.05
I'm going to go up to the View
menu, and scroll all the way

15
00:00:40.05 --> 00:00:43.00
to the bottom, at which
point, if you're working along

16
00:00:43.00 --> 00:00:45.09
with me, you'll see a
command called Diagram.

17
00:00:45.09 --> 00:00:48.00
If you choose that
command, it will zoom in

18
00:00:48.00 --> 00:00:50.05
on a specific portion of the illustration

19
00:00:50.05 --> 00:00:54.04
and it's going to turn on
and off a few layers as well.

20
00:00:54.04 --> 00:00:57.02
I'm going to turn off
the Diagram layer for now

21
00:00:57.02 --> 00:00:59.08
so we can focus in on
this object right here,

22
00:00:59.08 --> 00:01:01.09
and I'll go ahead and
click on it to select it

23
00:01:01.09 --> 00:01:04.02
with the black arrow tool
and I want you to see

24
00:01:04.02 --> 00:01:07.04
that in addition to the points
that surround the shape,

25
00:01:07.04 --> 00:01:10.08
we have a bunch of points
inside the path as well,

26
00:01:10.08 --> 00:01:13.08
and these are known as mesh points.

27
00:01:13.08 --> 00:01:17.00
Now I want you to notice the
difference between mesh points

28
00:01:17.00 --> 00:01:19.06
and anchor points, and it's very subtle.

29
00:01:19.06 --> 00:01:22.02
If I press the a key to
switch to the white arrow tool

30
00:01:22.02 --> 00:01:25.06
and click on this guy right
here, notice that it's a square.

31
00:01:25.06 --> 00:01:28.05
Squares represent everyday,
average anchor points

32
00:01:28.05 --> 00:01:29.07
in Illustrator.

33
00:01:29.07 --> 00:01:32.01
These guys however are diamonds

34
00:01:32.01 --> 00:01:33.08
if you can tell the difference

35
00:01:33.08 --> 00:01:36.09
and they represent the mesh points,

36
00:01:36.09 --> 00:01:39.00
and the interesting
thing about mesh points

37
00:01:39.00 --> 00:01:42.05
is that they can have
colors associated with them

38
00:01:42.05 --> 00:01:45.01
as we're seeing here
inside the Swatches panel,

39
00:01:45.01 --> 00:01:46.09
and if you want to see what that color is,

40
00:01:46.09 --> 00:01:48.09
just go ahead and switch
to the Color panel,

41
00:01:48.09 --> 00:01:51.01
which you can get by
choosing the Color command

42
00:01:51.01 --> 00:01:53.04
from the Window menu and
then I'm going to click

43
00:01:53.04 --> 00:01:56.02
on the flyout menu icon and choose HSB

44
00:01:56.02 --> 00:01:58.08
so that we're seeing the HSB sliders.

45
00:01:58.08 --> 00:02:01.07
You may need to expand your Color panel

46
00:02:01.07 --> 00:02:03.09
in order to make them visible,

47
00:02:03.09 --> 00:02:07.01
and so notice if I click
on this point right there,

48
00:02:07.01 --> 00:02:09.07
that it has a hue value of 200 degrees,

49
00:02:09.07 --> 00:02:13.07
a saturation of 100%, and
brightness of 100% as well,

50
00:02:13.07 --> 00:02:17.09
whereas if I select this point,
the brightness drops to 80%,

51
00:02:17.09 --> 00:02:19.09
and if I select this higher point,

52
00:02:19.09 --> 00:02:22.06
then the saturation drops to 80%

53
00:02:22.06 --> 00:02:25.05
and the brightness goes back up to 100%,

54
00:02:25.05 --> 00:02:29.01
and so what's happening is
that we're creating gradients

55
00:02:29.01 --> 00:02:33.02
between each pairs of
points, both going vertically

56
00:02:33.02 --> 00:02:36.09
and going horizontally as well.

57
00:02:36.09 --> 00:02:40.05
So rather than being limited
to a linear or radial gradient,

58
00:02:40.05 --> 00:02:42.08
both of which are
technically one-dimensional,

59
00:02:42.08 --> 00:02:45.09
we end up with a two-dimensional gradient,

60
00:02:45.09 --> 00:02:48.03
so gradients that are
going along with the shape

61
00:02:48.03 --> 00:02:50.03
or perpendicularly to it.

62
00:02:50.03 --> 00:02:52.05
All right, now because it's
hard to see the difference

63
00:02:52.05 --> 00:02:55.01
between these points, I've
gone ahead and captured

64
00:02:55.01 --> 00:02:57.03
a screenshot from a retina display,

65
00:02:57.03 --> 00:03:00.08
so a very high-resolution
display, and I've opened it up

66
00:03:00.08 --> 00:03:04.07
inside of Photoshop and you
can see if we zoom on in,

67
00:03:04.07 --> 00:03:07.07
that sure enough, the
anchor point is square

68
00:03:07.07 --> 00:03:10.00
and so the anchor points are
the standard sorts of points

69
00:03:10.00 --> 00:03:11.03
that we've seen in the past.

70
00:03:11.03 --> 00:03:13.07
They do not have colors
associated with them.

71
00:03:13.07 --> 00:03:16.04
These diamonds are mesh points,

72
00:03:16.04 --> 00:03:20.01
which define the color
contours inside the gradient,

73
00:03:20.01 --> 00:03:22.04
and then, if I were to scroll down here

74
00:03:22.04 --> 00:03:25.01
and zoom out just a little
bit, you can see that

75
00:03:25.01 --> 00:03:27.09
we also have what's known as a mesh patch

76
00:03:27.09 --> 00:03:32.00
which is the region
between four mesh points,

77
00:03:32.00 --> 00:03:33.05
and let me show you what that looks like.

78
00:03:33.05 --> 00:03:35.07
I'll go ahead and switch
back over to Illustrator,

79
00:03:35.07 --> 00:03:38.06
and I'll select that mesh
patch just clicking in it,

80
00:03:38.06 --> 00:03:41.02
and notice that all four
points surrounding the patch

81
00:03:41.02 --> 00:03:43.04
are also selected, and incidentally,

82
00:03:43.04 --> 00:03:45.08
in case you're having
problems selecting a patch,

83
00:03:45.08 --> 00:03:48.05
then press control + k
or command + k on the Mac

84
00:03:48.05 --> 00:03:50.03
to bring up the Preferences dialog box,

85
00:03:50.03 --> 00:03:53.02
select the second option over
here on the left-hand side,

86
00:03:53.02 --> 00:03:55.09
Selection & Anchor Display, and make sure

87
00:03:55.09 --> 00:03:59.07
Object Selection by
Path Only is turned off.

88
00:03:59.07 --> 00:04:02.05
We will be turning it on later
because it's very helpful

89
00:04:02.05 --> 00:04:04.06
to have it on when working
with gradient mesh,

90
00:04:04.06 --> 00:04:08.05
but right now, go ahead and
turn it off, and then click OK,

91
00:04:08.05 --> 00:04:11.06
and now you should just be
able to click inside a region

92
00:04:11.06 --> 00:04:15.00
to select it, and then you
can drag it around like so,

93
00:04:15.00 --> 00:04:17.00
so you can either drag an entire patch

94
00:04:17.00 --> 00:04:21.03
or you can click on a single
mesh point and drag it

95
00:04:21.03 --> 00:04:22.08
around as well.

96
00:04:22.08 --> 00:04:26.03
Now an interesting thing
to note about a mesh point

97
00:04:26.03 --> 00:04:28.09
is that more often than
not, it's a smooth point,

98
00:04:28.09 --> 00:04:31.00
but it's a kind of double smooth point.

99
00:04:31.00 --> 00:04:34.02
Notice that we have two
sets of control handles

100
00:04:34.02 --> 00:04:37.04
that are diametrically
opposed to each other,

101
00:04:37.04 --> 00:04:39.06
so they're bending up
and down like a seesaw,

102
00:04:39.06 --> 00:04:43.02
but then we have this other set as well,

103
00:04:43.02 --> 00:04:45.05
and so altogether we
have four control handles

104
00:04:45.05 --> 00:04:48.03
coming off of a single mesh point.

105
00:04:48.03 --> 00:04:51.02
So it behaves kind of
like a double smooth point

106
00:04:51.02 --> 00:04:53.03
if you will.

107
00:04:53.03 --> 00:04:55.01
All right, now let's say
you want to change the color

108
00:04:55.01 --> 00:04:56.00
of this point.

109
00:04:56.00 --> 00:04:58.05
Then just go ahead and dial
in a different color here

110
00:04:58.05 --> 00:04:59.07
inside the Color panel.

111
00:04:59.07 --> 00:05:02.04
I'll go ahead and change the
hue value to zero degrees,

112
00:05:02.04 --> 00:05:05.05
and you can see now we
have this blast of red

113
00:05:05.05 --> 00:05:08.04
that's associated with
this single mesh point.

114
00:05:08.04 --> 00:05:10.08
If you want to change the
color of multiple mesh points

115
00:05:10.08 --> 00:05:13.03
at a time, just go ahead
and click and shift-click

116
00:05:13.03 --> 00:05:16.00
on the desired points,
using the white arrow tool,

117
00:05:16.00 --> 00:05:19.05
and then I'll crank the
saturation value up to 100%,

118
00:05:19.05 --> 00:05:23.01
and I'll take the hue value
down to let's say 120 degrees

119
00:05:23.01 --> 00:05:27.00
in order to add a bunch
of points of bright green.

120
00:05:27.00 --> 00:05:29.05
Another option is to
select an entire patch

121
00:05:29.05 --> 00:05:32.09
by clicking inside of it
and changing the color of it

122
00:05:32.09 --> 00:05:37.01
to let's say purple and that's
going to add a blast of purple

123
00:05:37.01 --> 00:05:40.05
at that location, and notice
the colors are fading to blue

124
00:05:40.05 --> 00:05:43.04
at the other mesh point, and so again,

125
00:05:43.04 --> 00:05:45.02
we have this two-dimensional gradient.

126
00:05:45.02 --> 00:05:48.01
Notice that it's fading
more slowly over here

127
00:05:48.01 --> 00:05:50.02
in the central portion of the shape,

128
00:05:50.02 --> 00:05:52.05
and that's because there's a big distance

129
00:05:52.05 --> 00:05:54.05
between this column of mesh points

130
00:05:54.05 --> 00:05:58.00
and this column of mesh points over here.

131
00:05:58.00 --> 00:06:00.09
Now the control handles do change the way

132
00:06:00.09 --> 00:06:03.00
that the colors fade by the way.

133
00:06:03.00 --> 00:06:05.08
So notice if I drag these
controls handles around,

134
00:06:05.08 --> 00:06:10.02
I am going to change not only
the direction of the gradient

135
00:06:10.02 --> 00:06:12.06
but also the speed of the gradient.

136
00:06:12.06 --> 00:06:14.05
So notice if I drag this guy way over here

137
00:06:14.05 --> 00:06:17.08
and then I drag this one
back over this direction

138
00:06:17.08 --> 00:06:21.00
that we are going to have more
of a rapid transition right here

139
00:06:21.00 --> 00:06:24.06
in the middle, and so I could
go ahead and weight things

140
00:06:24.06 --> 00:06:26.09
more in favor of the
purple if I wanted to,

141
00:06:26.09 --> 00:06:30.02
or I could drag this guy
back and weight things

142
00:06:30.02 --> 00:06:34.03
more in favor of the blue.

143
00:06:34.03 --> 00:06:36.05
And so even though I've
made a big mess so far,

144
00:06:36.05 --> 00:06:40.02
that is my introduction to
the world of gradient mesh

145
00:06:40.02 --> 00:06:42.02
here inside Illustrator.

