Header-Only-GL-Helpers

February 28, 2021 ยท View on GitHub

A collection of header files that can ease OpenGL programming.

FilenameLanguageNeeds OpenGLDescription
teapot.hC/C++YesThe basic file that is used in all the demos. It can display the teapot mesh and a lot of other meshes
dynamic_resolution.hC/C++YesImplements dynamic resolution and the first shadow mapping pass
im_matrix_stack.hC/C++NoImplements a matrix stack and some other helper methods
sdf.hC++YesSigned distance fonts to display text on screen
minimath.hC/C++NoJust a collection of all the math of the other files (no example available)
character.h (WIP)C/C++RecommendedAnimated character implementation

Demos

The following demos are available: test_teapot.c, test_shadows.c, test_matrix_stack.c, test_character_standalone.c, test_character.c and test_sdf.cpp. Command-lines to compile them on Linux, Windows and Emscripten are present at the top of the files.

Dependencies (demos only)

  • glut (or freeglut)
  • glew (Windows only)

Screenshots

Click on images for WebGL demos