#text-rendering #font-rendering #font #3d #gamedev #text #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

#68 in Rendering

Download history 5/week @ 2024-02-17 131/week @ 2024-02-24 29/week @ 2024-03-02 17/week @ 2024-03-09 15/week @ 2024-03-16 4/week @ 2024-03-23 38/week @ 2024-03-30 51/week @ 2024-04-06

110 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

~8.5MB
~174K SLoC