This repo will be used to learn OpenGL :)
If you use VSCode, you can just press Command+Shift+B, and thanks to the tasks.json
file, you should get the binary file (called openGL
).
There's also a Makefile now, so you can just make
and then run ./openGL
.
After compiling and executing openGL, you should be able to see this image:
Grabacion.de.pantalla.2023-06-04.a.la.s.05.58.41.mov
Grabacion.de.pantalla.2023-06-13.a.la.s.17.10.13.mov
You can move around with WASD, look around using the mouse, and go up and down using Shift and Space.
GLFW is used to create windows on different operative systems. It provides a simple API to create windows that can also receive user input.
GLAD is used to load the addresses of different OpenGL functions.
STB is used to load textures. It provides a simple API to be able to read image files in C++.
This is where I learn this stuff :)
- https://learnopengl.com/ (the book is great!)
- https://github.com/JoeyDeVries/LearnOpenGL (repo of the book)
- https://www.youtube.com/playlist?list=PLlrATfBNZ98foTJPJ_Ev03o2oq3-GGOS2 (amazing playlist <3)
- https://www.glfw.org/docs/3.3/quick_guide.html
- https://docs.gl/