Closed fzaiatz closed 5 years ago
You can use the converter also outside of android studio. Check this here: https://github.com/gdamoreira/google-ar-asset-converter
Currently the only supported way to generate SFBs to use the Sceneform gradle plugin (either inside an android studio project, or in a standalone gradle build).
As pointed out by @bobekos, there is an underlying command line tool that gets called by the Sceneform plugin. When you run a gradle build using the Sceneform plugin, right now the command line tool is unzipped into the build/sceneform_sdk directory and could theoretically be used directly. Note a couple of important details with the converter command line tool:
Thanks @bobekos for linking to the converter, didn't know about that one. Also thanks @tpsiaki for those notes about it :)
your_project_work_directory\app\build\sceneform_sdk\windows\converter.exe
windows10 cmd bat file
%1 : output folder name %2 : .obj file name in input dir
ex) C:....\sceneform_sdk\windows\convert.bat output andy.obj
Is it possible to generate a SFB file outside of Android Studio? Something like a Blender plugin / a console script, so we can load SFB models at runtime (taking advantage of model animations for instance).