Jump to content
  • Advertisement


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


height maps

This topic is 7021 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.


Skullpture Entertainment

Share this post

Link to post
Share on other sites
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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!