breuckelen / stb-truetype-opengl-examples

C++11 examples of rendering TrueType fonts in OpenGL 3+ using stb_truetype library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

A (hopefully) self-explanatory example demonstrating how to render TrueType fonts in OpenGL 3+ with the help of stb_truetype library. Written in C++11.

The essential part is contained in Example1.cpp and Example2.cpp files. Directories vendor and common hold platform-dependent code needed for the example to run and are not required for understanging how the stb_truetype works. The repository contains all dependencies needed to compile demos on Windows.

1 1

Dependencies

  • stb_truetype
  • SDL
  • GLEW

About

C++11 examples of rendering TrueType fonts in OpenGL 3+ using stb_truetype library


Languages

Language:C++ 99.5%Language:C 0.5%