-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Samples in the rome-gltf repository can not be displayed due to errors #6432
Comments
First reported in #6416 (comment) |
I see the same error. That glTF has 22 vertex attributes, but WebGL only supports 16. This is a limitation of WebGL not Cesium. See webglreport.com for how many vertex attributes WebGL supports for you (see Max Vertex Attributes under Vertex Shader on the right). According to webglstats.com, only a small percentage of hardware supports MAX_VERTEX_ATTRIBS > 16. |
I would guess that ThreeJS is just limiting the number, so it doesn't overflow. Not sure if that produces the correct results or not. |
@emackey perhaps worth an implementation note in the glTF spec? Could you start a discussion in that repo? I'm surprised and embarrassed that this hasn't come up before except in the more specific case of skins and morph targets. |
I tried some other libraries that supports other animations. The link is a link to the sample.
|
I tried to display the following model in Cesium.js.
https://github.com/mrdoob/rome-gltf/blob/master/files/models/life_soup/quadruped_fox.gltf
However, it was not displayed due to an error.
http://jsdo.it/cx20/6z4e
Is this due to the limitation of Cesium.js?
The text was updated successfully, but these errors were encountered: