Sunday, July 13, 2008

Terrain test

Today I found some time to test loading a heightmap, which I generated from a 10m DEM file, into XNA just to see how easily I could do it, and how good it would look.
The result was pretty good. Some information before you watch it:

  • The colors are simply based on the height of each vertex, just to have some color. They are not related to anything else from the real world.
  • The app runs at 60 fps without even sweating, but the video below is running at 30 fps due to compression
  • The depressions that look like wholes on the opposite side of the mountains are either DEM noise or lakes, I have not investigated it yet
Can you tell where on earth this is? :)

Here's the original heightmap: