Skip to content

Text rendering #38

@wpumacay

Description

@wpumacay

Description

This keeps track of the rendering text of any font in the 3d scene. There are two approaches we could follow. The first is drawing like bitmaps (we would require a special font file with the related texture atlas). The second approach makes use of FreeType and a more kind of modern approach. The one implemented in MuJoCo is the first one, so for the first implementation, we could use their font texture atlases.

Tasks

  • Classic font rendering approach implementation (C++)
  • Example of usage (C++)
  • Modern font rendering approach (using FreeType) (C++)
  • Example of usage (C++)
  • Python bindings
  • Example of usage (Python)
  • Documentation (API auto-generated using Sphinx and Breathe)
  • Documentation (.rst custom made for a detailed description)

Notes

  • Could use stb_font as an initial option
  • Should favor the usage of FreeType

Metadata

Metadata

Assignees

Labels

component: assetsRelated to assets management (e.g. Textures, Shaders, Models, etc.)component: bindingsRelated to Python Bindings generationcomponent: engine objectsRelated to objects from the engine itself (e.g. Cameras, Lights, Meshes, etc.)component: rendering pipelineRelated to the parts of the rendering pipeline (e.g. culling, shadows, lighting, etc.)component: shadersRelated to creating/updating/refactoring glsl shaders from the enginetype: docstype: feature

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions