-
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
3D Model stopped rendering after upgrading to v1.75 #9270
Comments
I think there's a bug in the glTF model itself that is being exposed by the change in #9173. This is one of the attribute accessors from the source .glb {
"bufferView":7,
"componentType":5125,
"count":2145,
"type":"SCALAR",
"min":[4],
"max":[4]
} which isn't isn't valid according to the glTF spec:
The glTF validator doesn't seem to catch this and I may need to open a bug report. One workaround is for the user is to delete the The reason this breaks now is that #9173 allowed unused attributes to be added to the vertex array because an unused attribute at time of vertex array creation might be used when a material is applied. But now a faulty attribute is slipping through and failing on the |
Are there any glTF extensions in use here? If not please file an issue, thanks! |
@emackey no extensions. Just opened the issue: KhronosGroup/glTF-Validator#154 |
Awesome thanks! |
From my perspective, this is an invalid glTF file, not a bug in Cesium. It should be corrected in the model itself. |
Agreed. @dzungpng could you pass this information along to the person that reported the issue? |
Sandcastle example: link.
Browser: Chrome
Operating System: Windows 10
What the model supposed to look like:
What it looks like with v1.75:
The breaking commit is #9173 (@lilleyse).
This is a .glb model.
The text was updated successfully, but these errors were encountered: