Preview

How to Make a Vector Military Cap Icon

Dec 30th in Illustration by Jonathan

This tutorial will show the intermediate-to-advanced Adobe Illustrator artist how to make a realistic military style cap icon using predominately gradients, blends, and the Gradient Mesh Tool. We'll be using a photo reference to base this illustration on, though utilizing creative judgement throughout the process.

PG

Author: Jonathan

Thanks to all of the great support from the Vectortuts community I've written almost 40 tutorials and counting! If any of you would like to see a tutorial on a specific topic feel free to post in the comments below and I'll try to write something just for you!

Final Image Preview

Below is the final design we will be working towards. Want access to the full Vector Source files and downloadable copies of every tutorial, including this one? Join VECTORTUTS PLUS for just $9/month.

Step 1

Start by taking a photograph of a cap that has a nice angle. Usually, the resulting illustration is only as interesting as the original photo. Do consider lighting when you take the photo. Good lighting will ensure that you know where to draw shadows and highlights when doing the illustration.

You'll be able to focus on workmanship and not trying to visualize where shadows and highlights should go. Although, you can compensate for bad lighting if the conditions of the photo don't allow for nice lighting. This photo is not the best, but I will improvise and exaggerate the shadows and highlights that are visible.

Step 2

Put the cap photo on it's own layer and lock that layer. Throughout this tutorial I will be using multiple layers to make it easy to lock items when not in use. I will not be pointing out when I use a subsequent new layer.

Use the Pen Tool (P) to trace each section of the hat. Do not trace the entire outline of the hat all at once. Tracing sections will afford you the opportunity to control how the gradient mesh works within each area more precisely. Use a bright color and set the strokes thickness to about .5 to make it easy to see what you are doing.

Step 3

Observe how each piece of the cap is its own shape. Also, do not worry about tracing each and every detail of the photo. Use creative discretion when determining what to include and what to leave out. Details like the hardware on the front of the cap would not reproduce well in the resulting icon since it is so detailed.

Step 4

Fill in the sections of the cap with a base color. The top of the cap uses a medium green color. Since I will be adding shadows and highlights, I always think ahead and pick a color that is not too dark as to impede with the shadows I will add later. To clarify, if I used a darker green color, the shadows would not add much more depth. So, think about how you want the final piece to look before you get started.

Step 5

Since the cap is broken up into multiple sections I was able to easily and more precisely predict how the mesh points would be placed. When placing mesh points I made sure to place as few as possible and not too close in proximity to each other, except near the lower edge of the brim, as highlighted below. I placed two points very close in this instance because I know that I want a sharp change, from one color to a lighter color.

When placing mesh points it is usually easier to place the first mesh point near the center of the object. You should only need to place about five or six points to achieve the look below. Access the Mesh Tool by pressing (U).

Step 6

The most effective way to define shadow and highlight colors is to add them to your Swatches Palette before you need to use them. This also will ensure that your colors are consistent. For example, if you are using a light green color on the left edge of the hat you will probably want the same color on the right edge. It's better to have swatches defined, than to try and guess what color you used, or arbitrarily adjusting the sliders.

Step 7

Using the Direct Selection Tool (A) select the points that you would like to add shadows to. Select multiple points by dragging over all the points, or by clicking each point one at a time while holding down shift. Once you have the points selected simply click on the darker color in your Swatches Palette to apply it.

Step 8

Although you have predefined swatches in your Swatches Palette you may want to make a special color at some point. Using the Direct Selection Tool select the point that you'd like to change the color of, then go to the Color Palette, click the small triangle in the upper-right corner, and select HSB. HSB will allow the color of the point to change to lighter and darker tones of the color. If you simply want the color to either be lighter or darker, change the B slider, as shown below.

Step 9

Add mesh points to the bottom of the cap and adjust their color too. You can move individual mesh points around if you are not satisfied with their original position. To move the mesh points select them using the Direct Selection Tool and move them into position.

Step 10

The bottom of the cap is under the shadow of the top of the cap. If you have discovered that you need to drastically adjust the darkness of any portion of the cap you can select individual points or the entire object and change it's overall color. To change several mesh points colors at once go to Edit > Adjust Color Balance. Give all the input areas the same value to either lighten or darken the colors.

Step 11

Notice how the shadows are much more dramatic than those in the original photograph. As I mentioned earlier, if the photo is not properly lit you will need to fabricate where the shadows should go as you're making the icon.

Step 12

We'll give the brim of the hat a slight highlight by first drawing a shape that follows the curve of the cap. Blur the shape by going to Effect > Blur > Gaussian Blur...

Step 13

Instead of adding every single detail using the gradient mesh, you can add other shadows in the same manner that we used for the previous step.

Step 14

When using black you should use a rich black color, not a grayscale black. Rich black creates a darker black and uses red, green and blue at 0%. Greyscale black is not bad to use, it is just not completely black. The swatches that Illustrator automatically adds to your document are greyscale black, except for the swatch indicated. If, for example, you were to make a gradient using the greyscale black swatches, it would never look all the way black.

Step 15

You'll notice that the bill of the cap uses Illustrators greyscale black at this point. Go ahead and make it a rich black and give the different elements of the cap subtle gradients.

Step 16

You can give each of the elements more depth by giving them an inner glow. To apply an inner glow go to Effect > Stylize > Inner Glow... Select a dark color and set the Mode to Multiply.

Step 17

Draw a shape over the bill that will become the reflection.

Step 18

Give each piece of the bill a gradient. Experiment with Radial and Linear gradients, using them where they work best.

Step 19

Achieve more depth by drawing a black shape that follows the curve of the band above the bill and blurring it by going to Effect > Blur > Gaussian Blur.

Step 20

Draw highlights using the Pen Tool on strategic areas of the caps band. You do not need to highlight every area. The other highlights are implied. Implied highlights give the icon more interest.

Step 21

Add highlights to the other areas too.

Step 22

Give the large highlight on the bill of the cap an inner glow (that functions as a shadow) by going to Effect > Stylize > Inner Glow... as achieved in Step 16.

Step 23

There are two different shadows that are used to complete the illustration. The first shadow uses to shapes that are drawn using the Pencil Tool (N.) For the purposes of demonstrating how to achieve the effect, I have turned off the cap layers. When you draw your shapes, it will be easier to draw the shadow on its own layer with the other layers visible.

Draw one shape and give it a dark fill using rich black. Draw a second larger shape and give it a completely white fill. Note that my larger shape uses a light grey color. This is so you can see that there is in fact a shape drawn.

Step 24

Select both shapes and go to Object > Blend > Make. Illustrator will apply the last settings used. If you want to change how many steps are used go to Object > Blend > Blend Options.

Step 25

The second shadow is used under the bill of the cap. Create this shadow by drawing a half circle. Blur the shadow by going to Effect > Blur > Gaussian Blur.

Step 26

Set the Transparency of both shadows to Multiply, so they blend together nicely, if they overlap. You can also adjust their opacity if need be.

Final Image

Here is the finished military cap icon.

Subscribe to the VECTORTUTS RSS Feed to stay up to date with the latest vector tutorials and articles.


Enjoy this Post?

We'd love your vote!

Plus Members

Source Files, Bonus Tutorials and
More for $9 a month for all TUTS+
sites in one subscription.

Join Now

User Comments

( ADD YOURS )
  1. PG

    Will December 30th

    Reeeeealllly nice. I will be trying this when I get the chance

    ( Reply )
  2. PG

    Tomas December 30th

    woow, amazing, great job thx!

    ( Reply )
  3. PG

    Don December 30th

    Yes, gradient meshes! Excellent work. Thanks!

    ( Reply )
  4. PG

    Allahverdi December 30th

    wow awesome. Thanks a lot!

    ( Reply )
  5. PG

    kevinsturf December 30th

    wow amazing tutorial, I will definitely try this one out

    ( Reply )
  6. PG

    Goph3r December 30th

    Cool tut

    ( Reply )
  7. PG

    Bjørn Friese December 30th

    Great tutorial, exellent way to learn using the mesh tool :)

    http://frieze.dk

    ( Reply )
  8. PG

    Illustrator Made Easy December 30th

    Really cool tutorial and very easy to understand!

    ( Reply )
  9. PG

    Aleso December 30th

    wow this is a nice tutorial, thanks!

    http://www.3dand2dmag.wordpress.com

    ( Reply )
  10. PG

    Jeremy December 30th

    I find the strap in particular to be very impressive, detail is so important sometimes.

    ( Reply )
  11. great job and fine outcome!

    ( Reply )
  12. PG

    yozzinho December 30th

    Great tuterial.
    Thanks.

    ( Reply )
  13. PG

    Destronaut December 30th

    Great work! I will remeber to try and use some of this in my current work.

    ( Reply )
  14. PG

    Max December 30th

    That looks so awesome, great tut

    ( Reply )
  15. PG

    Jonathan December 30th

    Thanks everyone.

    If anybody has gotten their feet wet with this tut feel free to post up a link so I can see!

    ( Reply )
  16. PG

    Omer December 31st

    This is a very great gmesh tut! thanks!

    oemrercan82@gmail.com

    ( Reply )
  17. PG

    Vpin Babu` January 8th

    dats awesom!!

    ( Reply )
  18. PG

    Jari February 7th

    I’m kinda stuck at the seventh step.

    When I select points that I would like to get darker and press darker color on the swatch-palette, nothing happens. Any ideas what I might do wrong?

    I’m a newbie on Illustrator so it could be some really simple thing… Any ideas?

    ( Reply )
  19. PG

    Cristofani March 6th

    Hey Jonathan

    This tutorial is perfect! I tried to reproduce it and here is the result: http://flashpeople.blogspot.com/2009/03/military-cap-icon.html.

    I had some tought time with the highlights but it was worthy! I hope you`re proud of yourself becouse I`m very proud of my military cap. Thanks a lot man!

    ( Reply )
  20. PG

    ST April 26th

    Great, in-depth tutorial! I learned a lot. Thank you!!!
    http://www.sktdesign.com/temp/cap-tutorial.jpg

    ( Reply )
  21. PG

    Mike johnson June 1st

    It’s a cover, not a hat! Oorah! :-)

    Nice tutorial, thanks.

    ( Reply )
  1. Arrow
    Gravatar

    Your Name
    June 1st