libgdx / fbx-conv

Command line utility using the FBX SDK to convert FBX/Collada/Obj files to a custom text/binary format for static, keyframed and skinned meshes.
Apache License 2.0
447 stars 116 forks source link

ASCII to Binary FBX conversion not working #127

Open TennisGazelle opened 4 years ago

TennisGazelle commented 4 years ago

Issues with the following cmd.

$ ./fbx-conv -v -o fbx ../yellow_oktober_ascii.fbx yellow_oktober_bin.fbx

the resulting yellow_oktober_bin.fbx file has zero bytes

$ > ls -fal yellow_oktober_bin.fbx
-rw-r--r--  1 daniellopez  staff  0 Aug 15 14:26 yellow_oktober_bin.fbx

the original is plenty large, you can download it by using

burning_man_camp $ curl http://singleclick.com/~jelwell/daniel/YellowOktober2018.01A.fbx -o yellow_oktober_ascii.fbx
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15.7M  100 15.7M    0     0  8996k      0  0:00:01  0:00:01 --:--:-- 8994k
burning_man_camp $ ls -fal | grep yellow_oktober
-rw-r--r--   1 daniellopez  staff         0 Aug 15 14:25 yellow_oktober.fbx
-rw-r--r--   1 daniellopez  staff  16551030 Aug 15 14:31 yellow_oktober_ascii.fbx
-rw-r--r--   1 daniellopez  staff   5723002 Aug 15 14:24 yellow_oktober.g3db

i understand if you don't want to download the link because it seems sketch, but i needed this to be able to read an ascii fbx file (or convert it rather) into a format that Blender can read while preserving texture and other information. Objs alone won't cut it.