10 October 2006

Terrain Contour Generation

On my monday back from camping I decided to jump back into things with a fairly random and mostly unnecessary project : generating contour lines for an arbitrary height map. I first clamp pixel values into ranges based on the number of grid lines I want. Then I do pixel by pixel edge detection that generates a GL_LINE_STRIP.



0 Comments:

Post a Comment

<< Home