2 unstable releases
0.7.0 | Feb 29, 2024 |
---|---|
0.6.0 | Jan 28, 2024 |
#128 in Rendering
26 downloads per month
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
Dependencies
~9MB
~183K SLoC