-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add support for gltf 2.0 models #2
Comments
Hi @fnicollet! 3D Model support on Cesium ion is still in beta, and we currently only support glTF 1.0 models. |
@hpinkos I've re-opened this issue. We won't want to close this until @fnicollet's use case is actually implemented. @fnicollet, sorry that you have been running into issues. @hpinkos is correct in that our glTF support is still at 1.0 and in early beta. As soon as our pipeline is updated for 2.0, I will verify the model you linked to works correctly and update this issue. We are also in the process of improving our UX to better indicate beta features. If you would like to opt out of being a beta user so that you only see features ready for production, just let us know and we can flip that switch. Thanks again for trying out Cesium ion! |
Hello @hpinkos and @mramato and thanks for your two answers, I would rather stick with the beta version, so that I can give you feedback on what works and what doesn't. In the meantime, maybe add a feature to your backlog, such as adding an error message to the end-user when the asset could not be imported (where you can just say that the uploaded asset is in unsupported format gltf 2.0) Fabien |
I would like to chime in just to say I have stumbled on the same issue. Gltf 2.0 files that seem to validate as correct and without errors on the online validator and that also load just fine in VSCode's renderer produce the error mentioned above. On the other hand, a Gltf 1.0 file I had created in my previous implementation which did show one error and some warnings in the validator did load just fine, while another gtlf1.0 file seems to be stuck in Processing at 25%. |
Can you host the gltf files somewhere? It will probably help the cesium
staff reproducing the issue
Le mer. 30 mai 2018 12:46, akolymparis <[email protected]> a écrit :
… I would like to chime in just to say I have stumbled on the same issue.
Gltf 2.0 files that seem to validate as correct and without errors on the
online validator and that also load just fine in VSCode's renderer produce
the error mentioned above.
On the other hand, a Gltf 1.0 file I had created in my previous
implementation which did show one error and some warnings in the validator
did load just fine, while another gtlf1.0 file seems to be stuck in
Processing at 25%.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABLtoR2qex25aoAWHThnqchW39PtnOwaks5t3niagaJpZM4TyaNu>
.
|
Certainly. The gltf 2.0 that doesn't Load is this one: The Gltf 1.0 model that loads in ion is this one: The gltf 1.0 file that is stuck on 25% processing is this one: The gltf 1.0 files both load and render fine in this online viewer: I hope these help. |
Thanks @akolymparis! Having the files will definitely help us debug. We'll give you an update once we have a chance to look into this. |
I think I would rename this feature request into something like "support for gltf 2.0 models" to make it clearer. Looking forward for the gltf 2.0 support...keep up the good work! PS: CesiumJS supports gltf 2.0 since 1.36 (CesiumGS/cesium#5641) |
Thanks for the suggestion @tkazik! I did update the title to make this easier to track and for other users to find. While Cesium supports glTF 2.0, our glTF pipeline currently does not. We run all models through the glTF pipeline to optimize them for efficient streaming on the web. We have a 2.0 branch started, but haven't had a chance to finish it yet. We'll give you guys an update once we add this support. Thanks! |
glTF 2.0 is now supported in ion. |
Hello,
I am trying out Cesium ION and wanted to try a few models, but they all seem to fail. I was trying out this GLTF file:

https://drive.google.com/file/d/1i0W4O2UkM9vQze85UC2ZwLRtwht62OTP/view?usp=sharing
It opens fine in the built-in Windows viewer:
But when I upload it to Cesium ion, I get an error:
There is an unexpected error and we are unable to view your asset
The asset id in cesium is 4430, if you need, but the issue should be easy to reproduce
I'll post separate issues for the other problems
Thanks,
Fabien
The text was updated successfully, but these errors were encountered: