hight definition tiles

Dear all,
I am working with cesiumjs with tiles including instagram pictures.
I was wondering if we could display hgith definition tiles to remove distortion and low quality of rendering when we are zoom in or zoom out ?
For instance, we could have tiles with a size of 512*512 but cesiumjs could display them in 256*256 so when cesiumjs process the rendering, the 3d computation is still much more presice and the quality of the picture on the screen would not be blur.
Because for now, we are clearly see some bluring effect not looking nice on the screen.
Thank you for your help !
Best,
Antoine

Hi Antoine,

Try setting scene.globe.maximumScreenSpaceError to a smaller number like 1 or 1.5 (it defaults to 2).

Kevin

Thank you so much Kevin,
Yeah the quality is much better,
Last question, we were using leatletjs before, and we had a custom function to get tiles L.getTileUrl as our tiles are organized differently from the traditionnal url like /z/x/y

Which function in cesiumjs should we fork to be able to query our special url ?

Thank you so much for your help !

Antoine

Thank you so much Kevin,
Yeah the quality is much better,
Last question, we were using leatletjs before, and we had a custom function to get tiles L.getTileUrl as our tiles are organized differently from the traditionnal url like /z/x/y

Which function in cesiumjs should we fork to be able to query our special url ?

Thank you so much for your help !

Antoine

Hi,

You’ll need to write a custom ImageryProvider. You can use any of the existing ones as an example, such as:

https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/OpenStreetMapImageryProvider.js

Kevin