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

Is there a way to generate .sfb files from .fbx in runtime #1081

Open NilaanL opened 4 years ago

NilaanL commented 4 years ago

i already aware that .sfb models can be directly rendered from url or local storage .But i want my users to add there 3d models to my server(.fbx format) and others can download those . Scenform offers a methode to import sfb from fbx before build but is there a way to do it in runtime (already noted the fact that fbx can be converted to sfb and saved in the saver . but i want to make the process simple )

tellypresence commented 4 years ago

The future for sceneform is .glb not .fbx; if you update to v1.16.0 you can load .glb files direct from remote url, which may be your best alternative

(.fbx is effectively deprecated beyond sceneForm v1.15.0, unlikely the requested feature will be added)

tpsiaki commented 4 years ago

Hi @NilaanL - as @tellypresence noted, we're moving to gltf/glb files which can be used as the delivery format for Sceneform. These will provide a better solution moving forward than a proprietary delivery format like sfb. My recommendation would be to have users add 3d models to your server in the gltf format which is widely supported tools, rather than ingesting fbx files.