Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

LeeIsMe

height maps

This topic is 6938 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Simply change them to monochrom with a tool like Paintshop Pro, then you've got your map.

Every color value from (0,0,0) to (255,255,255) is one height, so you have got the 2d-positions and the height and then simply render.

CU

------------------
Skullpture Entertainment
#40842461

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
That doesn't work at all for aerial photos. Now, the algorithm I'd use if I had to do something like that would be something like this:
It helps if you know where and how high the sun is. You'll need to find out where there are shadows (I don't know how) and then find the objects creating the shadows somehow, meanwhile working back the Lamberth formula for lighting and hoping that it works somewhat. Of course, even this way you'll only get relative heights. In other words, if you can get something with real height data, get it :P

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!