#text-rendering #font-rendering #font #3d #mesh-generation #gamedev #three-d

three-d-text-builder

Glyph atlas based text rendering for the three-d crate

2 unstable releases

0.7.0 Feb 29, 2024
0.6.0 Jan 28, 2024

#128 in Rendering

26 downloads per month

MIT/Apache

63KB
1K SLoC

three-d-text-builder

Glyph atlas based text rendering for the three-d crate, using fontdue.

Important: This crate is not associated with the three-d project itself and the project will not provide any support.

Features

  • Fast and cheap text mesh generation for dynamic text elements
  • Efficient static text mesh generation for fixed text elements
  • Easy alignment of text to the viewport or 3D scene
  • API to build multiple text meshes at once and auto-merge them if possible
    • Supports individual font size, color, alignment and transform for each text mesh
    • Supports indididual color and transform for each text character in a mesh

See the examples for a demonstration of the supported features.

License

Licensed under either of

Dependencies

~9MB
~183K SLoC