View Full Version : WebGL globe

11-17-2013, 02:38 PM
It'd be cool if the site included a WebGL globe like Cesium (http://cesium.agi.com/) that could be used to display images from posts or galleries. Getting Cesium to display a single image in normal equidistant cylindrical projection is relatively simple. You just give it the URL, and optionally an extent (if it doesn't cover the full globe).

It does have a problem if the image is larger than the largest texture your OpenGL implementation supports. This can be resolved by providing a tiled image service like WMS or TMS, which would also be cool for providing a way to do 'zoomable' maps (via OpenLayers (http://ol3js.org/) or Leaflet (http://leafletjs.com/)). It's rather more complicated though as it would require something server side like GeoServer (http://geoserver.org/) or GDAL2Tiles (http://www.gdal.org/gdal2tiles.html) to provide the tiles.