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

Build shared library for Android #104

Closed dpproduction closed 4 years ago

dpproduction commented 7 years ago

I'd like to compile this library for Android devices with arm processors. Converter depends on fbxsdk.so but this sdk builded for linux not for android arm. Is it possible to use this prebuild fbxsdk.so for arembi-v7 ?

GameCy commented 7 years ago

Why do you need to run a command line utility from android? It's supposed to run at build time to convert to friendlier formats. Then you include the converted files in your android app.

dpproduction commented 7 years ago

Because I wanted to write 3d viewer based on libGDX that can read .fbx and .dae formats.

GameCy commented 7 years ago

You would need a library that was built for Arm processors. Adobe doesn't seem to have support for Android. If you need it really bad you could try to port the below project to libGDx and see how far you will get:

https://github.com/hamish-milne/FbxWriter/tree/master/Fbx

or

https://github.com/yamahigashi/FBXLoaderJS/blob/master/js/loaders/three.FBXLoader.js