google-ar / sceneform-android-sdk

Sceneform SDK for Android
https://developers.google.com/sceneform/develop/
Apache License 2.0
1.23k stars 604 forks source link

Provide 3D (.sfb) models at runtime instead of compile time #1013

Closed tellypresence closed 4 years ago

tellypresence commented 4 years ago

Is there any way to provide 3D models at runtime instead of compile time?

Current workflow is to run the sceneform plugin to convert .fbx/.gltf to .sfa/.sfb etc; this adds a block to build.gradle and the .sfb is updated on every build in case the .sfa changed. Works great but models are baked-in at compile time.

Would be very useful to do the same offline conversion to .sfa/.sfb but provide the converted model via e.g. firebase instead of baking it in at compile time; obvious use case would be allowing an app installed weeks or months ago to pick up new models immediately (since it isn't feasible to expect a deployed app to be updated in a timely manner). So as character designs evolved simply restarting the app would update to latest "look."

tellypresence commented 4 years ago

Dupe of https://github.com/google-ar/sceneform-android-sdk/issues/35