question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bear glTF 2.0 model is not displayed in Cesium.js v1.40 or later

See original GitHub issue

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: image

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)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
emackeycommented, Apr 8, 2018

@cx20 There was a change there, add shouldAnimate: true to the Cesium.Viewer constructor options. The default behavior starts in pause now.

1reaction
emackeycommented, Apr 9, 2018

@pjcozzi The related PR #6422 didn’t get merged yet. @lilleyse is it being held up by the lack of a test model?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Animated gltf not showing up - CesiumJS - Cesium Community
I have a gltf aircraft model that includes a simple animation (gear up/down). It is displayed nicely in the following two online viewers:....
Read more >
Interoperable Simulation and Gaming Sprint Engineering Report
This document is not an OGC Standard. This document is an OGC Public Engineering Report created as a deliverable in an OGC Interoperability ......
Read more >
On the Use of Adaptive Sketch Textures in a 3D Model of a ...
Objectives of work. Scope/Previous Results: Schematic 3D-Models of a townscape bridge the gap between abstract and “realistic” repre-.
Read more >
wow shadowlands private server - Benjamin Finzel
This tutorial contains the source code for the video above. ... Drag-and-drop preview for glTF 2.0 models in WebGL using three.js.
Read more >
plugins.xml
In QGIS3 there is better support for SVG 0.9.0 True 2.0.0 2.99.0 ... In addition, you can save the 3D model in glTF...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found