Skip to content

VectorFontStorm - C++ vector font rendering library for OpenGL 3D text rendering, by VoxelStorm

License

Notifications You must be signed in to change notification settings

VoxelStorm-Ltd/vectorfontstorm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 

Repository files navigation

VectorFontStorm

C++ vector font rendering library for OpenGL 3D text drawing, by VoxelStorm.

This library was developed for the 3D text prominently used in sphereFACE.

It produces optimal triangulated 3D polygon models of text from arbitrary fonts, using delaunay triangulation in 2D, and extrusion in 3D.

This is a legacy project that is not currently maintained, having been split out from a larger game codebase, but is provided in the hope it will be useful to someone. The code has not been reviewed for many years and is not of the best quality. Pull requests welcome.

Dependencies

  • Freetype2
  • OpenGL
  • GLFW (probably not actually required - just the includes need to be cleaned up)
  • GLEW (probably not actually required - just the includes need to be cleaned up)
  • poly2tri (included) - 2D constrained Delaunay triangulation library
  • timestorm - for diagnostics only, should be made optional

Usage

Full documentation TODO.

Example results

The following screenshots from sphereFACE demonstrate the output.

image image

About

VectorFontStorm - C++ vector font rendering library for OpenGL 3D text rendering, by VoxelStorm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published