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

Can we render 3D objects from Google Poly in an AR in real-time ? #178

Closed rohitagarwal3011 closed 6 years ago

rohitagarwal3011 commented 6 years ago

Can we fetch .obj and .mtl files from Google Poly API and convert them to .sfa and .sfb files programmatically in real-time?

gstanlo commented 6 years ago

Unfortunately you cannot due to the conversion tools not being available on Android.

arcomdev commented 6 years ago

If you have a Server where load the file you can use PHP script with Linux Shell

rohitagarwal3011 commented 6 years ago

How will i get the necessary .sfa and .sfb files for the 3D objects?

arcomdev commented 6 years ago

Use this: https://github.com/necrostylery/google-ar-asset-converter with Linux script for Linux shell and you can convert to .sfa and .sfb

rohitagarwal3011 commented 6 years ago

@agselling Awesome .Thanks a ton!!