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.

5 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.

Hilbert said...

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

marko said...

Knowing before hand that your home loan is a speculation and that your bank is a financial specialist, in what capacity would it be a good idea for you to approach the home loan issue? As in a wide range of speculation, each levelheaded individual will approach the lodging advance matter with all reality. This infers you have to do various things in readiness for your home credit application in order to make the best of it. www.aaa1autotitleloans.com/chicago