I suggest you ...

Display terrain (elevation, geometric height, DTM): mountains, etc.

Visualize 3D terrain instead of the sphere only.

Note: this involves preparing and hosting of a separate tileset which will represent the geometric height by the values of pixels (greyscale). Triangles in the WebGL Earth can be then adjusted by the relevant height (pixel value) loaded from the texture (tile) at given lat/lon position.

Possible datasets to use:
- GTOPO30: global digital elevation model (DEM) ~ 1km x 1km - http://eros.usgs.gov/#/Find_Data/Products_and_Data_Available/gtopo30_info
- SRTM3: Shuttle Radar Topography Mission ~ 90m x 90m - http://www2.jpl.nasa.gov/srtm/
- CGIAR: 90m
http://www.cgiar-csi.org/data/elevation/item/45-srtm-90m-digital-elevation-database-v41
http://developmentseed.org/blog/2010/may/04/srtm-data-amazons-cloud
- ASTER GDEM: Aster Global Digital Elevation Model ~ 30m x 30m -
http://asterweb.jpl.nasa.gov/gdem.asp

Rendering of such tiles can be done with GDAL / GDAL2Tiles / MapTiler / MapTiler Cluster. Ideally into spherical mercator tiles with 16bit grayscale PNG.

Such functionality is not going to be supported by every graphic card, because WebGL vertex shader needs to read a texture:

"The WebGL specification says that you can query WebGL to see how many vertex textures are supported - and the answer can legally be (and often is) zero...in which case you don't have vertex textures and you have to figure another way around the problem."

n = gl.getParameter(MAX_VERTEX_TEXTURE_IMAGE_UNITS);

Demo of similar terrain LoD streaming:
http://www.spidergl.org/example.php?id=8

74 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    AdminPetr Pridal (Admin, WebGL Earth) shared this idea  ·   ·  Admin →

    5 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base