- [Narrator] In this movie, I'll show you how to rotate
an object in 3D space, so you have a definite sense
for what's going on.
And I'll also introduce you
to the concepts of pitch, yaw, and roll.
Alright, so I'm going to turn off this 3D revolve layer,
and turn on 3D extrude, which is the layer that contains
the purple notes.
We don't need this text anymore,
so I'll just go ahead and delete it.
And then, I'll select the notes by clicking on them.
Now from this point on, the selection edges
are just going to get in our way, so I'm going
to press Control-H or Command-H on the Mac to hide them.
Then, I'll bring up the appearance panel,
and click on 3D Exclude & Bevel
to revisit that dialogue box.
Now once again,
you have to be prepared for the fact that Illustrator
constantly turns off the Preview check box,
so you'll want to turn that back on.
And now we're going to focus our attention
on these three values right here, which are labeled
X, Y, and Z.
It's a little confusing, however.
Notice if I change the X value, that I'm actually
rotating the object around the X-axis.
So in other words, I'm moving the object forward
and backward, which is, strictly speaking, a rotation
in Z-space, as well as up and down, which is a Y-rotation.
Which is why I prefer to think of these guys as
pitch, yaw, and roll.
So imagine that you're in an airplane,
if you move the nose of the airplane up,
then you're pitching it upward.
If you move it down,
then you're pitching it downward.
The other option, by the way, is to drag one of the bars
that appears in red, where this cube is concerned.
So I can either pitch the object up, by dragging it upward,
or I can pitch it down, like so.
Next we have the yaw control, which is ultimately going
to change the direction of our airplane.
And I can do that by either changing this Y-value here,
or by dragging one of these green bars.
So notice if I drag to the left, I am steering my nose
to the left, and if I drag them to the right,
then I'm steering them to the right, and once again,
that is known as yaw.
And then finally we have the Z-control
right here, which is the same as roll.
So if I drag one of these blue edges,
I'm rolling my plane or my notes here,
in a clockwise direction.
Or, I could roll them in a counter-clockwise direction.
Alright now, through trial and error, I've figured out
a few specific values and so I'm just going to dial them in.
I want the X-value to be -20, then I'll tab down
to the Y-value, and raise it to -25 degrees.
And then I'll set that Z-value to 5 degrees like so.
I want the Perspective to be 70 degrees,
and I'm going to take the Extrude Depth up to 60 points.
And so notice, by the way, that you could set that extrusion
to anything you like, and so a higher value is going
to give you bigger sides, a lower value is going
to get you smaller ones.
Which is why I came up
with something in between, 60 points once again.
After which point, I'll go ahead and click OK
to accept that change.
Now note that one
of the big limitations with 3D in Illustrator,
is that every object is separate.
And so you can't really take one object and use it
to cast a shadow onto another one.
And so if you're looking to give your notes a shadow,
then the best way to work is to add a drop shadow effect,
by going up to the Effect menu, choosing Stylize,
and then choosing Drop Shadow.
Once again, if you loaded my D-keys, then you've got
a keyboard shortcut of Control-Alt-D here on the PC,
or Command-Option-D on the Mac.
And here are the values I came up with,
I set the Color to black, the Mode is Multiply,
the Opacity is 77%.
I have an X Offset of -12,
which, if I turn on the Preview check box,
you can see that that sends the shadow to the left.
I've got a Y offset of 4 points, so it's moving
slightly downward, and I've set the Blur to 8.
At which point, I'll click OK to accept that change.
And so that's how you rotate objects in 3D space,
just remember that you're rotating around either
the X, Y, or Z axis, even if you don't care
about memorizing those terms, pitch, yaw, and roll.
Now what we have so far is looking a little flat,
which is why I'm going to show you how to light
and shade your object in the very next movie.