google-ar / sceneform-android-sdk

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

GLB performance issues #476

Open ChrisMarffy opened 5 years ago

ChrisMarffy commented 5 years ago

I've been using runtime loading of GLB models a bit, and I'm having major performance issues (~1 frame a second). My phone for reference is a Galaxy S7. I've shown the same models in ViroCore with no performance issues, as well as in ARKit on iOS on an iPhone 6s, so I'm just wondering if there are any factors in particular that affect model performance in Sceneform/ARCore, or if anyone knows any ways of improving performance?

claywilkinson commented 5 years ago

Can you share a sample that demos the performance problem? Do you have the same problem with non-binary glTF models?

ChrisMarffy commented 5 years ago

The examples that are causing issues probably can't be shared publicly, but I could share them with you privately? What would be the best way to do that? I haven't been able to try the models in non-binary glTF so far, I'll see if I can get access to them in that format though.