- [Instructor] In this movie,
we're going to use the revolve effect
to create something of a classic
in the form of this 3D soda can.
Alright I no longer need this ring
and in fact, it's going to slow things down.
So I'm going to get rid of that layer
by switching to the layers panel,
and I could just click on the trash can icon,
down here in the bottom right corner.
But if I do that, I'll get an alert message.
If that bugs you, then what you can do instead,
is drag the layer and drop it onto the trash can.
Next I'll go ahead and turn on the soda layer,
and you can see that it's a total of three very basic paths.
I do the orange path using the pen tool,
and it's in the background.
Down here at the bottom is this sliver
that I created using a pathfinder operation,
and then up here at the top is a standard rectangle.
Now I want to be able to revolve
all these paths at the same time.
So I'll go ahead and marquee them all
with my black arrow tool,
and then I'll go up to the object menu
and choose a group command,
or of course you can just press control G,
or command G on the Mac.
Next I'll go up to the effect menu, choose 3D,
and then choose revolve.
Now many of the default settings
work great for this particular project,
and to demonstrate what I mean,
I'll turn on the preview checkbox.
We definitely want the offset value to be zero points,
because otherwise if I enter for example, 100 points,
then we're going to get this big wide soda can
with a hole in it's middle.
That's not what we want so reset that to zero.
We also want to rotate the artwork around the left edge,
and we want the angle value to be 360 degrees
because if it's anything less,
and I'm going to have to go ahead
and arrow down that value to make the preview catch up,
we'll be able to see inside the soda can.
Obviously that's not what I want,
so I'll go ahead and change this value back to 360 degrees.
Now we don't want to see the top of the can
because that would require us to draw
a bunch of additional artwork.
So I'm going to drag the bottom edge of this cube upward
until we can no longer see that top edge.
I also want to add some perspective in order to
give the can a little bit of bulge,
as we're seeing right here.
In fact I decided to take the perspective value
all the way up to 90 degrees.
Alright now I'm going to set these guys each to zero.
So both the yaw and the role values right there
want to be zero degrees,
and I'm also going to take this pitch value down a bit
because right now we're seeing too much
of the middle of the can,
and so I'm going to take this value down
to negative five let's say, to produce this effect here.
Now it's not quite plump,
and to demonstrate what I mean by that,
I'll go ahead and click okay.
Then I'll turn on the guides layer,
and you can see that the right edge of the can
follows this vertical guide,
but the left edge of the can bends outward,
and that's entirely a function of that perspective value
and the fact that we're rotating around the left edge.
If I drew my artwork in the other direction,
then it would be the right edge that's poking out.
So what I decided to do,
was switch back to the appearance panel,
and click on 3D revolve in order to bring back my settings,
and I'll turn on the preview checkbox,
and notice if I click in this roll value right here
and I press the down arrow key,
to rotate the can ever so slightly to the right,
that for one thing I go to far,
now the right edge is crooked.
But also notice at the top of the can,
doesn't really look flush.
So what I decided to do instead was to take this value
up to 10 degrees in order to give the artwork
some obvious rotation,
so the effect at least appears to be on purpose.
Alright I'll go ahead and click okay,
and I'll switch bact to the layers panel,
and turn off the guides layer.
Because I want you to notice that we have a problem
down here at the bottom of the can.
Some of the orange from that
background path is showing through,
and that's because these points
are absolutely aligned with each other.
What I need to do is bring them up just a little bit.
So I'm going to switch to the white arrow tool,
which of course you can get by pressing the A key,
and then I'll marquee these
three anchor points down here at the bottom.
Just these two along the horizontal edge,
and this guy right there,
and then I'll shift-click in this white path right here,
you can't really tell it's white at this point, but it is.
I'm shift-clicking on it in order to fully select it,
and then I'll shift-click on it again to deselect it.
Now with these three points
at the bottom of the orange path only selected.
I'll press the up-arrow key
in order to nudge them upward one point,
and that takes care of the problem.
Now it does introduce a new problem,
but as you'll see this is one
we can deal with by adjusting a few settings.
Alright now I'll press the V key
to switch back to my black arrow tool,
and I'll click somewhere inside the path
to select the entire group, and then,
I'll switch back to the appearance panel
and click on 3D revolve in order to once again
bring back my settings.
Alright now at this point
we need to adjust some lighting settings.
I just happen to know the settings I want to use in advance.
So I'm going to start things off just by entering them,
without the preview turned on,
it'll just make things faster.
I'm going to take the ambient light value down to zero,
and I'll increase the highlight intensity value to 100%.
I'll take the highlight size down to 33%.
The reason being I want some nice sharp highlights.
And I'll change the shading color from black to custom,
and then I'll click in that red color swatch,
I'm okay with the red, as it turns out,
but I want to take the brightness value down to 20%.
We've got a hue value of zero, a saturation of 100,
and a brightness of 20, at which point I'll click okay.
Now I'll just go ahead and move this light
up a little bit inside of the sphere,
and I'll turn the preview checkbox
so I can better see what I'm doing.
Now at this point we still have that weird edge,
and so I'm going to add a little light by clicking on
the little page icon,
and I'm going to move this light down and to the right like so,
and I'm also going to take the light intensity value
for this particular light down to 90%, and as you can see,
that goes ahead and takes care of that weird edge
we were seeing a moment ago.
I want a little bit of balance
over here on the left-hand side,
so I'll create another light,
and I'll drag it all the way over
to the left-hand side of the sphere,
and I'll click on this first icon
right here to move it to back,
and that'll give us this bounce over here on the edge.
Just to demonstrate what I mean by that,
I'm going to delete the light for a moment.
So I'll just go ahead and click
on the trash can icon to get rid of it,
and you can see that that bounce disappears.
Now I'm also demonstrating something else,
which is the unfortunate fact that you do not have an undo
when you're working inside the 3D dialog boxes.
So if I want to bring that light back,
I have to add it manually all over again.
I'll go ahead and click on the little page icon,
I'll send that light to back,
and then I'll move it all the way over
to the left-hand side.
Alright now notice that edge is coming back right there?
We obviously you don't want that,
but it's kind of a figment of illustrator's imagination.
If I just click on this light source again,
the one that's in the down right corner of the sphere,
that edge artifact disappears.
This light incidentally, I should mention,
is responsible for the highlights that we're seeing up here
at the top of the can, which I quite like.
So I'll go ahead and drag this guy up a little bit.
If you decide that you wanted
the size of those highlights to be bigger,
you could increase the highlight size value,
but notice that also gives
us a big highlight here in the center.
It's not really what I want,
so I'm going to take that value back down to 33%.
Then finally we have got quite a bit
of banding going on here,
so I'm going to increase the blend steps value to 60.
You could of course take it higher if you want,
but then the effect is going to take longer to apply as well.
After which point,
I'll go ahead an click okay to accept that effect.
Then just for fun, I'll switch back to the layers panel
and show you how I've added this flares layer right here,
and if you turn it on you'll see a bunch of flares.
And I created those incidentally using the flare tool
which is available from the shape tool fly out menu.
If you like you can add more flares
by unlocking this layer and selecting it,
and then for example I can add a flare
at this location right here.
And I just drag with the tool,
in order to add these several shapes,
you could also click to create
additional points of lens flare if you like.
But again that's not the effect I was looking for,
and I don't want this flare either,
so I'm just going to press the backspace key
or the delete key on the Mac to get rid of it.
Alright so that's how I use the revolve effect
to create this 3D soda can.
In the next movie,
I'll show you how to wrap a logo around the can.