# openglredbook/examples

Examples for the OpenGL Red Book

Repository: https://github.com/openglredbook/examples
Canonical: https://ross.abutalabs.com/products/openglredbook-examples
Language: C
License Family: other
Last push: 2023-11-05T13:49:49+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3702, "days_push": 1032, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1264, forks 514 (observed 2026-08-28T04:04:10.511572+00:00)

## What it is
The official example code repository for the OpenGL Programming Guide (Red Book), 9th Edition, containing a large collection of C/C++ sample programs demonstrating OpenGL 4.5 techniques. It is built with CMake and produces runnable executables for learning modern OpenGL.

## Use cases
- learn OpenGL 4.5 with runnable examples
- study shader programming samples from the Red Book
- reference code for graphics programming in C
- set up a CMake-based OpenGL sample project
- explore rendering techniques like textures, buffers, and transform feedback

## When to choose
- you are reading or studying the OpenGL Red Book 9th Edition
- you want hands-on, compilable examples of modern OpenGL APIs
- you need reference implementations of OpenGL 4.5 features

## When to avoid
- your hardware or drivers only support OpenGL below 4.5
- you need a production-ready graphics engine or library
- you want a tutorial with extensive error handling or documentation beyond the book

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: graphics, simulation, developer-tools
- domain: graphics, tutorials, cross-platform
- platform: windows, cpp, c
- tags: opengl, red-book, example-code, cmake, shaders, computer-graphics, game-development, linux, macos

## Member repositories
- openglredbook/examples (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:10.511572+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:04:04.144219+00:00, confidence not recorded.
  - readme: https://github.com/openglredbook/examples (fetched 2026-08-28T04:04:10.511572+00:00, sha 3f772597f9f5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
