Indiana University
People  |    

Jim Krause | Classes | P354 Program Graphics & Animation

Week 9


  • Cover 3D layers and cameras
  • In class 2-part exercise: Simulated & real 3D space and cameras
  • Discuss readings & homework

Notes: For future homework projects, please make sure you are following a new theme and visual style. Some have been creating similar looking projects and thus have not branched out much. The more varied subjects and styles you try, the more varied and useful your portfolio will be.

AE and 3D Space

(Meyer chapters 13 & 14)

After Effects can extrude text, vector artwork, and shape layers in true 3D space. In order to use this feature you must turn on Ray-tracing from the advanced 3D composition settings. You can access this feature in Cinema 4D mode or in Ray-traced 3D mode.

But let's start with a standard (non-ray-traced) comp for now.

Think of three-dimensional space in terms of X, Y & Z:

X= left to right
Y= up and down
Z= towards the camera

In the AE timeline, you can give almost any layer 3D characteristics by turning on the 3D switch. (It’s the little box icon)

Remember that layers are really still flat- we’re just looking at them and can manipulate them in 3D space.


Active camera is the perspective view from the primary camera

Orthographic views don’t show perspective. They are as seen from the 6 sides of a box. These include:

  • front
  • left
  • right
  • top
  • back
  • bottom

Use the camera view to move these views around. This doesn’t create keyframes or disturb your composition in any way.

The "Orbit Camera" (keyboard shortcut = C) is useful for moving your view around so you can see various parts of your 3D space. It does not affect your comp- just what you see,

This is a useful tool for moving the image around, just so you can see it.

Custom views show perspective

Demonstrate moving a 3D layer in space


Cameras in AE only interact with 3D layers. They see regular layers- but they simply don’t have any 3D characteristics.

The Meyer book makes a good point: It’s fine to have cameras, which are stationary along with moving layers. It’s also fine to have stationary 3D layers and move the camera between them. But if you move both camera and layer, you are asking for trouble. This is best left up to the very experienced motion graphic artist who is looking for a specific “look.”

One note about Precomps: You need to have the “Collapse Transformations” box checked on pre-comps in order for cameras to see them.

AE has a default camera, which uses what might be considered a 50mm lens

You can add any number of cameras above this one. The camera highest in the layer stack will be active. And you can cut from camera to camera.

Let’s add a camera and explore the settings

Before getting into 3D layers, it's good to understand a few layer tricks you can do to simulate depth and perspective.

Perspective can be simulated by creating multiple layers, which move similarly to each other but at different speeds. Varying sizes can also get across the feeling of depth.

Krista Detor CD Chocolate Paper Suites open

2-part in-class exercise (Simulated and real 3D):

Part 1 - Simulated 3D space

Build a 1280 x 720 HD comp that has at least three layers that simulates depth using a tracking or dolly shot. For example you could have:

Play with simply animating each layers left-right position values. Over a 10-second  period, move the rear layer a very small amount. Move the middle layer a bit more. Move the top (closest) layer an even greater amount. Make sure your keyframes and movement all align, and apply an "easy ease" to them to give the movement a natural feel.

Make an H.264 movie called 2D and turn it into the appropriate Canvas assignment.

Part 2 - Real 3D space

Now take all three layers and turn them into 3D layers.

Reposition the layers in 3D space (depth)

Instead of animating their position, make a camera and animate a move to get a similar effect.

Make a square pixel H.264 movie called 3D and turn it into the appropriate Canvas assignment.

Thursday (No Lab Spring 2020) ------------------------------------------

Intro to 3D Modes - Cameras, Lights, Raytracing and Extruded Layers

After Effects can work in several 3D modes:

  • Classic (the default setting)
  • Cinema 4D
  • Ray Traced (depracted)

To access these modes go to Composition Settings (Command-K) and click the 3D Renderer tab.

Classic 3D provides the quickest 3D effects. Cinema 4D and Ray Traced allow for extuded text and shape layers but tasks the CPU and slows down responsveness. You also lose acess to blending modes. Toggling betwen the modes also changes how cameras and shadows operate.

Cameras and lights in AE only interact with 3D layers. They see regular layers- but they simply don’t have any 3D characteristics.

It’s fine to have stationary cameras and move 3D layers. It’s also fine to have stationary 3D layers and to move the camera. But if you move both camera and layers, things can get really complicated. This is best left up to those with practice working in 3D space.

An introduction to 3D Ray Tracing in After Effects

3D Lights

It’s possible to add 4 different types of lights in AE:

  • Parallel
  • Spot
  • Point
  • Ambient

With each of these 4 types of lights you can change and keyframe the color and intensity. It’s not possible to change from one type of light to another- though you can fade one up and one down instead.

And just like in most film and video, most scenes call for more than one light. (Key plus fill for example.)

  • Spotlight – This is the most dramatic light in AE. You can modify the cone angle (think spot or flood) and the cone feather (the falloff near the edges).
  • Point light – This is like a bare bulb in space. While you can’t adjust the cone angle, you can adjust the feather. SInce the rays are parallel to each other, this type of light only casts sharp shadows.
  • Parallel light – This is like a point light, but all of the rays point the same direction.
  • Ambient light is the only type of light that doesn’t cast shadows. It works well as a fill light.

Thursday 3D Extruded Text Ray-Tracing Exercise (Optional for Spring 2020)

  • Create a 1920x1080 HDTV comp lasting 10-15 seconds. (You'll need to set up your comp in either Cinema 4D or Raytraced 3D.)
  • Create some text, convert it to 3D and extrude it to your liking.
  • Add a camera.
  • Add a light (spotlight is good to start with)
  • Animate either the 3D layer or a camera interacting with the extruded word. (You must animate the text AND/OR the Camera)
  • For brownie points add a floor and a wall.
  • Output an Apple ProRes 422, MP4, or H.264 movie called "Raytrace" and upload it to the proper Canvas assignment.


  • Read Meyer, chapter 15 (lights). If you don't have the Meyer book, check out a few video tutorials, like these:
  • Make a widescreen, 10 or 15-second "promote a cause" message promo. Please use a topic or theme you have never used before. It must have:
    • A clear purpose
    • A sense of depth
    • at least 2 3D layers
    • at least 1 animated layer or camera
    • at least 1 light
    • audio
    • Turn in an Apple ProRes 422, MP4, or H.264 square pixel version
    • Be sure to turn in an accompanying critique form that states how you achieved depth, used the 3D layers, and animated the camera or 3D layer.

Back to the P354 Home page