Sei sulla pagina 1di 12

# Create a Can of Beans by Mapping Vectors to a 3D Object | Vectortuts+

http://vector.tutsplus.com/tutorials/illustration/create-a-can-of-beans-b...

## Ian Yates on Jul 11th 2008 with 50 comments

Source files for this tutorial are available to Premium members. Get a Premium Membership Illustrator has offered a range of 3D tools for some time and this tutorial aims to get you started familiarizing yourself with them. Well be creating a can of beans, built entirely from vectors, using the Symbols palette, the Extrude tool and Illustrators Image Mapping. Enjoy!

To begin with lets have a look at the image well be creating. This tutorial focuses on showing how to Map Artwork to a 3D object in Illustrator. It assumes some basic knowledge of Illustrator.

1 of 12

## Create a Can of Beans by Mapping Vectors to a 3D Object | Vectortuts+

http://vector.tutsplus.com/tutorials/illustration/create-a-can-of-beans-b...

Create a rectangle 400px high by 900px wide. Fill it with whatever design you wish (I appreciate not everyone feels the same way about baked beans as I do) and group it together.

Ive created a second group of vectors to make a simple pattern for the can top. A few rings of equal thickness and a pull-tag (or whatever theyre called) with a combined height and width of 230px.

2 of 12

## Create a Can of Beans by Mapping Vectors to a 3D Object | Vectortuts+

http://vector.tutsplus.com/tutorials/illustration/create-a-can-of-beans-b...

Now we need a circle which will become the basis for our can. Set it to 250 px diameter and a shade of #D3D2D1.

We now have our three elements; a "Bean Can" label, a "Can Top," and a circle. Next we need to make the label available for applying to a 3D surface. Open the symbols palette (Window > Symbols) and drag the label into the window.

3 of 12

## Create a Can of Beans by Mapping Vectors to a 3D Object | Vectortuts+

http://vector.tutsplus.com/tutorials/illustration/create-a-can-of-beans-b...

The label is now a symbol and can be accessed for all manner of uses. The original instance of the label can be deleted from the artboard (to keep things clean). If you ever want to play with it again, just drag a copy from the symbols window back onto the page. Double-click on its icon to open the Symbol Options. Give the symbol a name, such as "Bean Can." This will make it identifiable should you have a number of symbols in the list.

Repeat the last two steps for the "Can Top" object, making it available as a symbol.

4 of 12

## Create a Can of Beans by Mapping Vectors to a 3D Object | Vectortuts+

http://vector.tutsplus.com/tutorials/illustration/create-a-can-of-beans-b...

Now it starts to get interesting! Select the circle you made earlier. Then go to Effect > 3D > Extrude & Bevel. This opens up the 3D Extrude & Bevel Options dialogue.

Extrusion is the simpler of the 3D options Illustrator offers. It basically stretches the selected 2D object (or group of objects) along one axis. To begin with well concentrate on just three of the options as highlighted in the image below. Rotation: can be specified by entering values or by dragging the cube manually with the mouse cursor. Perspective: again, can be entered with the keyboard or dragged with the mouse to get the value you want. Extrude Depth: determines how far along the axis your original shape will be stretched. Fill in the values below to get the same effect as the can in this example. Keep in mind, that if you have Preview selected, alterations you make to the values will need more time to take effect as Illustrator renders the object after each change.

5 of 12

## Create a Can of Beans by Mapping Vectors to a 3D Object | Vectortuts+

http://vector.tutsplus.com/tutorials/illustration/create-a-can-of-beans-b...

For this step its easiest if you have Preview selected. Click on Map Art within the 3D Extrude & Bevel Options dialogue to open up another dialogue. Map Art allows you to cover your objects surfaces with symbols from the Symbols palette. Search through the objects surfaces using the arrows (as highlighted) until you reach the Side of the Can. Youll see the surfaces on your object being highlighted to show you exactly what youre about to cover. In the case of an extruded circle, youll have just three surfaces to choose from, which keeps this relatively simple.

6 of 12

## Create a Can of Beans by Mapping Vectors to a 3D Object | Vectortuts+

http://vector.tutsplus.com/tutorials/illustration/create-a-can-of-beans-b...

Next we need to select our "Bean Can" symbol from the drop-down, which will Map our label around the can. Click on Scale to Fit forcing the image to match the dimensions of our object. Then select Shade Artwork (which results in even slower rendering) for that 3D feel. Its also likely that Illustrator will have rendered your symbol upside down which it often does when dealing with cylinders. Should this be the case, just rotate the image within the Map Art dialogue by dragging one of the corners.

7 of 12

## Create a Can of Beans by Mapping Vectors to a 3D Object | Vectortuts+

http://vector.tutsplus.com/tutorials/illustration/create-a-can-of-beans-b...

Repeat the previous steps to Map your "Can Top" image. Select the correct surface, choose your Can Top symbol from the drop-down and scale/rotate into the desired position. Once youre happy with the Mapping, click OK to return to the 3D Extrude & Bevel Options dialogue.

8 of 12

## Create a Can of Beans by Mapping Vectors to a 3D Object | Vectortuts+

http://vector.tutsplus.com/tutorials/illustration/create-a-can-of-beans-b...

This step isnt vital, but introduces you to further options available with Illustrators 3D tools (and finishes the job off nicely). Click on More Options to expand the Options dialogue. Youll be presented with options for altering the lighting on your object; light intensities, light positions, number of light sources, etc. In this case, drag the only current light source further to the right of the object (see image below). In doing this, youll create a greater lighting contrast on the object. Then click OK.

9 of 12

## Create a Can of Beans by Mapping Vectors to a 3D Object | Vectortuts+

http://vector.tutsplus.com/tutorials/illustration/create-a-can-of-beans-b...

Should you wish to edit the 3D options of your object (perhaps revolve it to see the reverse) open the Appearance window (Window > Appearance). Then click on the 3D Extrude & Bevel attribute in the list. Youll be taken back to the 3D Extrude & Bevel Options dialogue.

You should now be the proud owner of a fully scaleable, vector-based, 3D can of beans! Following these steps has given you a good introduction to the 3D capabilities of Illustrator, which are excellent for manipulating vectors. If you work with different 3D objects, symbols, and settings, youll find the possibilities limitless! If you ask questions or leave comments, Ill answer them, as Id like to improve on my teaching skills.

10 of 12

## Create a Can of Beans by Mapping Vectors to a 3D Object | Vectortuts+

http://vector.tutsplus.com/tutorials/illustration/create-a-can-of-beans-b...

Like

11 of 12

## Create a Can of Beans by Mapping Vectors to a 3D Object | Vectortuts+

http://vector.tutsplus.com/tutorials/illustration/create-a-can-of-beans-b...

By Ian Yates
Hi there, my name's Ian and I wander the corridors of Envato, editing Webdesigntuts+ and contributing the odd tutorial here and there as I do so. Check out more of my work on www.snaptin.com :)

12 of 12