[C++] Height map visualization
From the input image(Gray scale or RGB), I created a 3D height map by using OpenGL and C++. The program serves mouse and keyboard interfaces and saving images by jpeg. There are three drawing mode: 1. drawing a model with GL_POINTS 2. drawing a model with GL_LINE_STRIP 3. drawing a model with GL_TRIANGLE_STRIP 1. used GL_LINE_STRIP and GL_TRIANGLE_STRIP to render wireframe and solid models. 2. m..