1
00:00:00.00 --> 00:00:02.03
- [Voiceover] In this movie
we're going to get into some

2
00:00:02.03 --> 00:00:03.09
pretty Archean territory.

3
00:00:03.09 --> 00:00:05.03
And so, if that doesn't interest you,

4
00:00:05.03 --> 00:00:07.05
feel free to skip to the next movie.

5
00:00:07.05 --> 00:00:10.02
The thing is, this is an advanced course,

6
00:00:10.02 --> 00:00:12.04
so I want you to understand
exactly what's going on

7
00:00:12.04 --> 00:00:13.08
under the hood.

8
00:00:13.08 --> 00:00:16.08
And the idea is that exclude,
if you think about it,

9
00:00:16.08 --> 00:00:21.03
exclude applied to a compound
shape is no better than

10
00:00:21.03 --> 00:00:24.01
just working with a straight
forward compound path

11
00:00:24.01 --> 00:00:29.05
because after all, compound
paths use the exclude operation.

12
00:00:29.05 --> 00:00:31.05
And so, let me show you
what I mean by that.

13
00:00:31.05 --> 00:00:33.08
I'll go ahead and click, and
shift-click, on these circles

14
00:00:33.08 --> 00:00:35.03
to select both of them.

15
00:00:35.03 --> 00:00:37.07
And then I'll go up to the object menu,

16
00:00:37.07 --> 00:00:40.00
choose compound path and choose make.

17
00:00:40.00 --> 00:00:42.09
Or you have that keyboard
shortcut of control eight,

18
00:00:42.09 --> 00:00:45.06
command eight on a mac,
which may seem like,

19
00:00:45.06 --> 00:00:48.00
why in the world would
I ever remember that?

20
00:00:48.00 --> 00:00:50.09
Well just bare in mind that the
number eight is the ultimate

21
00:00:50.09 --> 00:00:55.00
compound path because it has
two circles cut out of it.

22
00:00:55.00 --> 00:00:57.02
Anyway, I'm going to go
ahead and choose that command

23
00:00:57.02 --> 00:01:01.00
and the result is one
hole cut out of another.

24
00:01:01.00 --> 00:01:03.04
So, you might figure
well, that's not exclude,

25
00:01:03.04 --> 00:01:06.07
that's actually minus
front, but here's the thing,

26
00:01:06.07 --> 00:01:08.03
if I were to double click on this path

27
00:01:08.03 --> 00:01:11.07
to enter the isolation mode and
drag this inner circle down,

28
00:01:11.07 --> 00:01:14.09
you would see that we have
a classic exclusion effect.

29
00:01:14.09 --> 00:01:18.01
So wherever the paths
overlap, we have a hole,

30
00:01:18.01 --> 00:01:20.09
where they don't overlap,
we have an opaque fill,

31
00:01:20.09 --> 00:01:23.09
as you can see, if I move these
paths around a little bit.

32
00:01:23.09 --> 00:01:27.09
Alright however, that's not
always the way it works.

33
00:01:27.09 --> 00:01:30.02
What I'm going to do
here is press control z,

34
00:01:30.02 --> 00:01:32.06
or command z on the mac,
as many times as it takes

35
00:01:32.06 --> 00:01:35.00
to get back to starting point here.

36
00:01:35.00 --> 00:01:37.04
And I'm going to marquee
all four of these paths,

37
00:01:37.04 --> 00:01:39.08
and then go up to the object menu,

38
00:01:39.08 --> 00:01:42.07
choose compound path and choose make,

39
00:01:42.07 --> 00:01:46.00
and you'll see that we're not
really getting total exclusion

40
00:01:46.00 --> 00:01:49.01
interaction and to
demonstrate the difference,

41
00:01:49.01 --> 00:01:51.08
I'll go ahead and marquee
these shapes over here

42
00:01:51.08 --> 00:01:55.04
and go over to the pathfinder
panel and press the alt key,

43
00:01:55.04 --> 00:01:58.03
or the option key on a mac,
and click that fourth icon

44
00:01:58.03 --> 00:01:59.05
in the first row.

45
00:01:59.05 --> 00:02:01.06
And so the immediate
thing that you see is that

46
00:02:01.06 --> 00:02:04.01
the exclude mode grabs the fill and stroke

47
00:02:04.01 --> 00:02:05.08
from the front most shape,

48
00:02:05.08 --> 00:02:09.03
where a compound path grabs
it from the rear most shape.

49
00:02:09.03 --> 00:02:11.05
But more important, I'll
go ahead and double click

50
00:02:11.05 --> 00:02:14.04
on any of these paths to
enter the isolation mode

51
00:02:14.04 --> 00:02:16.05
and I'll drag this square so
it's more or less centered

52
00:02:16.05 --> 00:02:18.02
on the other path outlines

53
00:02:18.02 --> 00:02:22.03
and you can see we get
that even-odd interaction.

54
00:02:22.03 --> 00:02:24.06
So anyplace where two
path outlines overlap,

55
00:02:24.06 --> 00:02:27.01
which is an even number, we get a hole.

56
00:02:27.01 --> 00:02:29.08
Anytime where three path outlines overlap,

57
00:02:29.08 --> 00:02:33.02
which is an odd number, we
see an opaque fill once again.

58
00:02:33.02 --> 00:02:35.09
And anytime where four
path outlines overlap,

59
00:02:35.09 --> 00:02:38.08
again an even number, we see a hole.

60
00:02:38.08 --> 00:02:42.00
Compare that to what we're
getting with a compound path.

61
00:02:42.00 --> 00:02:43.08
I'll go ahead and press the escape key

62
00:02:43.08 --> 00:02:45.08
in order to exit the isolation mode

63
00:02:45.08 --> 00:02:49.05
and I'll double click on the
compound path to isolate it,

64
00:02:49.05 --> 00:02:51.09
and then I'll drag that
square down once again.

65
00:02:51.09 --> 00:02:54.02
Where we have an even
overlap, we get a hole

66
00:02:54.02 --> 00:02:59.03
but the next odd, and even
overlaps, we see opaque fills.

67
00:02:59.03 --> 00:03:01.07
The problem is, an
obscure post grip feature

68
00:03:01.07 --> 00:03:05.04
known as the non zero winding fill rule.

69
00:03:05.04 --> 00:03:08.01
Now, I'm not even going to
bother to explain to you

70
00:03:08.01 --> 00:03:10.00
what that means, it's basically all about

71
00:03:10.00 --> 00:03:12.01
the direction of the path outlines.

72
00:03:12.01 --> 00:03:14.08
But I am going to explain the solution.

73
00:03:14.08 --> 00:03:17.02
What you do is, you go
up to the window menu

74
00:03:17.02 --> 00:03:19.05
and you choose the attributes command,

75
00:03:19.05 --> 00:03:22.03
which brings up this
dinky little panel here,

76
00:03:22.03 --> 00:03:23.06
at least by default.

77
00:03:23.06 --> 00:03:25.06
Then you click on this double arrow icon

78
00:03:25.06 --> 00:03:27.05
in order to expand the panel.

79
00:03:27.05 --> 00:03:30.00
And notice this icon
that's currently active.

80
00:03:30.00 --> 00:03:33.00
It says, use non-zero winding fill rule,

81
00:03:33.00 --> 00:03:35.03
which is illustrators default setting.

82
00:03:35.03 --> 00:03:37.07
What you want is this guy right next door

83
00:03:37.07 --> 00:03:39.04
use even-odd fill rule,

84
00:03:39.04 --> 00:03:42.00
which I think I've been
explaining in detail

85
00:03:42.00 --> 00:03:45.00
throughout this movie, and
notice as soon as you click on it

86
00:03:45.00 --> 00:03:48.06
we get the exclusion behavior
that we're looking for.

87
00:03:48.06 --> 00:03:51.07
And in fact, we get the
exact interaction that we get

88
00:03:51.07 --> 00:03:55.04
from a compound shape
set to the exclude mode.

89
00:03:55.04 --> 00:03:57.00
And so you may have very well asked,

90
00:03:57.00 --> 00:03:59.09
well then what is the advantage
to working with a compound

91
00:03:59.09 --> 00:04:01.08
shape set to exclude?

92
00:04:01.08 --> 00:04:04.09
And the answer is that, you
can apply multiple modes

93
00:04:04.09 --> 00:04:07.05
within a single compound shape,

94
00:04:07.05 --> 00:04:11.07
as I'm about to demonstrate
in the very next movie.

