Closed Terran-Marine closed 6 years ago
Android Studio uses the converter
tool which should be in your project directory.
Additionally, you can specify directories in gradle. For example:
sceneform.asset('sampledata/lots_of_models_in_this_directory/',
'default',
'sampledata/models/',
'src/main/res/raw/')
Thank you for your reply
Maybe you didn't understand my point,Because we have many models, we need a tool that can transform multiple models at once.
I used the sceneform plug-in in Android Studio, but only converted one at a time.It relies on Android stuidio, which is not easy for model developers to use. So I need a tool to convert many models at one time
If you specify a directory in the sceneform.asset method in gradle, the converter should find all the assets within it.
You can run gradle compileSceneformAssets
from command line to get gradle to run its Sceneform asset compilation tasks.
Also, if you've imported a Sceneform asset, the plugin should have downloaded
app/build/sceneform_sdk/(linux|mac|windows)/converter
, which is the tool that gradle uses.
Hi @ToadPrincess, try using my repo with the sceneform binaries extracted from the gradle plugin jar. (https://github.com/necrostylery/google-ar-asset-converter).
@necrostylery thank you so much. I found this last week and it's already in use. This works well and we want a GUI because it's for use by modeling engineers.
Thanks!!
We have plenty of models(obj and. Sfa model format) .How to batch conversion model..Is there any batch conversion tools. Or a 3 ds Max plug-in, generated SFB file directly.Or another does not rely on Android Studio tool.