Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 1.46 KB

readme.md

File metadata and controls

42 lines (23 loc) · 1.46 KB

OpenGL

This repo will be used to learn OpenGL :)

How to compile

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.

Libraries used

GLFW

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

GLAD is used to load the addresses of different OpenGL functions.

STB Image

STB is used to load textures. It provides a simple API to be able to read image files in C++.

Useful Links

This is where I learn this stuff :)