Thursday, May 17, 2007

Dynamic Relief Mapping

EarthBrowser 3.0 is starting to shape up nicely. I've created a normal map generator using a Sobel filter and SRTM data. Normal maps are just a texture respresenting compressed normal directions and they enable one to create the illusion of very detailed geometry with the help of hardware accelerated shaders.


Africa Relief


Asia Relief


Using the mosaic and raster classes that I described in my previous post, I generate a normal map in the gnomonic projection and put that together with the texture map and a wgs84 ellipsoid and it is starting to look pretty nice. The great thing about it is the shadows move where they should when the light source moves. Someday I'll make a youtube video to demonstrate that effect.

4 comments:

Bull_[UK] said...

Very neat stuff.

Anonymous said...

Yeah very nice graphic,looking forward to the final product of EB 3.0 :)

Anonymous said...

Hey Matt - can't wait for the testing! looks really nice. also nice to have a alternative map to google earth. great that you write this blog and keep us this way up to date about v3, by the way. greetings from germany - kai.

<a href="http://erniz.com">Hilbert</a> said...

Thanks to author for this article. Very interesting. Write more!