I met a lot of graphic designers who avoid working with a gradient mesh by a reason of the complexity of controlling the object. I also met real fans of gradient meshes that create real photorealistic artworks with their help. Even though they accept that this process is very time consuming, which is unsuitable for commercial projects. Despite this, gradient mesh can become an integral part in daily workflow of the graphic designer, as with its help we can reproduce the light distribution over the surface of a complex shape.
Therefore, in today’s tutorial we will take a look at the basics of working with gradient meshes, which will help you to master this complex and very temperamental tool.
In order to evaluate the capabilities of this feature let’s look at the portrait of Jack Nicholson by Dion Aoki, which was created only with the help of gradient meshes.
No, this is not a photograph. To confirm my words, I want to show you how the same portrait looks like in the Outline Preview mode. Yes, it is an entirely vector artwork.
Now let’s go into the technical details.
Create Gradient Mesh
I know three ways to create a gradient mesh of the existing vector objects. Let’s create a rectangle with a solid fill.
With Slides, we don’t make you start from an empty slate. All you have to do is to pick the elements you like best and combine them. Each slide has been carefully crafted to satisfy three key criteria: aesthetic, function and usability. That way you know every element works together seamlessly while enhancing the impact of your content.Create a Website
Go to Object > Create Gradient Mesh …, now we have the ability to specify the amount of rows and columns in the dialog box.
As you can see, this dialog box includes other options that I, however, never use. If you use this method to create a gradient mesh, you get cells of the same size, at least when you’re dealing with a rectangle.
You can create mesh points and mesh lines with the help of the Mesh Tool (U). To do so, simply click with the tool at the place where you want to create the first mesh point.
The rectangle has become a gradient mesh now and you can add new mesh lines, where it is needed.
Using this method, you get a lot of freedom in creating the desired mesh, although you will be required accuracy in work. In order not to create unnecessary points and lines you have to just click on the existing lines.
Finally, we can convert linear or radial gradient into a gradient mesh. Let’s create a rectangle with a linear gradient fill and a circle with a radial gradient fill as it is shown in the picture below.
Select objects, then go to Object > Expand … and choose the Gradient Mesh option in the dialog box.
Now we can continue building the mesh using the Mesh Tool (U).
Controlling and coloring mesh points
You can select and move mesh points, as well as manipulate its handles using the Mesh Tool (U) or the Direct Selection Tool (A).
To delete a mesh line, click on it with a Mesh Tool (U) while holding down Option / Alt.
You can also select and delete the mesh point by pressing the Delete key. In this case both mesh lines passing through this point will be deleted.
I do not want to scare you with the terminology and theory, but I must say that there are three types of mesh points. The points that are located at the intersection of the lines can be colored; other types of points serve only to create the shape of the mesh. Select one of these points and color it with blue, for example.
Keep your eye on the curved segments on the top and bottom of the gradient mesh. These segments have invisible points that become active only if we take the Add Anchor Point Tool.
This type of points cannot contain color information and cannot be controlled directly. Create a new mesh point with the help of the Add Anchor Point Tool.
This point can be controlled with the help of the Mesh Tool (U) or Direct Selection Tool (A), but it also cannot contain the color information.