I’ve been trying to make a demo of rendering Mars in CesiumJS, and I’d like to make it ellipsoid-accurate.
Here’s my current work:
(I based my work on Cesium Sandcastle )
Now, instead of using the 3396000m sphere as an ellipsoid as that example does, I tried to use the proper Mars ellipsoid as defined here ref Mars Geodetic parameters from MOLA
However, entering these values (see commented line #2) makes the globe not display.
Can anyone comment on what I’m doing wrong, or any other suggestions for “doing Mars right”?
I also intend to do a Moon example, as we’ve done a bit of Lunar vision navigation stuff in the past and I’d like to show how to do a Moon data visualization properly as well.