Copy link to clipboard
Copied
3D model import was originally released to After Effects Beta in October 2022. So much has changed in the past 10 months! Since new features are being released today, we thought this would be a good time to recap the entire feature set and provide a new FAQ.
This document reflects the state of 3D model import and rendering features as of After Effects Beta build 24.0x23, released on August 9, 2023. Where possible, we have linked to existing documentation already offered at helpx.adobe.com, which will be the eventual home for all of this.
Overview
3D model import in After Effects Beta allows you to import 3D model files in OBJ, GLTF, and GLB format and render them in the same 3D space as native After Effects cameras, lights, and other 3D layers. A new high-quality, performance-oriented composition renderer, Mercury 3D, enables this rendering. Environment lights, a new type of 3D light layer available in the Mercury 3D renderer, add realistic image-based lighting and shadows.
System Requirements
The Mercury 3D renderer requires a GPU with at least 4GB of VRAM. On Windows, the GPU must support Direct 3D feature level 11.1 or higher.
Mercury 3D composition renderer
The Mercury 3D composition renderer is a high-quality, performance-oriented 3D renderer. The underlying rendering engine is shared with other Adobe and Substance products, and uses Adobe Standard Material properties for physically-based rendering.
In After Effects Beta, the Mercury 3D renderer is the only renderer capable of rendering 3D models. It will also render other 3D layers, such as extruded text and shape layers, cameras, lights, and “2.5D” plane layers, all in the same 3D space.
The Mercury 3D renderer lights 3D layers in the comp using a default environment light. This light is disabled when there is at least one active light layer on the current frame, or can be customized by creating a new environment light layer. The default environment light does not cast shadows.
Renderer quality and environment layer shadows can be controlled in the Renderer Options dialog, which you can open from either Composition Settings > 3D Renderer or in the 3D Renderer drop-down menu at the bottom of the Composition panel.
Importing 3D model files
3D model files can be imported from your local disk, or from your Creative Cloud Libraries.
On import, a new folder with the model's name is created in the project for the 3D model file. If the 3D model file has dependent files (texture image files and BIN for GLTF or MTL and MDL for OBJ), they are also placed inside this folder. This ensures that collecting the project (File > Dependencies > Collect Files) captures all dependent files.
Supported 3D file formats:
GLB is the preferred file format for most uses in After Effects because it is a single-file package that includes all dependent resource and texture data. GLTF and OBJ both rely on additional files which, while not inherently problematic, require additional file tracking by the project.
3D Cache
After Effects Beta creates a 3D Cache folder in the same location as the disk cache. You can set the disk cache location in Preferences > Media &Disk Cache > Disk Cache.
The most significant use of the 3D cache is that OBJ files are converted on import to a GLB file stored in the cache. GLB provides a more robust reference for the Mercury 3D renderer. The project will continue to reference the source OBJ file on disk; the cached GLB is only for rendering reference.
The 3D cache can be emptied by doing any of the following:
Important: Emptying the 3D cache does not remove cached files for 3D models in use by the open project. To remove all 3D cache files, close the open project first.
After Effects Beta will recreate any necessary cache files when a project is opened.
Using 3D models in a composition
When you add a 3D model to a comp for the first time:
The Model Settings dialog can be opened at any time by selecting the model in the Project, Timeline, or Composition panels and choosing Layer > Model Settings.
Once 3D models are in your comp, you can use all the existing 3D tools in After Effects to help you create and navigate your comp:
Extract cameras and lights from 3D models
Animated cameras and lights saved in a GLTF or GLB file can be converted into native After Effects cameras and lights: https://helpx.adobe.com/after-effects/using/work-in-3D-space.html#extract-cameras-and-lights-from-3d...
Using 3D model layers as effect inputs
While effects cannot be applied to 3D model layers, you can use 3D model layers as the input for effects that use a layer as input. This capability opens a universe of creative possibilities.
The basic workflow is outlined here: https://community.adobe.com/t5/after-effects-beta-discussions/feature-focus-reference-3d-model-layer...
Environment Lights
Environment lights create realistic lighting, reflections, and shadows on 3D layers by surrounding the scene with an image-based environment map. Environment lights are a new feature exclusive to the Mercury 3D renderer in After Effects Beta.
To add an environment light, choose Layer > New > Light, and set the Light Type to Environment.
Environment lights use a default environment map. This can be changed to use an HDR or HDRI format image layer as an environment map:
The HDR layer’s visibility will be disabled when it is chosen as an environment map. You can re-enable this if you wish, however this will continue to be a 2D render of the layer. To simulate the HDR layer as a background scene layer, apply the CC Environment effect to a solid layer the same dimensions as the comp.
Note: The existing Layer > Environment Layer switch does not work with the Mercury 3D renderer. This option works only with the Cinema 4D renderer.
There are many HDR and HDRI environment maps available to download on the internet, including from Adobe Stock, or you can create your own using Substance 3D Sampler.
While environment lights only accept HDR format files as environment maps, you can easily convert other image file formats to HDR using Photoshop:
You can also export a Radiance HDR file from After Effects comp: choose Composition > Save Frame As > File, then open Output Module settings and set the Format to Radiance.
Environment maps must be single HDR frame layers, not sequences. Effects and animation applied to the environment map are ignored.
Environment light shadows
When the Light Options > Casts Shadows option is enabled for an environment light, all 3D layers in the scene will cast voxel shadows.
Note that the default environment light does not cast shadows. You must add an environment light layer to cast shadows.
Voxel shadows are memory intensive. The shadow settings are controlled in the Renderer Options dialog, which you can open from either Composition Settings > 3D Renderer or in the 3D Renderer drop-down menu at the bottom of the Composition panel.
More improvements are planned for visualizing the voxel shadow box.
Scripting access to environment layer light type
Using scripting to read the lightType property of a LightLayer object will return LightType.ENVIRONMENT for an environment light.
Known Issues
In general, please be aware that rendering and shadow quality is a work in progress. Expect changes in future builds. Below are some of the most significant, currently-known issues:
FAQ
Importing 3D models
Working with 3D models
Working with materials
Environment Lights
Copy link to clipboard
Copied
The New Environment Lights with HDR looks amazing
Copy link to clipboard
Copied
I can't seem to add HDR's to my environment light. There is no dropdown menu next to SOURCE in my environment light's options, despite having multiple HDR file in my comp.
Beta 24.0.0 build 28
Copy link to clipboard
Copied
update - Hitting F4 to expand the layer switches solved the issue...duh. Dunno if the dropdown is supposed to be visible in both layer toggles or not.
Copy link to clipboard
Copied
Looking for a full workflow that describes how to bring a .glb file (my model is exported from Revit into Blender and saved as a glb)
From there I:
- Open AAE and bring in my drone footage into the scene
- Apply 3D Camera Tracker effect and solve
- Slide the red target around to choose the best triangulation and setting Ground Plane/Origin
- Drag my .glb model into the scene
What happens is the model comes in in perspective bu looking very close to your eye. When I adjust the location to look more in place it doesn't track well at all to the scene/video.
Any advice? Thanks in advance.
Copy link to clipboard
Copied
Hi,
I'm experiencing some trouble with the 3d import. I only get a bounding box of my models. This happens also when I use a model from the Adobe Stock library. I'm using Beta version 24.1.0.30. I tried changing the render engine but that didn't work. I'm using the latest Nvidia Driver. Any thoughts?
Copy link to clipboard
Copied
Hi there! I'm on an M2 Max MBP. Am I correct in assuming that Mercury 3D is unsupported on Apple Silicon? I can't seem to find that definitive answer anywhere, but am on the latest beta and no Mercury 3D anywhere, though Advanced 3D still seems to be working and OBJ/GLB import are working as well...