How to export FBX three.js format file

2019-07-12 08:45发布

问题:

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?

回答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.