facebookincubator / FBX2glTF

A command-line tool for the conversion of 3D model assets on the FBX file format to the glTF file format.
Other
2.1k stars 332 forks source link

Bugs occur when using npm to convert fbx to gltf #217

Closed HypnosNova closed 5 years ago

HypnosNova commented 5 years ago

Following steps:

  1. yarn add fbx2gltf
  2. write following code image
  3. run the script and terminal shows: image

It shows that if I convert fbx to gltf, the module won't create a dir which it needs automatically. If I convert fbx to glb everything is OK.

Another bug is the fbx contains textures but if I use this script it will lose all the textures. But if I use FBX2glTF.exe and use cmd to convert models, everything is OK.

zellski commented 5 years ago

Hi @HypnosNova, thanks for the report.

I see you filed this 14 hours ago, right after the release. But, I hadn't published the new release (0.9.6) to the public NPM repo at that point.

Could you upgrade your fbx2gltf dependency to 0.9.6 and see if the result is the same?

HypnosNova commented 5 years ago

@zellski Thanks you, I update to 0.9.6 right now and these two bugs are fixed.