CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
12.94k stars 3.49k forks source link

The new version of Cesium fails to load the pnts model. #11735

Closed whuxxie closed 9 months ago

whuxxie commented 10 months ago

What happened?

I have an older version of code, and the Cesium version is 1.51. The display of pnts 3dtiles works normally, but when I switch to the latest version of Cesium, the following error occurs. How can I resolve this? Has the 3dtiles format changed?

CesiumWidget.js:727 An error occurred while rendering. Rendering has stopped. TypeError: Cannot read properties of undefined (reading 'updateTransform') TypeError: Cannot read properties of undefined (reading 'updateTransform') at Cesium3DTileset.get (http://127.0.0.1:5500/CesiumUnminified/Cesium.js:123404:20) at updateZoomTarget (http://127.0.0.1:5500/CesiumUnminified/Cesium.js:250181:35) at Viewer._postRender (http://127.0.0.1:5500/CesiumUnminified/Cesium.js:250129:5) at Event.raiseEvent (http://127.0.0.1:5500/CesiumUnminified/Cesium.js:25800:22) at Scene4.render (http://127.0.0.1:5500/CesiumUnminified/Cesium.js:220123:24) at CesiumWidget.render (http://127.0.0.1:5500/CesiumUnminified/Cesium.js:221510:19) at render2 (http://127.0.0.1:5500/CesiumUnminified/Cesium.js:220933:20)

Reproduction steps

  1. load pnts model
  2. can't load
  3. ...

Sandcastle example

No response

Environment

Browser: CesiumJS Version: old 1.51 new 1.113 Operating System:windows 11

ggetz commented 10 months ago

Hi @whuxxie, there has been many significant changes since 1.51, including adding support for 3D Tiles 1.1 and refactoring existing 3D Tiles code.

We're going to need more info in order to determine the problem. Would you be able to provide the point cloud in question?

ggetz commented 9 months ago

I'm closing this issue due to inactivity. If you believe this is still an issue, please feel free to re-open. Thanks!

whuxxie commented 9 months ago

I'm closing this issue due to inactivity. If you believe this is still an issue, please feel free to re-open. Thanks!

thank you,i solve this problem.

LisaBiuBiu commented 9 months ago

May I ask how the landlord solved it? I also encountered the same problem