How to know when heavy GLTF model fully loaded in sceneView ? #246
-
Hi, I have a heavy GLTF model. It needs about 5 seconds to load. I would like to have a callback in order to know when the loading of all the textures of the scene/sceneview is finished. Does this exist? Or any way to detect this event? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
grassydragon
Dec 17, 2021
Replies: 1 comment
-
Hi! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ThomasGorisse
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
I think, if you don't use the asynchronous texture loading, the textures will be loaded before you receive the callback with the renderable: https://github.com/SceneView/sceneform-android/blob/master/core/src/main/java/com/google/ar/sceneform/rendering/Renderable.java#L425