728x90
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
<Feature>
1. used GL_LINE_STRIP and GL_TRIANGLE_STRIP to render wireframe and solid models.
2. modified the program to be able to create a colored height map from the color image.
GitHub
https://github.com/changkiLee/C-Project/tree/master/HeightMap
728x90
'Portfolio > 2017' 카테고리의 다른 글
[C++] Roller coaster simulation (0) | 2022.06.22 |
---|---|
[C++] Ray tracing + Super sampling (0) | 2022.06.22 |
Manipulating spatial data with google earth(*.kml) (0) | 2022.06.22 |