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

Solar System Sandcastle Example #6419

Open hanbollar opened 6 years ago

hanbollar commented 6 years ago

I just noticed that all the planets are actually present in cesium along with the moon - it would be an awesome demo if while viewing earth the other planets were highlighted / labeled and if you clicked on them you "zoomed" to them by either manual movement or switching out earth with the sizing/shape/ellipsoid of whatever planet was clicked or at least showed the label of which planet is which - since currently there's nothing highlighting this feature

hpinkos commented 6 years ago

@hanbollar Cesium can currently only have one central body/globe. We do model the moon and sun positions and have a textured ellipsoid for the moon, but I don't think we currently model the other planets. And non-earth ellipsoid support is a little unpredictable right now.

cmarmo commented 6 years ago

Hi, thanks to a European funding (EuroplanetH2020), a generic Solar System bodies implementation in Cesium has been drafted. The code is not in shape for a pull request and future funding is uncertain, but it is available on github and a demo is available here. Feel free to use it or add it in the demo page.

hpinkos commented 6 years ago

Thanks or sharing @cmarmo! Yeah, this looks like a great project to share on our Demos page. @slchow what do you think?

slchow commented 6 years ago

Yes, let's showcase! I'm in touch with @cmarmo