National parks of New Zealand in 3D
felixpalmer.github.io
felixpalmer.github.io
Sounds like a driving hell. Clarkson would be beside himself.
Edit: take a look:
https://www.google.com/search?q=driving+around+new+zealand&t...
Note most people driving in NZ at around speed limit. Going faster feels unsafe. Roads are pretty twisty and mountainous. Driving 2hrs in NZ is not same as 2hrs on highway with cruise control on.
I take that's not normal, is it?
For anyone who is having issues, I made a quick video here: https://twitter.com/pheeelicks/status/1334101837625090050
possibly a good idea to highlight there is an issue on windows on the web page, my instant reaction was "whoa, that's horrible, why are people liking this?"
Firefox 85 on Windows
- Procedural GL (https://github.com/felixpalmer/procedural-gl-js) is a JavaScript library for rendering 3D terrains. It is built on top of THREE.js but you don't need to know anything about 3D to use it - a high-level API is provided. The software is open source, but of course you need to supply it with source data, for it to be useful. In particular you need elevation data to give you the shape of the terrain, and aerial imagery to give the color on the terrain.
- NASADEM is an elevation dataset published by NASA and integrated into this library via the https://www.nasadem.xyz/ service. You don't need to understand how this works, all you need is an API key. A free tier is available.
- LINZ is a (incredible and free) basemap provided by the New Zealand government: https://basemaps.linz.govt.nz/. Integrating with Procedural GL was just a matter of configuing the URL for the tiles and adding an API key. Note it is New Zealand only, by default Procedural GL uses www.maptiler.com/ (again a free tier is available)
As for what one would need to do make this for another part of the world:
1) Fork https://github.com/felixpalmer/new-zealand-3d 2) Update the locations of interest in https://github.com/felixpalmer/new-zealand-3d/blob/main/park... 3) Optionally change the imagery datasource (Maptiler, Mapbox etc) [don't forget attribution] 4) Profit
Not sure why that went away, but it was pretty cool, and I enjoyed exploring a number of places with the feature before it went away.
Expected and observed behavior: the viewport switches to 3D-mode, with the view centered on the location and direction being observed in Street View.
Other than that, beautiful.
See also Bergwelten.com, for Austria in particular. They have hikes with a 3D view.
I assume this project is more about showing off the underlying open source project.