Skip to content

syanenko/HelloBricks

Repository files navigation

Hello Bricks

What

Text rendering with OpenGL

Who

Sergey Yanenko

Why

Homework for "Bricks" project

When

01/2021

How

This way: Easy Scalable Text Rendering on the GPU (but without quadratic smooth and anti-aliasing yet), with a help of FreeType.

Running from pre-built binaries

  1. Clone this repository

  2. Run:

.\RUN_ME.bat
  1. Usage:
HelloBricks [-h][-t <text>[-f [<font>]] 
-h: Show this help
-t: Text to render
-f: Font to use ('fonts/times.ttf' by default)

Compiling from sources

  1. Open HelloBricks.sln from MS Visual Studio 2017 or later
  2. Build solution
  3. Run: Ctrl+F5

Control

Keys Actions
+/- Zooms in/out
Arrows Pan
Enter Set default views
Esc Exit

Contact me at LinkedIn.

Releases

No releases published

Packages

No packages published

Languages