f3d icon indicating copy to clipboard operation
f3d copied to clipboard

GLTF animation issue with specific file

Open mwestphal opened this issue 2 years ago • 4 comments
trafficstars

Describe the bug Certain GLTF files do not animate correctly

To Reproduce Steps to reproduce the behavior: 0. Horse.glb.zip

  1. Open the file using f3d --dry-run horse.glb
  2. Press space
  3. Animation is incorrect

horse

Expected behavior Animation should looks correct (check in https://gltf-viewer.donmccurdy.com/)

System Information:

  • OS: linux and windows

F3D Information Paste the content of f3d --version: master and 1.3.1

Notes

using --geometry-only is a workaround

mwestphal avatar Feb 05 '23 15:02 mwestphal

@Meakk Other animation works without issue, I think this is another type of animation which is not supported correctly.

Strangley the vtkGLTFReader does not have this issue.

mwestphal avatar Feb 05 '23 15:02 mwestphal

@Meakk I think this one is in VTK but investigation is needed to be sure. Do you think it matters for the next release ?

Other animations seems to work. I found a few files failing like this one, mostly "simple" animation.

mwestphal avatar Feb 11 '23 19:02 mwestphal

@Meakk

mwestphal avatar Feb 13 '23 18:02 mwestphal

Looks like the mesh is duplicated for every frame, but I don't see any temporal information in the GLTF file...

Meakk avatar Feb 13 '23 22:02 Meakk