Add Morph Target in Runtime

I want to add a morph target at runtime to an already rendered mesh.
The explanation of the morph target has the following notes.

https://threejs.org/docs/#api/en/core/BufferGeometry.morphAttributes

Note: Once the geometry has been rendered, the morph attribute data cannot be changed. You will have to call .dispose(), and create a new instance of BufferGeometry.

I’m using glTF and I don’t want to download it again.
Is there a way to recreate the BufferGeometry without downloading the glTF file again?

Or does anyone know of a better way to add a morph target during runtime?

Was self resolved.
This way I was able to regenerate the mesh without downloading it again.

I was able to add morph targets at runtime by adding new morph targets to the morphAttributes of the original geometry.

1 Like