Skip to content

PoobyMalom/TextRenderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TextRenderer

TextRenderer is a C++ project designed for rendering text glyphs using custom shaders. The project converts TrueType font glyph data into graphical representations, allowing for high-quality text rendering in applications and games.

Features

  • Glyph Rendering: Draws glyphs based on Bezier curve data extracted from TrueType fonts.
  • Shader Integration: Uses shaders for rendering text, offering flexibility and high performance.
  • Flexible Setup: Designed to work with both OpenGL and Vulkan APIs.
  • Customizable: Easily extendable for various text rendering needs and optimizations.

Project Structure

  • include/: Contains header files for font data processing and rendering.
  • src/: Contains source files for font data processing, rendering, and shader management.
  • fonts/: Includes sample TrueType font files used for glyph rendering.
  • main.cpp: Entry point for the application, sets up rendering and shader contexts.
  • makefile: Build configuration for compiling the project.

Setup

Prerequisites

  • C++ Compiler: Ensure you have a C++ compiler installed (e.g., GCC, Clang).
  • OpenGL/Vulkan: Depending on your choice, make sure the relevant libraries are installed.
  • GLSL Shader Compiler: For compiling shader code.

Building

  1. Clone the repository:
    git clone https://github.com/PoobyMalom/TextRenderer.git
    cd TextRenderer
    
  2. Build the project using the provided makefile
    make test
  3. Running the project using the binary file
    ./test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published