Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

OpenGL acceleration in CS5 and earlier

From: After Effects Apprentice 11: 3D Space

Video: OpenGL acceleration in CS5 and earlier

3D is more processor and render- intensive in After Effects than 2D is. Fortunately, you can tap the power of your video card to help speed that up. However, it is a dual-edged sword. Let me show you what I mean. I am going to open up the comp 08-OpenGL*starter. If you've already been playing around with this composition in other movies, delete any lights you may have already added to the scene. I already have a section of layers and I have a 3D camera in the scene. I am going to select the Orbit Camera tool and drag it around my composition, and you can see how smooth and response of After Effects is. That's great, However, things slow down when I add more render-intensive things, such as 3D lights.

OpenGL acceleration in CS5 and earlier

3D is more processor and render- intensive in After Effects than 2D is. Fortunately, you can tap the power of your video card to help speed that up. However, it is a dual-edged sword. Let me show you what I mean. I am going to open up the comp 08-OpenGL*starter. If you've already been playing around with this composition in other movies, delete any lights you may have already added to the scene. I already have a section of layers and I have a 3D camera in the scene. I am going to select the Orbit Camera tool and drag it around my composition, and you can see how smooth and response of After Effects is. That's great, However, things slow down when I add more render-intensive things, such as 3D lights.

I'll go to layer>New>Light. I am going to use a Spot light, set the Intensity to 100, fairly generous Cone, a little bit of Feather to it, Falloff is introduced in After Effects CS5.5; I will leave it off for now. But importantly, I am going to turn Casts Shadows on. Shadows are one of the more render intensive features inside After Effects, particularly if I add a little bit of Shadow Diffusion; this really kills your render times. I'll click OK. I have some nice lighting, but the light is too close to the scene.

So I am going to press V to return to my selection tool and drag the light further away. You can already see as I drag, the comp is very slow to update. So this is a bit little annoying. However, I really notice a problem, when I press C, to go back to my Camera tool and try to orbit the camera out of scene. You will see it's nowhere near as fluid now as it was before. It's taking a long time to go ahead and update my scene. But let's look at ways to improve that.

Down here along the bottom of the Composition panel is a button called Fast Previews. In the comps that we've given you with this project, we've set fast previews to Off. That shows you all of the layers at their highest-quality and does not take advantage of the video card inside your computer. Let's drop down to Fast Previews Preferences and make sure that we've turned on Enable OpenGL. That says go ahead and take advantage of an OpenGL compatible video card that might exist in your computer or laptop.

If you want to see just what your video card is capable of, go ahead and click on OpenGL Info, it would show you what card is installed, how much Texture Memory your card has. By the way, more is better. Texture Memory is basically how many layers After Effects can load into your video card and keep them there. If you can keep all the layers in your video card, performance is really good. Half of a gig, to a couple of gigs of Texture Memories is far better than this basic card that I am using. Also of interest is this list of features that your card supports.

Mine happens to support Blending modes, Adjustments layers, Track Mattes, it can Accelerate Effects, Antialiasing, Motion Blur, even lights and shadows. But just because it says supported, it doesn't means it's always at the highest quality, and I will show you what I mean. I'll click OK. I am going to temporarily make sure Enable Adaptive Resolution with OpenGL is turned off. Adaptive Resolution is an old alternative, but After Effects would not calculate all of the pixels just to speed things up, and we'll click OK. Next, I am going to set Fast Previews to OpenGL-Interactive.

In other words, use the OpenGL engine on your video card to make After Effects snappier, more interactive. Now when I drag the Orbit Camera tool, you'll see things happen very quickly and very fluidly, just like when I did not have light or shadows, and that's just fantastic. I really like this. However, there is no free lunch. Carefully look at the outlines of the shadows in this layer, particularly in the upper left in the areas that I am circling now, see how crunchy they look? Well, as soon as I release the mouse, they'll rerender and be smooth again.

That is what OpenGL-Interactive means. It says only use the OpenGL engine when I have the mouse button down and I'm editing a parameter, camera position, light position, et cetera, but as soon as I release the mouse, switch back to the normal high quality software renderer. If you want to know when OpenGL is engaged or not, keep an eye on this button. It turns yellow when OpenGL is engaged. I'll make sure I'm in OpenGL- Interactive mode, click, and now you will see it turns yellow as I drag around.

I'll pause here, notice the crunchy shadows, Fast Preview is still yellow, I'll release the mouse, Fast Preview has turned back to its normal color. and then the scene renders sharp again. So that is the trade-off. If you have a client looking over your shoulder and they're very image-conscious, you might want to leave this off while they're there, so things always look good. However, if you're by yourself and you're arranging layers in a 3D scene or creating a camera or light animation where you need After Effects to be very snappy, you can turn OpenGL On.

Always On means to stay in that mode all the time, no switching back and forth. But you can see, here are things like the shadows are crunchy again. A good trade-off is OpenGL-Interactive. If you have a particularly slow computer, there is one more button you can press, but warning: it's a dangerous one and it causes people many headaches down the road. Along the top of your Timeline panel is a button called Draft 3D. What Draft 3D does is turn off the most render-intensive things in your scene.

In this case shadows and lights. Well, it does make the scene very, very fast, but it's nowhere near how things should look when they finally render. A lot of people click this button not knowing what it means, they leave it on, and they go, why aren't my lights working, why aren't my shadows working? It's because you've turned on Draft 3D. So this is when it's time to follow Trish's golden rule. If you ever turn on a button and you don't know what it did, turn it back off immediately, otherwise, it might sting you later on.

In our case we leave Draft 3D off all the time.

Show transcript

This video is part of

Image for After Effects Apprentice 11: 3D Space
After Effects Apprentice 11: 3D Space

54 video lessons · 14259 viewers

Chris Meyer and Trish Meyer
Author

 
Expand all | Collapse all
  1. 4m 47s
    1. Welcome
      2m 47s
    2. Using the exercise files
      2m 0s
  2. 15m 12s
    1. Comparing 2D and 3D
      5m 30s
    2. Rotation in 3D
      4m 47s
    3. Keyframing in 3D
      4m 55s
  3. 15m 9s
    1. Multi-planing workaround in 2D
      3m 21s
    2. Using 3D views
      6m 45s
    3. Natural multi-planing in 3D
      5m 3s
  4. 13m 9s
    1. Keyframing a fly-in
      5m 24s
    2. Editing 3D motion paths
      5m 43s
    3. Auto-orienting a layer along its path
      2m 2s
  5. 1h 4m
    1. Adding a camera to a composition
      9m 0s
    2. Comparing camera presets
      2m 48s
    3. Using the camera tools with the active camera
      4m 48s
    4. Using the camera tools in the alternate views
      4m 50s
    5. 3D view options
      1m 58s
    6. Animating a 3D camera
      6m 20s
    7. Creating an orbit camera rig
      5m 42s
    8. Extending your camera rig
      4m 31s
    9. Auto-orientation with 3D cameras
      7m 33s
    10. Depth of field blur in CS5.5 and later
      5m 47s
    11. Controlling the focal plane in CS5.5 and later
      5m 12s
    12. Iris properties in CS5.5 and later
      6m 16s
  6. 29m 15s
    1. Creating a 3D light
      6m 35s
    2. Working with Point lights
      3m 20s
    3. Working with Spot lights
      3m 48s
    4. Creating shadows
      10m 13s
    5. The Light Falloff feature in After Effects CS5.5 and later
      5m 19s
  7. 48m 6s
    1. Enabling ray-traced 3D in CS6
      3m 26s
    2. Extrusions in CS6
      3m 39s
    3. Bevels in CS6
      5m 39s
    4. Bending layers in CS6
      5m 35s
    5. Transparency in CS6
      4m 20s
    6. Refraction in CS6
      4m 6s
    7. Targeting Surfaces in CS6
      3m 23s
    8. Reflections in CS6
      7m 35s
    9. Environment layers in CS6
      5m 40s
    10. Quality vs. speed in CS6
      4m 43s
  8. 11m 33s
    1. Quizzler challenge for CS6
      1m 42s
    2. Quizzler solution for CS6
      9m 51s
  9. 41m 6s
    1. Vanishing Point Exchange in Photoshop Extended
      9m 18s
    2. Vanishing Point Exchange in After Effects
      4m 38s
    3. Importing a 3D model into Photoshop Extended in CS5.5 and earlier
      9m 7s
    4. Creating 3D objects using Repoussé in CS5.5 and earlier
      9m 46s
    5. Live Photoshop 3D inside After Effects in CS5.5 and earlier
      8m 17s
  10. 20m 58s
    1. Introduction to dimensional stills
      3m 41s
    2. Cutting up the source image
      2m 25s
    3. Repairing the layers in Photoshop
      8m 26s
    4. Animating the resulting layers in After Effects
      6m 26s
  11. 25m 27s
    1. Rotation vs. orientation
      3m 15s
    2. Understanding the axis modes
      4m 4s
    3. Scaling issues in 3D
      4m 57s
    4. OpenGL acceleration in CS5 and earlier
      6m 23s
    5. Fast previews in CS6 and later
      6m 48s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed After Effects Apprentice 11: 3D Space.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.