xeokit / xeokit-sdk

Open source JavaScript SDK for viewing high-detail, full-precision 3D BIM and AEC models in the Web browser.
https://xeokit.io
Other
715 stars 286 forks source link

model is too large ,results too long loading time #399

Closed xiaokai199010 closed 4 years ago

xiaokai199010 commented 4 years ago

The gltf model is too large, which results in too long loading time. However, after using Draco compression model, I don't know whether it can support it

xeolabs commented 4 years ago

GLTFLoaderPlugin does not support Draco yet. If you don't need textures, I'd recommend converting your glTF to XKT for fast loading: https://github.com/xeokit/xeokit-sdk/wiki/Creating-Files-for-Offline-BIM

xiaokai199010 commented 4 years ago

OK, thank you. I'll try it

xiaokai199010 commented 4 years ago

Do you have plans to support Draco or use gltf-pipeline to compress and decompress gltf models?

xeolabs commented 4 years ago

We don't have plans to use Draco at the moment, since xeokit's native XKT format does what we need so far, at least for BIM.

However, if you do happen to have time to add GLB / Draco to xeokit, you'd be most welcome, it would still be great to have!