cesium: Bear glTF 2.0 model is not displayed in Cesium.js v1.40 or later
I tried to display the bear glTF model that was in sketchfab with the latest version of Cesium.js. https://sketchfab.com/models/f2f13a8630004b1c82730d8b9ffa0e1f
However, in Cesium.js v1.40 and later, an error is displayed and it seems that it is not displayed correctly.
Cesium.js v1.39 + Bear glTF model result:
Cesium.js v1.44 + Bear glTF model result:
Cesium.js:532
An error occurred while rendering. Rendering has stopped.
undefined
TypeError: i.clampTime is not a function
TypeError: i.clampTime is not a function
at Array.<anonymous> (https://cdn.rawgit.com/cx20/gltf-test/279cba56/libs/cesium/1.44/Cesium.js:497:22244)
at h (https://cdn.rawgit.com/cx20/gltf-test/279cba56/libs/cesium/1.44/Cesium.js:496:19348)
at c.update (https://cdn.rawgit.com/cx20/gltf-test/279cba56/libs/cesium/1.44/Cesium.js:496:21384)
at Ae.update (https://cdn.rawgit.com/cx20/gltf-test/279cba56/libs/cesium/1.44/Cesium.js:498:20408)
at a.update (https://cdn.rawgit.com/cx20/gltf-test/279cba56/libs/cesium/1.44/Cesium.js:492:8011)
at tt (https://cdn.rawgit.com/cx20/gltf-test/279cba56/libs/cesium/1.44/Cesium.js:525:21935)
at Ke (https://cdn.rawgit.com/cx20/gltf-test/279cba56/libs/cesium/1.44/Cesium.js:525:19739)
at Qe (https://cdn.rawgit.com/cx20/gltf-test/279cba56/libs/cesium/1.44/Cesium.js:525:17745)
at lt (https://cdn.rawgit.com/cx20/gltf-test/279cba56/libs/cesium/1.44/Cesium.js:525:25765)
at ut (https://cdn.rawgit.com/cx20/gltf-test/279cba56/libs/cesium/1.44/Cesium.js:525:25933)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (15 by maintainers)
@cx20 There was a change there, add
shouldAnimate: true
to theCesium.Viewer
constructor options. The default behavior starts in pause now.@pjcozzi The related PR #6422 didn’t get merged yet. @lilleyse is it being held up by the lack of a test model?
I opened a fix in #6422