Even though newer API like Vulkan exist, it is almost impossible to understand without learning the fundamentals of graphics with OpenGL first
The Red Book is a great guide to learning OpenGL. Unfortunately many tutorials/guides in this book are written >10 year ago and are either obtuse, dont compile, or wrapped in a macro spaghetti using the authors framework called Vermillion.
This repository attempts to simplify the old code so that it can be followed by newer readers.
This version of the code:
- Fix examples in the code to match the book
- Uses modern C++ where possible to improve readability
- Tries to reduce the use of Macros
- Cmake and GLFW 3.4
- Uses GLAD with 4.6 CORE + ARB extensions
- Uses newer OpenGL concepts such as Direct State Access
mkdir build && cd build
cmake ..
cmake --build .
Original code for the OpenGL Programming Guide, 9th Edition The Official Guide to Learning Opengl 4.5 with SPIR-V (Red Book) who's can be found here





























