-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
valid glTF fails to load in CesiumJS #11961
Comments
Probably a duplicate of #10284 : Sparse accessors are simply not supported. (This is also indicated by the ❌ in the "Cesium.js 116" column of the "Simple Sparse Accessor" row of the table in https://github.com/cx20/gltf-test : This is currently rendered without the sparse substitution...) The example here adds Draco compression, and the crash is caused by the |
@javagl I agree that the way CesiumJS is failing here is not very useful and a clear error message or warning about lack of sparse accessors would be the least we could do. But it definitely bugs me that there is part of the glTF standard we seem to not support, especially since tools like gltf-transform's optimize function produces sparse accessors where applicable. @ggetz @lilleyse What is the level of effort to support them? |
Closing in favor of #10284 to keep discussion in one place... |
house.glb.txt is a draco encoded glTF model that loads fine in all viewers I tried except for CesiumJS. It validates cleanly with no errors.
When loaded into CesiumJS, it reports:
The text was updated successfully, but these errors were encountered: