Contour Line maps from Heightmap
in
Programming Questions
•
3 years ago
hey there, i am working on a little project atm and got a question about generating some contour line map out of a heightmap.
Creating a regular mesh, out of a heightmap, is pretty easy but i actually need a contour line map.
Something like this http://www.google.com/images?hl=de&q=contour line maps&um=1&ie=UTF-8&source=og&sa=N&tab=wi&biw=1704&bih=846
Any idea how to start here? or any existing algorithms/ways to achieve this effect out of a height map?
Thanks!
i probably should add that i need it 3d in the end. so the lines should be able to be drawn in 3d. pixelmanipulation of the heightmap or anything similar is probably not an option then.
Creating a regular mesh, out of a heightmap, is pretty easy but i actually need a contour line map.
Something like this http://www.google.com/images?hl=de&q=contour line maps&um=1&ie=UTF-8&source=og&sa=N&tab=wi&biw=1704&bih=846
Any idea how to start here? or any existing algorithms/ways to achieve this effect out of a height map?
Thanks!
i probably should add that i need it 3d in the end. so the lines should be able to be drawn in 3d. pixelmanipulation of the heightmap or anything similar is probably not an option then.
1