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

How apply materials from remoted storage to .sfb #795

Open u-can-miracle opened 5 years ago

u-can-miracle commented 5 years ago

Good day, thank you Sceneform team for your's good work. I'm trying to convert local .obj file to .sfb by using https://github.com/gdamoreira/google-ar-asset-converter Also I have condition that .obj's related materials and images are stored on remote storage in cloud. Haw can I do this? I thought about editing .sfa file - but as I understand it's just a human-readable description of .sfb and it's not processed by sceneform. Please give an advise Thank you

ivstka95 commented 5 years ago

Good day, thank you Sceneform team for your's good work. I'm trying to convert local .obj file to .sfb by using https://github.com/gdamoreira/google-ar-asset-converter Also I have condition that .obj's related materials and images are stored on remote storage in cloud. Haw can I do this?

you have to save that materials and textures in a folder with .obj together.

I thought about editing .sfa file - but as I understand it's just a human-readable description of .sfb and it's not processed by sceneform.

you can change any parameters in that .sfa, rerun converter again and changes in .sfa should be applied