f3d-app / f3d

Fast and minimalist 3D viewer.
https://f3d.app
BSD 3-Clause "New" or "Revised" License
2.79k stars 203 forks source link

DAE file is not read with parse error #615

Closed mwestphal closed 3 weeks ago

mwestphal commented 1 year ago

Describe the bug A specific dae file is not read with a parsing error

To Reproduce Steps to reproduce the behavior:

  1. library_animation_clips.dae.zip
  2. Open the file using f3d --dry-run library_animation_clips.dae

Warning: In vtkF3DAssimpImporter.cxx, line 584
vtkF3DAssimpImporter (0x55ddb435eeb0): Assimp failed to load: /home/glow/aur/assimp/src/assimp-5.2.1/test/models/Collada/library_animation_clips.dae

Warning: In vtkF3DAssimpImporter.cxx, line 587
vtkF3DAssimpImporter (0x55ddb435eeb0): Assimp error: Cannot parse string "  0.0 0.0 0.0 1.0  " as a real number: does not start with digit or decimal point followed by digit.

Expected behavior

a

System Information:

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

Additional context Parts of assimp suite, so I assume it should work with assimp ?

shambhupatil commented 3 months ago

Fixed by this pr

mwestphal commented 3 months ago

Thanks for checking @shambhupatil !

mwestphal commented 3 months ago

Lets keep this open until assimp do a new release and we can update the superbuild with it.

mwestphal commented 3 weeks ago

I still see a strange artifact but the file is read by assimp correctly

a