Jump to content
  • Advertisement
Sign in to follow this  

Create contour map

This topic is 4686 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

hello all , i've implemented the marching squares algorithm in order to produce a single contour line from a heightmap (in a form of a CSV file containing height grid). what i want to do is create a contour map (topographic map) this brought up two problems: 1. When i produce several contour lines (with a constant height difference) the lines might intersect. how can i solve this problem? 2. I want to fill the contours with color. (and i don't really know where i start looking in order to do that) 3. I must add , the reason i'm doing it myself is that i couldn't find any decent implementation with source code for this task , if anybody knows where i can find one i would appreciate it. thanks in advance , yoserian

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • 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!