Home

Awesome

Header-Only-GL-Helpers

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)

Screenshots

Click on images for WebGL demos

<a href="https://flix01.github.io/emscripten/Header-Only-GL-Helpers/test_shadows.html" target="_blank"><img src="./Screenshots/test_shadows.jpg"></a> <a href="https://flix01.github.io/emscripten/Header-Only-GL-Helpers/test_shadows.html" target="_blank"><img src="./Screenshots/test_shadows_dr.jpg"></a> <a href="https://flix01.github.io/emscripten/Header-Only-GL-Helpers/test_character.html" target="_blank"><img src="./Screenshots/test_character_standalone.jpg"></a> <a href="https://flix01.github.io/emscripten/Header-Only-GL-Helpers/test_sdf.html" target="_blank"><img src="./Screenshots/test_sdf.gif"></a>