3

How to export FBX three.js format file?

I found references on the internet showing how an FBX file is converted to three.js, but I can't find how a JSON three.js file is converted to FBX files?

HaveNoDisplayName
  • 8,291
  • 106
  • 37
  • 47
jing.ya
  • 45
  • 1
  • 5

1 Answers1

1

At the moment, there are no exporters for the .FBX file format from a three.js json scene format. You can export to stl or obj. To see some examples of exporters, take a look at the examples in the dev branch. There you can find a folder for exporters: https://github.com/mrdoob/three.js/tree/dev/examples/js/exporters

At the moment, there is a pull request to add FBX loading, but no exporting.

Edit: For completion, a few more links:

  • FBX SDK Python - Might be helpful in case you want to learn about what is possible with the python bindings for fbx

  • Three.js Converters - Discusses a python conversion tool to the Three.js format. Might be able to reverse engineer this tool to convert Three.js to FBX.

Luis E. Fraguada
  • 509
  • 8
  • 24
  • There is now an FBX ➡️ THREE.js JSON converter, with some limits on features supported (no animation, only certain materials...). https://github.com/mrdoob/three.js/tree/dev/utils/converters/fbx – Don McCurdy Dec 11 '16 at 07:29
  • At the time of writing, this was not the case. – Luis E. Fraguada Jul 23 '17 at 19:52