pissang / clay-viewer

3D model viewer with high quality rendering and glTF2.0/GLB export
https://pissang.github.io/clay-viewer/editor/
BSD 3-Clause "New" or "Revised" License
773 stars 98 forks source link

I can not open all file formats except gLTF #28

Open djalexv opened 6 years ago

djalexv commented 6 years ago

I tried to open all types of formats (fbx, dae, obj, gLTF).

All gLTF files downloaded from here https://sketchfab.com/features/gltf, open without problems.   Files downloaded from other directories https://sketchfab.com and automatically converted directly to the site (for example https://sketchfab.com/models/1a9db900738d44298b0bc59f68123393 and https://sketchfab.com/models/faed84a829114e378be255414a7826ca) are also downloaded to the program. At the same time, the last file (Cathedral), apparently, is very large and slows the system. This seems to be a question related to https://github.com/pissang/clay-viewer/issues/21 in the hardware part.

But the same models in obj - original format, as well as models in the formats fbx, dae, obj, downloaded from other sites (for example, https://free3d.com) do not open and produce the following messages.

dae fbx_failed obj

Win10 1709. 16299.125 Installed: 1) https://www.python.org/ftp/python/3.6.4/python-3.6.4.exe 2) FBX SDK 2018.1.1 Python -http://download.autodesk.com/us/fbx/2018/2018.1.1/fbx20181_1_fbxpythonsdk_win.exe

What could be the reason?

enzyme69 commented 6 years ago

Same here, lots of GLTF autoconverted by Sketchfab and downloaded is not working inside clay-viewer... wonder why... maybe BIN animation needs to be embedded into GLTF.

UPDATE: looks like I need to drag both GLTF and BIN into Clay-Viewer... and voila it works!