How to tile Mars themis raster for Cesium

Hi Omar,

Thank you so much for getting back to me. We wish to utilize the Ion offering further down the road once we have a working prototype.

I have now projected the original raster to EPSG4326 and applied --profile mercator while tiling. Based on your suggestions, I now instantiate the Cesium.Viewer as follows:

var ellipsoid = new Cesium.Ellipsoid(3396190,3396190,3396190);

Cesium.Ellipsoid.WGS84 = ellipsoid;
var mapProjection = new Cesium.GeographicProjection(ellipsoid);

var globe = new Cesium.Globe(ellipsoid);
globe.showGroundAtmosphere = false; // necessary for tiles to show in non-earth ellipsoid
globe.depthTestAgainstTerrain = true;

var opts = {
    mapProjection: mapProjection,
    globe: globe,
    skyAtmosphere: false,
 
    imageryProvider: new Cesium.createTileMapServiceImageryProvider({
       url : 'http://localhost:8080/epsg4326',
       fileExtension : 'png',
       ellipsoid: ellipsoid
    }),
};

Cesium now recognizes the tiles, however, there are holes at the poles, which is not unexpected. Is there a way to extend the coverage further toward the poles? I also see a blue streak – likely at 0 longitude – that I am not too sure how to get rid of.
Any tips to resolve these issues would be fantastic and thank you so much again for your help.


Cheers,
Rakib