BabylonJS / Exporters

Exporters for Babylon.js and gltf file formats
Other
613 stars 313 forks source link

3ds Max not exporting morph target animation when using animation groups #1093

Closed PatrickRyanMS closed 1 year ago

PatrickRyanMS commented 1 year ago

With 3ds Max 2022/2023 and exporter v2230608.5 if there are several morph targets in a scene with animations, exporting the scene without animation groups works as expected with all morph targets animating.

image

If an animation group is made in Maya, only the first node in the scene exports animations, though all nodes retain their morph targets.

image

If the user enables Export non-animated node targets in the animation groups window, animations from all morph targets is exported and plays as a part of the animation group.

image

It appears there is some test that is failing out of the loop early while looking for nodes with morph target animation when Export non-animated node targets is unchecked. From the description of the flag, this should not be needed to export multiple morph targets from the scene so this feels like a bug.

This comes from a forum discussion and the test files are attached below.

Babylon_export_examples.zip

bghgary commented 1 year ago

@SergioRZMasson Can you investigate?