Expressions

Table of contents:

Music is math.

Michael Sandison and Marcus Eoin (Boards of Canada)

Expressions extend the functionality in After Effects by enabling you to link elements of your project together and apply logical and mathematical relationships.

Did your eyes just glaze over? Here is where the standard disclaimer is usually added about how artists don't like logic and bits of math and where I promise to shield you from it as much as possible.

I don't buy it: As an After Effects artist, you already deal with this stuff all the time. If you're not making full use of expressions, you're missing out on a more elegant approach that can eliminate tedium.

Eliminate tedium? But, you reply, expressions require the use of code. What could be more tedious to a visual artist than managing code?

This chapter makes the case that it's worth dealing with a little codeoften just one line in these examples, all or part of which can be entered automaticallyto attain the flexibility and power of expressions. The examples given here relate directly to other techniques explored in this book. They are practical, not theoretical.

To give you a taste of what is possible with expressions, here are some of the case studies explored in this chapter:

  • Create an automatic one-to-one relationship between data from two animation channels (whether from the same layer, separate layers, or even separate compositions)
  • Scale and offset property values
  • Link values to a slider control for easy access
  • "Mute" keyframe values by replacing them with a constant value
  • Loop, with several different options how you do it
  • Destabilize or smooth camera moves or any animation data (without affecting or destroying the data)
  • Use time and index values to progress animation data
  • Create a conditional statement that causes something to happen when specified criteria are met
  • Trigger actions to occur automatically under specific circumstances
  • Emulate 3-D tracking in a forward-moving shot

Overall, the goal, as always, is to provide a guidebook rather than a recipe book, enabling you to build on the understanding you gain here by moving from simple to complex examples.

Logic and Grammar

Section I. Working Foundations

The 7.0 Workflow

The Timeline

Selections: The Key to Compositing

Optimizing Your Projects

Section II. Effects Compositing Essentials

Color Correction

Color Keying

Rotoscoping and Paint

Effective Motion Tracking

Virtual Cinematography

Expressions

Film, HDR, and 32 Bit Compositing

Section III. Creative Explorations

Working with Light

Climate: Air, Water, Smoke, Clouds

Pyrotechnics: Fire, Explosions, Energy Phenomena

Learning to See

Index



Adobe After Effects 7. 0 Studio Techniques
Adobe After Effects 7.0 Studio Techniques
ISBN: 0321385527
EAN: 2147483647
Year: 2004
Pages: 157

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net