问题
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.
来源:https://stackoverflow.com/questions/34487237/how-to-export-fbx-three-js-format-file