Gltfexporter without the morph

Hello,
i have a mesh that has a moprh , i am changing the morphinfluence and exporting it,
i want to export the mesh with the morphinfluence but without the morphs in it .

My guess is that morphing is done by the GPU. So, you do not have easy access to calculated (morphed) vertices.

However, it might be possible to do the same calculations in JavaScript and then export them in GLTF/GLB:

  • calculate morphed vertices and update the original vertices (computeMorphedAttributes)
  • calculate other morphed data (e.g. normals) and update original data
  • remove the morphed data from the mesh
  • export the mesh
1 Like