Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
LIBRARY:TutorialsVideo TutorialsReviewsInterviewsEditorialsFeaturesBusinessAuthorsRSS FeedTraining DVDs

Displacement Mapping in After Effects

COW Library : Adobe After Effects Tutorials : Philip Hodgetts : Displacement Mapping in After Effects
Displacement Mapping in After Effects
A Creative COW Adobe After Effects Tutorial




Philip Hodgetts Philip Hodgetts
philip@intelligentassistance
Intelligent Assistance, Los Angeles, California USA

© 2004 Philip Hodgetts and Creativecow.net. All rights reserved.

Article Focus:
Two of the less well known features of After Effects' Production Bundle are the Time Displacement Filter and the Displacement Filter. Both use the values of one image to affect the target image. In this tutorial, Philip Hodgetts first looks at the affect of the Displacement Filter first, then moves on to Time Displacement before discussing a source of gradient images suitable for Displacement and Time Displacement Mapping.


Displacement Filter

The Displacement Filter (Filters/Distortion/Displacement) uses values of Brightness (Luminance); Red, Green or Blue Channel, or combinations of channels to displace, or move, the pixels of the target image. All Displacement mapping is based on Brightness values, even if derived from only one of the color channels. Depending on the options in the settings, Displacement mapping pushes pixels that are lighter, further. The higher the value in the source image, the further the pixels of the target image are displaced.

Bowl Displaced

With a radial gradient, text that is mapped to the gradient will distort following the shape of the gradient. In this example, as the text moves across the gradient, it will distort as if flowing down into the 'dish' caused by the displacement map, across the bottom and back up the other side.

These types of Displacement Maps are exceptionally useful for creating 'flowing text' effects where text flows down across an image in a sensual or smooth way, often reflecting the shape of the underlying image.

To make text flow across an implied curve in the underlying image, a Bitmap image program (such as Adobe Photoshop or Pinnacle Commotion) would be used to create a gradient that lines up with the 'curved' part of the target image. An exported reference video frame or Clip is useful for lining up the gradient and original image. If the image pans or zooms, the gradient may need to be animated in After Effects first as a pre-composition or created frame by frame in Commotion. (The Displacement Filter uses the displacement layer 'untouched' - any zoom, scale or filter applied to the Displacement layer will not be used unless the displacement layer has been pre-composed first.)

Mountain displacement

Mountain and text

Once the gradient is created all that is required is to bring it into the same composition as the Target layer (or pre-compose if animation of the displacement layer is required) and choose it in the Displacement Layer pop-up in the Displacement Filter settings.

Displacement mapping can be used for items as simple as texturizing a layer (although the Texturize Filter will also achieve that outcome), or for providing pseudo depth to an image. Displacement Mapping can be used to distort an image so different parts of the image appear to be at different levels, even at angles if gradients within grayscale levels are used. An image can be used as its own displacement layer (the default) with interesting, if not terribly controllable, results.

The amount of displacement can be set independently for Horizontal and Vertical directions and the amount of displacement for each direction can each be derived from a different color channel source. For example, the red channel displacing vertically and Green controlling Horizontal displacement.

Displacement Maps can also be generated within After Effects using the 'Ramp' filter and pre-composing the layer although these Displacement Maps will be limited to linear and radial displacements.

 

Time Displacement

Like Displacement Mapping, Time Displacement uses the values of one image to manipulate the pixels of another image. Unlike Displacement Mapping, Time Displacement uses the values derived from the Displacement layer to select pixels from earlier or later in the layer. Time Displacement affects the image so that any mid-level value for a given pixel (50% brightness) tells After Effects to display the current frame for that pixel. A value lighter than 50% will cause the displayed pixel for that brightness value to come from later in the layer; a value darker than 50% will cause the displayed pixel for that value to come from earlier in the layer. Displacement values in between 50% and maximum or minimum will display pixel values that are closer or further away in time in the layer.

Let's consider a simple example with 3 vertical bands: black at the left of screen, 50% gray in the middle and white for the right hand third.

Time Displace 3 Bars

3 Slice Turn

With a maximum displacement of 1 second, the center band will display pixels from the current frame, the left hand, black band will display pixels from 1 second (maximum displacement) earlier in the layer, the right hand, white band will display pixels from 1 second ahead (later) in the same layer. If the there were grayscale values in between white, 50% and black then pixels from the frames in between the current frame and frames 1 second earlier or later in the layer.

Displacement Gradient

Gradient Time Displacement - max 2 secs

Time Displacement works particularly well when there is a moving part of the image with a relatively static background. This combination shows up the time displacement on the moving part of the image, while the background stays 'normal' because there is not much variation on the layer over time.

Time Displacement is also great for creating all sorts of distortion field and 'transporter' style appear or disappear transitions.

Displacement Gradients can be created in any Bitmap or Paint Program such as Photoshop, Painter, Xres, among others. Custom gradients for a particular image need to be created for that Project but a great source of Gradients for Gradient Wipes, Displacement Maps or for Time Displacement are available in the Video Spice Rack collection of some 300 plus PICT and TIFF format grayscale gradients. There are sample Spice Gradients at <http://www.pixelan.com> and for the small investment, the Video Spice Rack is an excellent addition to any toolbox.


Click here to visit Creative COW's user forums and many other articles if you got here by a direct link to this page


 

  View 1 Comment(s)

  Adobe After Effects Tutorials   •   Adobe After Effects Forum
Reply   Like  
Comments

Displacement Mapping in After Effects
by Brad Bartkus
Here's another cool displacement example:

http://forums.creativecow.net/thread/2/926080


Related Articles / Tutorials:
Adobe After Effects
Displacement Mapping Part 1: Basics

Displacement Mapping Part 1: Basics
  Play Video
In part 1 of this 3-part series on Displacement Mapping, Creative Cow Leader Aharon Rabinowitz covers the basics of using this effect in both After Effects 6.5 and 7. This highly detailed tutorial will get you started on distorting your footage with displacement maps.

Tutorial, Video Tutorial
Adobe After Effects
Displacement Mapping Part 2: Avoid the Pitfalls

Displacement Mapping Part 2: Avoid the Pitfalls
  Play Video
In part 2 of this 3-part series on Displacement Mapping, Creative Cow Leader Aharon Rabinowitz covers the problems that arise while working with displacement mapping in After Effects. These solutions and workarounds will help you avoid the pitfalls often faced by animators using these effects.

Tutorial, Video Tutorial
Adobe After Effects
Displacement Mapping Part 3: Text and Time

Displacement Mapping Part 3: Text and Time
  Play Video
In part 3 of this 3-part series on Displacement Mapping, Creative Cow Leader Aharon Rabinowitz covers displacement of Text, which follows slightly different rules than normal footage. Youll also be introduced to the concept of displacing time, which follows some of the same principles covered in the first 2 tutorials.

Tutorial, Video Tutorial
Adobe After Effects
What's new in After Effects CS6: Shapes from Vector Layers

What's new in After Effects CS6: Shapes from Vector Layers
  Play Video
In this tutorial, Kevin P McAuliffe shows you how, using the great new "Create Shapes from Vector Layers" command in After Effects CS6, you can create 3D extruded client logos in minutes, as opposed to having to wait hours for a 3D application to render it out.

Tutorial, Video Tutorial
Adobe After Effects
AE Basics 44: Shaping Text And Advanced Options

AE Basics 44: Shaping Text And Advanced Options
  Play Video
AE Basics - A Creative COW series for new users of Adobe After Effects. Lesson 44: In this (more advanced) tutorial, Andrew Devis shows the options to change the way text moves through its range and explains how to change this from the default smooth animation to a much more 'digital' or abrupt instant change. Andrew then goes on to demonstrate more of the advanced options in the timeline to 'shape' your text so that it can have a more interesting or dramatic look allowing for the type of animation that would be very difficult to achieve otherwise.

Tutorial, Video Tutorial
Adobe After Effects
Create a Rotating Counter TWO: Adding & Adjusting a Bounce

Create a Rotating Counter TWO: Adding & Adjusting a Bounce
  Play Video
In the second part of this 2 part tutorial, Andrew Devis shows how to animate the rotation of this group of layers as well as how use and adjust an expression that ships with After Effects to have the layers bounce in place as they stop which can give the sense of the counter having some real mechanical properties rather than just a linear of easy-ease keyframe approach.

Tutorial, Video Tutorial
Adobe After Effects
Create a Rotating Counter ONE: Positioning 3D Layers

Create a Rotating Counter ONE: Positioning 3D Layers
  Play Video
In the first part of this 2 part tutorial, Andrew Devis shows how to create and place layers in 3d space such that they can be rotated as a single group to be used for a rotating counter. Andrew shows how to create and place the layers using both the math function of AE as well as a handy and simple expression that places layers a fixed distance or rotation from the previous layer. He then goes on the show how to create and use a controller for the multiple layers so that they act as a single group. In the next tutorial, Andrew will show how to animate the rotation of this group of layers as well as how use and adjust an expression that ships with After Effects to have the layers bounce in place as they stop which can give the sense of the counter having some real mechanical properties rather than just a linear of easy-ease keyframe approach.

Tutorial, Video Tutorial
Adobe After Effects
Confessions of a Creative Maniac: Keys to Getting It In

Confessions of a Creative Maniac: Keys to Getting It In

In the history of computing, including the extension to the notion of what actually falls under the guise of history - let's face it, smartphones are really just diminutive computers in a somewhat flimsy disguise - an often overlooked aspect of the entire discussion is something absolutely core to the idea of how these communications devices interface with us - the venerable keyboard.

Editorial
Adobe After Effects
Introducing After Effects CS6 - Extruded Text and Shapes

Introducing After Effects CS6 - Extruded Text and Shapes
  Play Video
In this introductory tutorial to the new 3D capabilities of After Effects CS6, Kevin P McAuliffe shows the basics of how to extrude text and shapes inside of After Effects CS6, and also shows how tight integration with Adobe's Illustrator will have you creating powerful client logos in minutes, instead of in separate 3D applications.

Tutorial, Video Tutorial
Adobe After Effects
Adobe After Effects: Compositing Actors in Virtual 3D Sets

Adobe After Effects: Compositing Actors in Virtual 3D Sets
  Play Video
Rob Mize follows up his Creating Virtual 3D Sets tutorial with this demonstration of how to composite real-life actors into these 3 dimensional environments. Learn how to create an effective sense of interaction between your actors and their virtual environment using only your green screened footage and AE's 3D capabilities.

Tutorial, Video Tutorial
MORE


FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2012 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]