GLB / GLTF export: Can't bake modifiers?

Hello,
I have a very simple model - a torus, with a Displace modifier on it, driven by a noise texture whose position is controlled by an Empty with some noise on its position. So far so good.

I have the Displace Modifier’s Strength keyframed from 0 (on the first frame) to 0.6 (on frame 60).

I want to bring this into After Effects as a 3D model; AE likes GLB models (and not much else). But it seems no matter what options I choose under the GLB export options (there are some tempting-looking options like “Bake All Objects Animations”) no animation is exported at all. Am I right in assuming those options are useless and I need to manually bake the modifier? How do I go about this - I’ve tried selecting the torus, Object menu > Animation > Bake Action, but that only seems to bake the transforms; if (in the Modifier Stack) I do any kind of “Apply”, that just kills off the animation.

I’ve tried GLTF and GLB formats, but I cannot get Blender to export the animation at all, which is rather annoying. It’s not an After Effects import issue - if I import my GLB model into Blender, there are plenty of keyframes, but they’re just for the transforms (all of which remain stubbornly at zero) - except for the Empty - even though I baked that, it has no transform keyframes at all.

image

Any suggestions on how I can achieve the seemingly impossible - bake an animated modifier - would be HUGELY appreciated!

@HelloPaul1

Hi Paul,

the GLB format does not directly support vertex animation ( which is what you’re using in the displace modifier ) that is done with the Alembic format. Unfortunately AE does not support Alembic files. :roll_eyes:

However, GLB does support Shape keys, so if you export the animation with those then the displacement animation will work.

You will need to enable ( in preferences/add-ons ) the MDD import/export format.

Follow this Youtube to see the process.

I’ve checked it myself, and here’s a GLB file for you to import into blender/AE to try:

DisplacedTous.glb (429.6 KB)

Cheers,
Dj

1 Like

Thanks @DamianJ - I shall try that out.

Interestingly, the Displaced Torus you attached also does not animate in AE; it shows the animation OK in Windows 3D Viewer, but regardless of which animation I select (EmptyAction or KeyAction) nothing animates in AE. Odd.

I’ve got some Adobe folks on the case:
image