A simple OpenGL project built to understand and practice computer graphics.
This project is a Visual Studio solution demonstrating fundamental OpenGL concepts, including:
- Setting up a rendering window using GLFW
- Creating and managing vertex buffers
- Working with index buffers for efficient rendering
- Implementing shader programs
- Handling vertex attributes
- Creating vertex arrays
- Using uniforms to pass data from CPU to GPU
- Visual Studio (2019 or newer recommended)
- OpenGL libraries:
- GLEW
- GLFW
- Clone this repository
- Open the solution in Visual Studio
- Build and run the project
The project includes several custom classes to abstract OpenGL functionality:
Renderer- Handles drawing operationsVertexBuffer- Manages vertex data in GPU memoryIndexBuffer- Manages indices for efficient geometry renderingVertexArray- Organizes vertex attribute configurationsShader- Loads, compiles, and manages shader programs
This project is intended for educational purposes to learn graphics programming concepts with OpenGL. It demonstrates the OpenGL rendering pipeline, shader programming, and basic computer graphics principles.
- The code includes helpful comments explaining key OpenGL concepts
- The project uses modern OpenGL (Core Profile) rather than legacy OpenGL