For this project, I created a program that utilizes OpenGL's core profile to generate and manipulate a 3D height field from user-specified image data. The grayscale values of the image are interpreted as elevation, rendering the height field as a visually stunning terrain. I also implemented advanced transformation controls, smooth shading, and interactive rendering modes to enhance user experience.
If you'd like to explore the source code for this project, you can find it on my GitHub repository: https://github.com/pranavsrathod/Height-Fields/.
This project was an opportunity to explore shader programming and 3D graphics using OpenGL. The application reads grayscale image data to construct a height field, where pixel intensity determines the elevation. I integrated several features to make the application versatile and interactive, including:
Overall, the project highlights the power of OpenGL for real-time 3D rendering and user interaction.
Special thanks to the following resources: