Cesium: Animated gltf not displayed properly

Created on 18 Jan 2018  路  5Comments  路  Source: CesiumGS/cesium

Hi folks

I am having issues with an animated model that I exported from 3ds max to gltf/glb.
My hope was, that this fix would display the model correctly. But unfortunately, the latest master is still displaying the model incorrectly in Cesium. These two viewers display the model including animation correctly:

https://gltf-viewer.donmccurdy.com
http://sandbox.babylonjs.com

Also, the validator does not reveal any errors in the model.
Here is my glb file: A319_generic.zip

Can you confirm this bug? Thank you!

All 5 comments

Hi @tkazik, I should have a chance to look into this later today or tomorrow.

Hi @tkazik, in the future, please ask questions over at the Cesium Forum. There are members of the community and developers from the team who answer these kinds of questions there. Additionally, Cesium's a big project, so we use GitHub for feature requests and bug tracking exclusively. Thanks!

@tkazik had updated this thread but I think it slipped by me.

Short answer: the triangle winding order is backwards so front faces are culled. A quick fix is to set the doubleSided property of the material to true.

I updated the original thread with a more detailed answer.

Congratulations on closing the issue! I found these Cesium forum links in the comments above:

https://groups.google.com/forum/#!searchin/cesium-dev/5740%7Csort

If this issue affects any of these threads, please post a comment like the following:

> The issue at https://github.com/AnalyticalGraphicsInc/cesium/issues/6128 has just been closed and may resolve your issue. Look for the change in the next stable release of Cesium or get it now in the master branch on GitHub https://github.com/AnalyticalGraphicsInc/cesium.

__I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.__

:earth_africa: :earth_americas: :earth_asia:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nikakhov picture nikakhov  路  4Comments

OmarShehata picture OmarShehata  路  4Comments

mcenirm picture mcenirm  路  4Comments

hpinkos picture hpinkos  路  4Comments

worlddai picture worlddai  路  3Comments