celestiary / web

Astronomical simulator of solar system and local stars
https://celestiary.github.io/
42 stars 2 forks source link

Terrain/Geodesy #10

Open pablo-mayrgundter opened 3 years ago

pablo-mayrgundter commented 3 years ago

With #9 as a datasource, try doing some light procedural generation of terrains for higher LOD.

pablo-mayrgundter commented 3 years ago

Investigate Unified Planetary Coordinates https://ode.rsl.wustl.edu/Mars/pagehelp/quickstartguide/index.html?coordinate_system.htm

Earth

WGS 84/Cesium?

NASA's WorldWind! All got ported to JS :) It explicitly mentions multi-planet considerations, supports WGS84, does cartesian conversions and integrates with their tile system, which maybe I can also use <3

https://github.com/NASAWorldWind/WebWorldWind/blob/develop/src/globe/Globe.js

Mars

https://en.wikipedia.org/wiki/Gravity_of_Mars#Areoid Mars: https://pgda.gsfc.nasa.gov/products/57 https://community.cesium.com/t/how-to-tile-mars-themis-raster-for-cesium/10356 https://cesium.com/blog/2017/10/31/maven-orbiting-mars/ https://www.google.com/search?q=site%3Acesium.com+mars&oq=site%3Acesium.com+mars

Others

https://en.wikipedia.org/wiki/Geoid#Other_celestial_bodies

pablo-mayrgundter commented 3 years ago

Found an Areoid.. not sure if it's the best: https://ode.rsl.wustl.edu/Mars/pagehelp/quickstartguide/index.html?coordinate_system.htm this Orbital Data Explorer system it's hosted on is pretty amazing.. data from dozens of missions for all the inner planets, consolidated and (mostly?) placed into a consistent coordinate systemb I pinged Henry.. thanks! Oh, one more.. https://community.cesium.com/t/how-to-tile-mars-themis-raster-for-cesium/10356 Looks like someone figured out the right projections to use for Cesium (open-source google earth) to load Mars rasters.

pablo-mayrgundter commented 3 years ago

http://www.iausofa.org/ https://github.com/mgreter/sofa.js https://en.wikipedia.org/wiki/Celestial_coordinate_system

From bluecatoutside on MOG: https://astro.arcgis.com/arcgis/rest/services/OnMars/MColorDEM/MapServer?f=json has this: "spatialReference": { "wkid": 104971, "latestWkid": 104971, "wkt": "GEOGCS["GCS_Mars_2000_Sphere",DATUM["D_Mars_2000_Sphere",SPHEROID["Mars_2000_Sphere_IAU_IAG",3396190.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]" },

https://www.arcgis.com/home/webmap/viewer.html?useExisting=1&layers=07b33bb3067747abbebd1ce34c29816e

pablo-mayrgundter commented 3 years ago

Found the transform for the MOLA tif to tiles for geoserver by searching for [geoserver mars]:

https://sourceforge.net/p/geoserver/mailman/message/35558311/

tif source:

https://astrogeology.usgs.gov/search/map/Mars/Topography/HRSC_MOLA_Blend/Mars_HRSC_MOLA_BlendDEM_Global_200mp_v2

pablo-mayrgundter commented 3 years ago

GeoTIFF -> Tile Optimized Meshes/Triangulated Irregular Network (TIN) https://github.com/heremaps/tin-terrain, with examples of loading in three.js.