- Particulate Matter
- Sky Replacement
- Fog, Smoke, or Mist Rolls In
- Billowing Smoke
- Wind
- Water
Billowing Smoke
Fractal Noise works fine to create and animate thin, wispy smoke and mist, but it won't re-create thick, billowing clouds. When clouds are opaque enough to have their own shape, shading, and topography, built-in After Effects plug-ins won't carry the weight. Luckily, all you need is a good still cloud element and you can animate it in After Effects. And all you need to create the element is a high-resolution reference photo—or a bag of cotton puffs.
That's right, cotton puffs, like you get at the pharmacy. I first heard about this trick on a visit to the digital matte department at Industrial Light & Magic (back when the department was made up of four artists), where visionary matte painter Yusei Uesugi was given credit for devising it. He showed me a jaw-dropping shot of a pirate ship in flames, smoke billowing from the masts.
The simplest way to create your basic cloud is to arrange the cotton balls on a large piece of non-reflective black poster board. Take the board outside on a sunny day so you get some nice highlights and shadows. When you photograph it at different angles to the light, the results look like puffy white clouds already (see Figure 13). You can also suspend the cotton (without the backboard) against an incandescent light for the feel of sunlight through the clouds.
Figure 13 You may have noticed how cotton puffs can be arranged to resemble fluffy clouds. But who knew you could get away with sticking them in a movie?
To give clouds shape and contour, open the image in Photoshop, and use the Clone Stamp tool to create a cloud with the shape you want. You can do it directly in After Effects, but this is the kind of job for which Photoshop was designed. Clone in contour layers of highlights (using Linear Dodge, Screen, or Lighten blending modes) and shadows (with Blending set to Multiply or Darken) until the cloud has the look you want (see Figure 14).
So now you have a good-looking cloud, but it's a still. How do you put it in motion? This is where After Effects' excellent distortion tools come into play, in particular Mesh Warp and Liquify.
Figure 14 The elements from Figure 13 are incorporated into this matte painting, with the shot in the background for reference. The cotton is painted in via a dozen overlapping layers. The topmost use Screen mode (to highlight) or Overlay mode (to darken), bringing out the contours. Can you tell which smoke is made up of cotton?
Mesh Warp
Mesh Warp lays a grid of Bézier handles over the frame; you animate distortion by setting a keyframe for the Distortion Mesh property at frame 0, and then moving the points of the grid, realigning the Bézier handles associated with each point to bend to the vertices between points. The image to which this effect is applied follows the shape of the grid.
By default, Mesh Warp begins with a seven-by-seven grid. Before you do anything else, make sure that the size of the grid makes sense for your image; you might want to increase its size for a high-resolution project, and you can reduce the number of rows to fit the aspect ratio of your shot, for a grid of squares (see Figure 15).
Typically you can't get away with dragging a point more than about halfway toward any other point; watch carefully for artifacts of stretching and tearing as you work, and preview often. If you see stretching, realign adjacent points and handles to compensate. There's no better way to learn about this than to experiment.
Figure 15 The Mesh Warp controls are simple—just a grid of points and vectors. You can preset the number and quality, and animate the position of the grid overall (one keyframe controls all grid points). Points can be multi-selected and dragged, and each point contains Bezier handles for warping the adjacent vectors.
Liquify
Mesh warp is appropriate for gross distortions of an entire element. The Liquify effect is a brush-based system for fine distortions. Following is a brief orientation to this toolset, but, as with most brush-based painterly tools, there's no substitute for trying it. The principle behind Liquify is actually similar to that of Mesh Warp; enable View Mesh under View Options and you'll see that you're still just manipulating a grid, albeit a finer one that would be cumbersome to adjust point by point—hence the brush interface.
Of the brushes included with Liquify, the first two along the top row, Warp and Turbulence, are used most often (see Figure 16). Warp has a similar effect to moving a point in Mesh Warp; it simply pushes pixels in the direction you drag the brush. Turbulence scrambles pixels in the path of the brush.
Figure 16 Liquify is also a mesh distortion tool, but the mesh is much finer than Mesh Warp's and is controlled via brushes, allowing more specific distortions.
The Reconstruction brush (rightmost on the bottom row) is like a selective undo, reversing distortions at the default setting; other options for this brush are contained in the Reconstruction Mode menu (which appears only when the brush is selected).
Liquify has the advantage of allowing hold-out areas. Draw a mask around the area you want to leave untouched by Liquify brushes, but set the Mask mode to None, disabling it. Under Warp Tool Options, select the mask name in the Freeze Area Masked menu. Lest you think the methods described in this section are some crude kludge, inferior to procedural particle dynamic effects created by a technical director in a sophisticated 3D rendering program, here's an anecdote that demonstrates how this generalized approach (refined to a high degree) saved the day on a movie with an eight-figure budget. A few short weeks before the final deadline for all shots to be completed on The Day After Tomorrow, the render pipeline at http://www.theorphanage.com/ was slammed, but the "super cell" element for the sequence of the freezing of New York City (that huge cloud bank swirling around on the horizon) had not been approved by the client other than in matte paintings.
It was clear that even if a technical director could re-create the look in 3D—and no one had done so yet—there wasn't going to be time left to render it. By animating the matte paintings using the techniques outlined in this section, the shots were completed and approved within a couple of weeks. As always, the key was breaking the problem down into component parts. The final super-cell rig had over a dozen individual component layers and instances of Mesh Warp and Liquify, along with holdouts, overlays, offsets, and Blending modes built up among them to give the effect the appropriate organic complexity and dimension.
Combining Techniques
Because each project varies, the techniques I've offered here are meant to form only the basis of your finished effect. The goal is to provide a few keys that you can combine or piece out on your own, rather than nail you down to specific steps that work only in one context. So, for example, selling a shot of the smoke plume might involve not only warping effects, but also some thinner, faster-moving smoke nearest the flames or in the foreground of the scene, which could be created with Fractal Noise. Or, if the drifting Fractal Noise smoke needed more specific directionality—say, to flow around an object, for instance, you could apply a Mesh Warp on top of its animation, or flow it right through the Mesh Warp grid (see Figure 17).
Figure 17 You can get pretty creative with your use for Mesh Warp: Here, Fractal Noise is animated to move left to right through a grid that deforms it as it animates.
Smoke Trails
Many effects, including smoke trails, don't require particle generation in order to be re-created faithfully. This section is included less because the need comes up often and more to show how, with a little creativity, you can combine techniques in After Effects to create effects that you might think require a dedicated solution. Check out the reference in Figure 18 and you'll notice that smoke trails are essentially just clouds.
Figure 18 Clearly, this effect could be painted, with no external source whatsoever.
Therefore, initial setup of this effect is simply a matter of starting with a clean plate, painting the smoke trails in a separate still layer, and revealing them over time (presumably behind the aircraft that's creating them). The quickest and easiest way to reveal such an element over time is often by animating a mask, or you could apply a motion tracker to a brush. The optional second stage of this effect would be the dissipation of the trail; depending on how much wind is present, the trail might probably drift, spread, and thin out over time. That means that in a wide shot, the back of the trail would be more dissipated than the front.
A simple method to achieve this goal (which could work with a distant shot, at least) would be to use a black-to-white gradient (created with Ramp) and Compound Blur. The gradient is white at the dissipated end of the trail and black at the source (see Figure 19); each point can be animated or tracked in. Compound Blur uses this gradient as its Blur Layer, creating more blur as the ramp becomes more white.
Figure 19 Getting creative with a quick-and-dirty effect on Figure 18: A gradient is created to match the start and end of the plane's trajectory, masked and pre-composed (top). This is then applied via a Compound Blur to the source layer (bottom). A simple example of building up your own effect with the tools at hand.