Posts

Showing posts from 2020

C++ Combining two 32 bit integers into 1 64 bit integer.

C++ Naming Conventions - Code Complete 2nd Edition

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

OpenGL Transform Feedback

Image