sceneform-android-sdk
sceneform-android-sdk copied to clipboard
I want the model to be downloaded from the server,
The requirement is that the model be downloaded from the server, not preset in APK, How do we solve this,thank.
@ToadPrincess You can create your model using the URI of the model in server.
For example:
ModelRenderable.builder().setSource(this, Uri.parse("http://www.example.com/model.sfb")).build()
You can read more about this build methods here.
It turned out that only one SFB file was needed.I saw the address of the model file in the sfb file, so I think I still need the file under sampledata. Thank you