Tag Archives: Terrain

Custom Unity Terrain Material / Shaders

I love Unity – it’s one of those environments that’s actually a pleasure to program in, but its terrain system seems somewhat lacking behind its other features, requiring quite a lot of hacks and workarounds to get desired appearance and … Continue reading

Posted in Game Dev | Tagged , , | 3 Comments

Procedural Terrain Splatmapping

If you try searching for information on how to assign textures to Unity terrain through code (i.e. derive a “splatmap” of textures based on the terrain heightmap profile itself), you’ll probably end up being sent to this post on the … Continue reading

Posted in Game Dev, Spatial | Tagged , , , | 11 Comments

Importing DEM Terrain Heightmaps for Unity using GDAL

I know that some folks reading my blog are from the spatial/mapping community, and may have been disappointed that my posts of late have been more influenced by game development and Unity than by spatial data and Bing Maps. Well, … Continue reading

Posted in Game Dev, Spatial | Tagged , , , , | 7 Comments

Creating Hill Shaded Tile Overlays

The default Bing Maps road style uses a “hillshade” effect to give an impression of underlying terrain. It’s a relatively subtle, but surprisingly powerful technique to enhance the appearance of map layers, as demonstrated by comparing the following two tiles: … Continue reading

Posted in Bing Maps, Spatial | Tagged , , , , | 4 Comments

Examining 3D Terrain of Bing Maps Tiles with SQL Server 2008 and WPF (Part 3)

In the previous post in this series, I selected a Bing Maps tile and converted its quadkey to a POLYGON representing the geographic extent of that tile. I then used that POLYGON as the basis for a query of the … Continue reading

Posted in Bing Maps, SQL Server | Tagged , , , | 3 Comments

Examining 3D Terrain of Bing Maps Tiles with SQL Server 2008 and WPF (Part 2)

In the last post, I downloaded some elevation data from the GTOPO digital elevation model and loaded it into a SQL Server table. In this post, I’m now going to select a subset of that data in order to create … Continue reading

Posted in Bing Maps, SQL Server | Tagged , , , | Leave a comment

Examining 3D Terrain of Bing Maps Tiles with SQL Server 2008 and WPF (Part 1)

Following on from my last last post, I thought I’d continue to explore the topic of altitude (or elevation) and how it relates to Bing Maps. A map is, by definition, two-dimensional – it is an image that has been … Continue reading

Posted in Bing Maps, SQL Server | Tagged , , , | 1 Comment