LIBRARY: Tutorials Reviews Interviews Editorials Features Business Authors RSS Feed

Flags: blowing in the wind

Flags: blowing in the wind

by Kathlyn Lindeboom
CreativeCow.net, Cambria, California USA

©2001 by Kathlyn Lindeboom. All rights are reserved. Used at CreativeCow.net by kind permission of the author.



ARTICLE FOCUS:
The illusion of making a flag blow in the wind tends to be popular all the time. Here Kathlyn Lindeboom provides a quick tutorial on how to make this happen easily in After Effects using Forge FreeForm 2. The result is pretty cool and quite realistic as you'll see for yourself.

.

creativecow.net flag Just wanted to demonstrate this technique using the flag that flies outside of the Creative COW Headquarters in Cambria, California.
Sure you could just grab your camera and shoot the flag and it's movement, and maybe that would be easier, but what if you didn't really have a flag? You could have one made. But what if the weather wasn't cooperating? You could use fans and all that other stuff, or you could create the flag in the computer and animate it using Forge FreeForm in Adobe After Effects. It's quick and simple.
I want to thank Chris Bobotis of Forge for his help in presenting this tutorial.

So, let's get started: Open After Effects and create a new project.



Step One: Preparing the Displacement Map:

  1. Create a new comp of appropriate size and duration. Call it Displacement. For the purpose of this tutorial, I used 320x240, 10 sec long.
  2. Import your cloud footage. I used a 256x256 tiff file that came as bonus files on the Forge FreeForm Disk, but you could just as easily create your own in Photoshop with the cloud filter.
  3. Position the cloud footage in your Displacement comp at 192.0, 120.0.
    1. Apply Effect>Offset.
      1. Keyframe: Shift Center to:
      2. 0:00--0.0, 256.0
      3. 1:00--242.5, 13.5
      4. 1:03--0.0, 256.0
      5. 2:00--242.5, 13.5
      6. 2:03--0.0, 256.0 -- etc. You get the idea. Create a few, then copy and paste the rest.
  4. Add a new solid, black and the size of the comp.
    1. Apply Effect>Render>Ramp. Set start of ramp to 78.0, 120; color--black. Set the end of ramp at the right side of the comp window; color--white. Linear Ramp Shape. Position the ramp so that the black is positioned under where your flagpole will be.
    2. Set your transfer mode to multiply.

Clouds
Cloud footage.
displacement map
This is what your comp should end up looking like

Step Two: Let's Wave our Flag!

  1. Create a new comp. Same size and duration. Call it flag.
  2. Add your Displacement Comp (from above.)
  3. Add your flag and flagpole. I created my flagpole in After Effects with a solid and a couple of masks. The flag I did in Photoshop. You could create yours in AE, Illustrator, Photoshop or other appropriate graphics program.
  4. Position your flagpole is over the black area of your displacement map. Position your flag so that it is attached to your flagpole (Note: the flag and flagpole need to be on separate layers.)

    The CreativeCOW.net Flag The Flag Placed over the Displacement Map


  5. To the flag layer, apply Effect>Forge>FreeForm 2. Immediately you will notice that the flag image has changed. A light source and a slight effect of perspective has been added to the image. Notice also, that you now have 5 control points. These points (CP) are comprised of:
    1. One control point (CP) at each corner (with Bezier like handles/tangents)
    2. One CP in the middle of the image. This is represented by a small circle with 2 crosses in the middle.
  6. These are the controls that you use for the majority of your flag movement.
  7. Now, reposition the upper corners of your flag so that it is flag-shaped again and reattach it to the flagpole on the left side. You might even add a bit of curve the way I did.
  8. Go to the TimeLine Window. Select the flag layer and hit the E key to show the effect contols. Now twirl open the arrow for FreeForm 2.
  9. Twirl open the arrow for Number of Control Points. There you will see CP Values. Turn on the stopwatch. We'll set our keyframes later.
  10. Twirl open the arrow for Object Numeric controls. Set the Object X Rotation to -40.0 degrees, and the Object Y Rotation to -15.0 degrees. You may need to adjust the Obj Y Rotation to keep the flag attached to the flagpole. (After you keyframe your movement, and do a ram preview, if the flag bounces off of the flagpole, reset the Object Y Rotation to something less.)
  11. In your Effect Control Window, twirl open the arrow for Displacement Control. Set the Displace Layer to your displacement comp.
  12. Leave Preview at Preview, set your antialias to none until you've set all of your CPs and are ready to render your movie.
  13. Now, making sure that FreeForm 2 is highlighted in the Effects Window, advance through the timeline and reposition the CP tangents on the right side of the flag only. Each movement will set a new keyframe. I changed the values at one second intervals. (For the sake of this tutorial, I did several and copied and pasted them . You may want to fine tune the adjustment for your flag.
    Beginning the manipulation adjusting the CPs and tangents


  14. Be sure and save your project several times during all of this.
  15. Check your movement with a RAM preview.
  16. When you like what you have, then you're ready to render your flag movie.
  17. Now, turn off the visibility of your displacement layer, if you haven't already, by clicking on the "eye" for that layer.
  18. In the Effect Control Window, change the Mesh Subdivision (Under Mesh controls) to something like 80. Change the Antialias to Medium or High.
    effects control window

  19. In your output module: use Animation at "most spatial" quality, and change the channel to RGB + Alpha, premultiplied with black.


Step Three: The Final Comp

  1. Create a new comp. Same size and duration of your others.
  2. Add your background. I used some stock footage from ARTBEATS -- the Establishments Mixed Cuts series.
  3. Add your flag movie.
  4. To add realism to your final movie, you'll want to add some shadow. I used the Pinnacle Image Lounge Real Shadows plug-in for AE.
  5. Render your movie with the appropriate settings.
  6. Enjoy. Here's my movie:

If you don't have Forge FreeForm 2, download a demo from the Forge website. Like to discuss this article? Check out the Forge Freeform COW.

And thanks again to Chris Bobotis for all his help.

--Kathlyn Lindeboom



Visit Creative Cow's website and forums if you got here by direct link to this article...



Related Articles / Tutorials:
Adobe After Effects
Compositing Secrets Everyone Can Use Pt. 4 - Advanced Alphas

Compositing Secrets Everyone Can Use Pt. 4 - Advanced Alphas

When most people hear the words "alpha channels", they think "transparency", but that's not exactly accurate. The truth is more complex, and a quite bit more interesting! Join longtime VFX artist, editor, software developer, and business owner Simon Ubsdell for Part 4 of the best look behind the technology of compositing that you've ever seen, packed with practical advice for applying the secrets of alpha channels that's simply not possible before understanding these underlying principles. No matter which applications you're using for editing, compositing, or visual effects, this one is a must-see!

Tutorial
Simon Ubsdell
Adobe After Effects
Compositing Secrets Everyone Can Use: Pt. 3 - Alpha Channels

Compositing Secrets Everyone Can Use: Pt. 3 - Alpha Channels

When most people hear the words "alpha channels", they think "transparency", but that's not exactly accurate. The truth is more complex, and a quite bit more interesting! Join longtime VFX artist, editor, software developer, and business owner Simon Ubsdell for Part 3 of the best look behind the technology of compositing that you've ever seen, packed with practical advice for applying the secrets of alpha channels that's simply not possible before understanding these underlying principles. No matter which applications you're using for editing, compositing, or visual effects, this one is a must-see!

Tutorial
Simon Ubsdell
Adobe After Effects
Compositing Secrets Everyone Can Use 2: Advanced Blend Modes

Compositing Secrets Everyone Can Use 2: Advanced Blend Modes

Whether you're a full-time compositor and VFX artist, an editor working in one of the many NLEs that supports Blend Modes (including Adobe Premiere, Apple FCP and FCPX, Avid Media Composer, DaVinci Rsolve, and VEGAS Pro), or whether you just want the additional graphics power that comes with insight into the secret world of pixels, this is the tutorial for you! Join longtime VFX artist, editor, software developer, and business owner Simon Ubsdell for Part 2 of the best look behind the technology of blend modes that you've ever seen, with some practical steps you can start taking today to make your work look better than ever.

Tutorial
Simon Ubsdell
Adobe After Effects
Compositing Secrets Everyone Can Use: Pt. 1 - Blend Modes

Compositing Secrets Everyone Can Use: Pt. 1 - Blend Modes

Join longtime VFX artist, editor, software developer, and business owner Simon Ubsdell for the best look behind the technology of blend modes that you've ever seen. This isn't just for graphics and VFX, but for video editors too -- anyone who puts anything together, and wants to learn more about HOW images combine at the most basic level, in a way that applies to every application you might use, whether Adobe Premiere Pro, Apple FCPX, Avid Media Composer, DaVinci Resolve, VEGAS Pro, and yes, graphics and VFX programs like After Effects, Motion, Fusion, Nuke, Scratch, and many more.

Tutorial
Simon Ubsdell
Adobe After Effects
Disintegration VFX in Adobe After Effects

Disintegration VFX in Adobe After Effects

Join VFX guru Tobias Gleissenberger of Surfaced Studio for a classically energetic Adobe After Effects tutorial combining difference mattes, displacement maps, edge glows, and compositing tricks to dissolve (or explode!) one element in your frame while leaving the rest alone.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Adobe After Effects: Common QT & Export Problems & Solutions

Adobe After Effects: Common QT & Export Problems & Solutions

Problems with Adobe After Effects? Can't import or export QuickTime videos? Exports too big? Missing codecs? AE guru and VFX whiz Tobias Gleissenberger of Surfaced Studio has the answers you're looking for to make every project come to completion more smoothly, including a comparison of exported file sizes for common codecs.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Fancy Title Animations In Adobe After Effects -- FAST!

Fancy Title Animations In Adobe After Effects -- FAST!

Follow along as VFX guru Tobias Gleissenberger shows you how how to quickly create professional-looking animated text elements using the free presets that are included with Adobe After Effects, customizing them to suit your needs. Tobias will also show you how to apply masks to your text layers to have them appear from behind other elements.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Remove People from Moving Video in After Effects with Mocha

Remove People from Moving Video in After Effects with Mocha

Learn how to remove a person from a moving video using the Remove module of the Mocha Pro plug-in for Adobe After Effects! In one of his most epic tutorial's yet, Surfaced Studio's Tobias Gleissenberger then adds a bonus Beam Up effect using some of the great filters from the Boris Continuum and Sapphire collections.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Basic Clone Effect Interaction - After Effects Tutorial

Basic Clone Effect Interaction - After Effects Tutorial

Want to take your CLONE EFFECT to the next level? Want to know how to make your clones INTERACT? Tobias Gleissenberger shows you how.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Adobe After Effects: Glitch Effects Without Using Plug-ins!

Adobe After Effects: Glitch Effects Without Using Plug-ins!

Join VFX guru Tobias Gleissenberger for a fun, high-energy look at how to create all sorts of digital noise, glitch, and other disturbing video effects with any version of Adobe After Effects, without using any plug-ins!

Tutorial
Tobias Gleissenberger
MORE
© 2018 CreativeCOW.net All Rights Reserved
[TOP]