Tag Archives: 3D

Lighting Models and BRDF Maps

A Bi-directional Reflectance Distribution Function (BRDF) is a mathematical function that describes how light is reflected when it hits a surface. This largely corresponds to a lighting model in Unity-speak (although note that BDRFs are concerned only with reflected light, … Continue reading

Posted in Game Dev | Tagged , , , , | 2 Comments

Smooth Unity Camera Transitions with Animation Curves

I’m creating a game in which I want to transition between two camera views – a top-down, overhead camera that gives a zoomed-out world view, and an over-the-shoulder style forward-facing camera to give a close-up view. Let’s say for the … Continue reading

Posted in Game Dev | Tagged , , , | 2 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

In Defence of 3D Charts…

There was a time, not so long ago, when pretty much all business graphics looked like this:   The global hegemony of Microsoft Excel (particularly, Excel 97), deployed onto millions and millions of users’ desktop PCs meant that the world … Continue reading

Posted in General Development, SQL Server | Tagged , | 3 Comments

An Unlikely Replacement for the Bing Maps 3D Control

So at the end of this year, on December 1st 2011, the Bing Maps 3D control is being retired. This is rather a shame – I kinda liked being able to visualise geography data from SQL Server on a round … Continue reading

Posted in Bing Maps, Spatial | Tagged , , , | 2 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