This repository is dedicated to the study and practice of graphics programming using OpenGL. It is based on the tutorials available at LearnOpenGL.com, which provide a comprehensive approach to learning modern OpenGL, covering everything from basic concepts to advanced techniques.
- shaders/: Contains the shaders used in the examples.
- solutions/: Includes the implemented solutions for the proposed exercises.
- main.cpp: The main file that runs the examples and demonstrations.
To compile and run the examples in this repository, ensure the following libraries are installed on your system:
- GLFW: Library for window creation and OpenGL context management.
- GLAD: OpenGL function loader.
- GLM: Mathematics library for OpenGL.
- STB Image: Library for image loading.
To compile the project, follow the steps below:
-
Clone the repository:
git clone https://github.com/Gabryel-lima/LearnOpenGL.git
-
Create a build folder and navigate to it:
mkdir build cd build
-
Generate the build files using CMake:
cmake ..
-
Compile the project:
make
After successful compilation, you can run the program with:
./LearnOpenGL
- LearnOpenGL.com: Tutorials and resources used as the foundation for this project.
- OpenGL Documentation: Official reference for OpenGL functions.
This project is licensed under the MIT License. See the LICENSE
file for more details.
Contributions are welcome! Feel free to open an issue or submit a pull request for improvements and fixes.
For questions or suggestions, contact [[email protected]].