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.75k stars 3.46k forks source link

tileset.root.transform #11381

Closed guoshengqin2023 closed 1 year ago

guoshengqin2023 commented 1 year ago

Hello, what is the difference between tileset.root.transform and tileset.modelMatrix? When I was adjusting the position of 3dtiles data, I found that a portion of 3dtiles data (converted from OSGB) can be modified by modifying the tileset. modelMatrix, while other 3dtiles data (converted from OBJ) must be modified by modifying the tileset. root. transform to adjust the position. I want to know what is the difference between tileset. root. transform and tileset. modelMatrix? Under what circumstances are they used separately? Is this a bug? This has been bothering me for a while, thank you

IKangXu commented 1 year ago

This is not a bug, take a look at the tileset structure and understand the role of each of them.

ggetz commented 1 year ago

CesiumJS is a big project, so we use GitHub for feature requests and bug tracking exclusively. In the future, please take any questions to the Cesium Forum where there are members of the community and developers from the team who can help.

For example there is some discussion on this topic in this thread.

Thanks!