preview

How to Create Vector Clouds with the Gradient Mesh Tool

Mar 30th in Illustration, Tools & Tips by Cheryl Graham

Create impressionistic, infinitely-scalable vector clouds with the Gradient Mesh tool. It's easy to start, but it takes a lot of time to master. There are several ways of approaching the Gradient Mesh - this one may be new to you. Let's get started!

PG

Author: Cheryl Graham

Cheryl Graham trained as a traditional artist in drawing and painting. These days she spends more time in front of the computer than the easel. Her Illustrator work has been featured in the "The Adobe Illustrator WOW! Book" and "Real World Illustrator CS4." She occasionally updates her Illustrator blog at freetransform.net.

Final Image Preview

Below is the final image we will be working towards. Want access to the full Vector Source files and downloadable copies of every tutorial, including this one? Join Vector Plus for just 9$ a month. You can view a larger version of the final image here.

Step00_Final+Outline

Step 1

Start with a photograph, preferably one that you took or one you have permission to use. It should be medium to high resolution. Place the photo in your Illustrator document (File > Place). It doesn't matter if it's linked or embedded. Make a copy of the photo and place it off to the side or above the original. We'll use this later for reference.

Step 2

With the first photo selected, go to Object > Create Gradient Mesh, which will transform this photo into a vector mesh. In the dialog box that appears, enter a fairly high number of both Rows and Columns. Try to make it proportionate to the aspect ratio of your photo. This is the grid that we'll be using to build our clouds, and it's going to take a lot of detail to achieve a realistic final image. Choose Flat as the appearance and keep the Highlight at 100%.

Step03_CreateMesh

Step 3

Now you should have the rough mesh, plus a copy of the photograph for reference. If you haven't done so already, change the layer color to something that's easier to see. I've chosen red, because my photo is predominately blue. Illustrator's light blue default color would just get lost.

Step04.1_Arrange
Step04.2_LayerOptions

Step 4

Using the original photo (the one you copied earlier) as a reference, start adjusting points with the Direct Selection tool, twisting the handles around the edges of the cloud to get rid of any obviously square shapes. If the initial mesh looks too pixelated or boxy, undo and start over, adding more rows and columns this time. Work your way around the cloud shape, refining it as you go. It's almost a sculptural process, where you go from general masses to finer details.

Step05_StartMesh

Step 5

Each anchor point has a color assigned to it. The closer the handles are to any given point, the closer that color stays to that point. Think of the point as the center of an amorphous, radial gradient. If you pull the handles closer to the point, there is a more abrupt color transition between the points next to it.

You can control the look of the edges by using two adjacent points in conjunction with one another. Moving two points close together will result in a harder edge. Dragging the points' handles closer or father away will fine-tune the edge where the two colors meet.

Step06_Transitions

Step 6

Once you have the cloud shape roughed out, it's time for the detail work. Here's a great tip. Open the Navigator panel (Window > Navigator), and drag it out as large as it will go. Since the Navigator always floats on top of the artboard, you can zoom way in on your mesh, and observe the changes you make in the Navigator. This saves you from having to zoom in and out just to see what you've done.

Step07_Screen-Setup
Step07.1_MeshZoom

Step 7

Now the tedious work begins. Seriously, this can take hours or even days. There's really no other way around it if you want a high degree of realism with Gradient Mesh. Clouds are a forgiving subject matter though. You can improvise quite a bit with the edges, contrasting more defined edges with wispy shapes, and it will still look like a cloud. Using the Navigator panel method, keep adjusting the mesh points.

In areas where you need greater detail, add points using the Mesh Tool (U). Add Point is a misnomer. When you add a point, you're actually adding a whole new line to the mesh, whose multiple points can be adjusted independently. When you click a horizontal mesh line, a new vertical line will result, and vice-versa. These mesh lines (or any others) can be removed by holding down the Alt key while clicking with the Mesh Tool.

Step08_MeshTool
Step08.1_AddPoints

Step 8

Be careful not to add so many mesh points that they get in your way. If the lines overlap, or if the curves are too sharp, the edges will be clunky and abrupt.

Step09_HardEdges
Step09.1_MessedUp

Conclusion

This is not a drawing course, and only those with some formal training and experience will be able to achieve truly realistic results. One must bring trained powers of observation and artistic judgement to bear on such a complex subject. But it is hoped, through this tutorial, you have a better understanding of Gradient Mesh, and will keep practicing! The final image is below or you can view a larger version of the final image here.

Step00_Final+Outline

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

    scotty March 30th

    Wow! That’s a very convincing cloud:) Nicely done.

    ( Reply )
  2. PG

    mikronaz March 30th

    Looks really nice! Good job!

    ( Reply )
  3. PG

    Bendsen March 30th

    impressive. i must say !

    ( Reply )
  4. PG

    Ronnie March 30th

    As usual, great tutorial, Cheryl.

    ( Reply )
  5. PG

    Moksha Solutions March 30th

    really something, i just made a cloud and it look good

    thanks

    ( Reply )
  6. PG

    James March 30th

    Great effect; one question:

    You say to make a proportional number of rows and columns for the gradient mesh. Since the worksheet is wider than it is tall, you should have more columns than rows, not how it shown in the next screenshot, where you have more rows than columns. Should we make it the way you show in the picture or should we actually make it proportional. Thanks.

    ( Reply )
    1. PG

      Cheryl March 31st

      It can be confusing, but the example is in proportion, more or less. The image is wider than it is high, so there are more rows (width) than columns (height).

      ( Reply )
      1. PG

        James April 1st

        Uh… no it’s not. Ironic how you say it’s confusing…

        The cloud image is WIDER than it is tall. Therefore, it should have more COLUMNS than rows, so that each box is roughly a square. If that still doesn’t make sense, just imagine some values for width and height (1000×600 for example). If you wanted to make boxes that were 50×50, you would need 20 columns and 12 rows, that is, more COLUMNS than rows.

        I’ve tried it both ways, and it look the same as long as you have enough rows and columns, so this is now just a discussion on principle.

      2. PG

        James April 1st

        oops, *facepalm* i need sleep.

  7. PG

    john_smith March 30th

    its in proportion…look at each individual box created by the mesh and you’ll see that they are in proportion to the overall dimensions.

    ( Reply )
  8. PG

    Youssef March 31st

    good… very good

    ( Reply )
  9. PG

    Levi March 31st

    That’s…. brilliant! o_O

    ( Reply )
  10. PG

    Kyle March 31st

    I’m a big fan of the gradient mesh tool, and I’ve never thought of using it like this. Excellent job on this one!

    ( Reply )
  11. PG

    Diego SA March 31st

    I’ve never seen a cloud created 100% using mesh. It’s impressive!
    Awesome!

    ( Reply )
  12. PG

    pica-ae March 31st

    omfreakingg! this is amazing
    i didn’t know you could mesh a picture! awesome and thanks :)

    ( Reply )
  13. PG

    Jonathan March 31st

    Very cool.

    ( Reply )
  14. PG

    Dalia April 1st

    Beautiful tut, learned a lot.
    Thanks, Cheryl

    ( Reply )
  15. PG

    Asmaa' April 1st

    Oh so authentic paint effect achieved through this! , the most well explained tutorial on mesh tool that i have come across :)

    ( Reply )
  16. PG

    ProductionPrints April 2nd

    Pretty tricked out stuff.

    ( Reply )
  17. PG

    xea April 3rd

    Thanks,very nice!

    ( Reply )
  18. PG

    Megalongcat April 3rd

    Once again the mesh tool is used to create the work of gods.

    ( Reply )
  19. PG

    EDY April 9th

    thank for all knowledge i got from this site

    ( Reply )
  20. PG

    littlejay April 11th

    Sorry but I don’t really see the point of this. I mean the original photo of the cloud is still better than the post-meshed one. What is the use of going through all this trouble? Can I create an object of my cloud when it’s done or what am I gonna do with all that mesh when I’ve gotten it to look like a realistic cloud?

    I’t a good tutorial still because I learned a lot about the mesh tool, I’m just a bit confused about the point of all this.

    ( Reply )
    1. PG

      Jurgen April 15th

      The point of vectorizing this image is that you can print as big as you can, instead of a image that will become blurry if you scale it more then 100%.

      ( Reply )
      1. PG

        littlejay May 6th

        Ah, of course. I get it now:) Thanks

  21. PG

    itai lustgaten April 20th

    cool

    ( Reply )
  22. PG

    You are awesome! May 6th

    Man, you are awesome!

    ( Reply )
  23. PG

    GTP Designs August 11th

    Nice gradient mesh work. You do a very good job at explaining this often-mysterious tool.

    ( Reply )
  1. Arrow
    Gravatar

    Your Name
    August 11th