perf(text): share one SDF atlas across AiO room labels #1069

Closed
opened 2026-11-07 02:05:55 +00:00 by SakulFlee · 0 comments
Owner

AiO currently builds a separate SDF atlas for every room label. Each label rasterizes repeated glyphs and allocates/uploads its own 1024x1024 RGBA texture.

Build the union of all label characters once, then generate each label mesh and material against that shared atlas. This should reduce startup CPU work and texture memory substantially, and is a prerequisite for restoring Android labels without the startup block tracked in #1066.

Acceptance criteria:

  • One shared atlas covers all room labels.
  • Repeated glyphs are rasterized/SDF-generated once.
  • Label visual quality is unchanged at normal viewing distance.
  • Startup time is measured before/after.
AiO currently builds a separate SDF atlas for every room label. Each label rasterizes repeated glyphs and allocates/uploads its own 1024x1024 RGBA texture. Build the union of all label characters once, then generate each label mesh and material against that shared atlas. This should reduce startup CPU work and texture memory substantially, and is a prerequisite for restoring Android labels without the startup block tracked in #1066. Acceptance criteria: - One shared atlas covers all room labels. - Repeated glyphs are rasterized/SDF-generated once. - Label visual quality is unchanged at normal viewing distance. - Startup time is measured before/after.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SakulFlee/Orbital#1069
No description provided.