Posts

Showing posts from April, 2020

C++ Game Project - 1 - Rendering Fonts

Image
Figured out how to render fonts using FreeType and OpenGL.

Learning Points:
Orthographic projections and the device coordinate system.Font metrics and FreeType library.Resource Pools and Factory designs.GLM library.
References:
https://www.freetype.org/freetype2/docs/tutorial/step2.htmlhttps://open.gl/https://learnopengl.com/In-Practice/Text-Rendering