virtualglobebook / OpenGlobe

A 3D engine for virtual globes (think Google Earth or NASA World Wind) designed to illustrate the engine design and rendering techniques described in our book. OpenGlobe is written in C# and uses OpenGL 3.3 core profile (via OpenTK). See the web site linked below for more information
http://www.virtualglobebook.com
Other
352 stars 114 forks source link

how to start up Chapter13ClipmapTerrainOnGlobe #7

Closed gy1016 closed 2 years ago

gy1016 commented 2 years ago

Hello, pjcozzi and kring! When I was learning 3D Engine Design for Virtual Globes (this is a good book), I found that the url resources used in this example no longer exist. What should I change the url to make it run? I want to see the effect. Thank you very much for your answer!

kring commented 2 years ago

Hi @gy1016, glad to hear you're enjoying the book!

It looks like the NASA tile service URL we were using is no longer valid. I think you should be able to replace the original URL in WorldWindTerrainSource.cs with https://worldwind26.arc.nasa.gov/elev?service=WMS&request=GetMap&version=1.3&crs=EPSG:4326&layers=NASA_SRTM30_900m_Tiled,aster_v2,USGS-NED&styles=&format=application/bil16&bgColor=-9999.0&width=150&height=150.

I haven't tried it though, so please let me know if that works!

gy1016 commented 2 years ago

Thank you very @kring , the reader also needs to replace the Url address of EsriRestImagery, now it works normally, thanks again!