UnityGLTF
UnityGLTF copied to clipboard
gltf loads large models very slowly
gltf is very slow to load large models, an 80M file takes an hour to load.Can this be solved?
glTF is only a file/data format. How long it takes to load a model is (not really, but somewhat) independent of that. More precisely: glTF is designed so that it can be "loaded" quickly. The issue is therefore most likely related to the engine/renderer that you are using.
So where and how are you "loading" the model? (And are you sure that it's not only due to a slow network connection, for example?)
Uploading test.zip… The model is gltf generated by sketchup conversion, and the loading speed is very slow. I load it locally.
Test file link: https://pan.baidu.com/s/1DX0EVc5HZbKkP-JyngfIEg
Extraction code: 6uax
I load it locally.
In three.js, in Babylon.js, or in any other viewer?
(Besides: I don't know which button to click for the download...)
it's loaded in Unity
same to me . 40MB model cost 2 miniutes,load from local disk on android
Please try the new Iridescence Abalone model. It is just under 10MB. You can directly view the model in SampleViewer using https://github.khronos.org/glTF-Sample-Viewer-Release/?model=https://raw.GithubUserContent.com/DRx3D/glTF-Sample-Assets/main/./Models/IridescenceAbalone/glTF-Binary/IridescenceAbalone.glb. The GLB can be downloaded for local testing using https://raw.githubusercontent.com/DRx3D/glTF-Sample-Assets/main/Models/IridescenceAbalone/glTF-Binary/IridescenceAbalone.glb. Note that this GitHub repo is development for the new Sample Model repo.
The import and load time will help us determine where the issue(s) are.
Fixed in latest release