Export Cloth animation to GLB/GLTF

Hi Blender People out there,

i am working on an AR Project and i need to export this animated curtain in the GLB/GLTF format, so three.js could read and play the animation.

I tryed to create a alembic and export it as glb, no success.

I read about VAT VertexAnimationTexture, but i have no clue how this works so far.

someone had a similar issue, would be of great help.

PS: in the blender file the animation is not baked - due to file size of max 5MB here

thx
only_curtain.blend (190.6 KB)

Hello user!

What system are you using?

hi Svatzsizer
i use blenders cloth simulation.

the system where it will run is from 8th wall.

but i know when it runs here https://threejs.org/editor/ it will also run on 8th wall.

Oh, I meant what computer.

windows 11 pro

the file will work on yours i am sure.

you need to bake the animation probably…

it should be exportet as a glb, and the animation should be like in blender.

you could test it on https://threejs.org/editor/

dont worry, i think myself at the moment its quite hard.

there is something called VAT, which is Vertex Animated Texture. I guess with this approach it can be done - but the 3D Viewer Programm need to understand the Texture generated from the OpenVAT Plugin Blender has…

thx for helping anyways