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.74k stars 3.45k forks source link

Is Earth rendered using an orthographic sphere? #10192

Closed Phlicess closed 2 years ago

Phlicess commented 2 years ago

I have a data based on an orthographic projection,when rendering to Cesium, it is found to be offset to the north and south poles。My data's radius is 6378137m orthographic projection。 So,what is my mistake?

(`ヘ´)=3

Phlicess commented 2 years ago

My data format is 3DTiles,My question is whether the 3dtile data points will be converted to positive sphere coordinates and then rendered to the earth? Or the rendering coordinate system of the sphere is originally EPSG4979 ellipsoid ?

lilleyse commented 2 years ago

@Phlicess By default CesiumJS uses an Earth-centered, Earth-fixed cartesian coordinate system (EPSG:4978) and most 3D Tiles use this same coordinate system. If the data is in an orthographic projection it may not display correctly.

ggetz commented 2 years ago

Closing as the question appears to be answered. If there are anymore questions, please ask on the Cesium Forum where there are members of the community and developers from the team who can help. Thanks!