perf(all-in-one): lower room label font and atlas resolution #1100
No reviewers
Labels
No labels
Context: Bug
Context: Enhancements
Platform: Android
Platform: Linux
Platform: Web
Platform: Windows
Platform: iOS
Platform: macOS
Release
Target: CI
Target: CLI
Target: Dependency
Target: Engine
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
SakulFlee/Orbital!1100
Loading…
Reference in a new issue
No description provided.
Delete branch "sakulflee/aio-label-resolution"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The AiO room labels rendered at 128 px into a private 1024x1024 atlas per label. They are read from the hallway, 6-20 m away, so most of that detail is wasted.
TextConfigandTextcan now select the square SDF atlas edge length; the billboard builder no longer hard-codes 1024x1024.world_scaledoubled from 0.00225 to 0.0045 to preserve the on-screen size.Measurements
Release build, all eight AiO labels, including the spawn and first-frame rebuild passes:
The 96 px variant was only marginally crisper on the nearest sign. At normal room distance the 64 px labels remain readable, so 64 px is the better trade.
Verification
cargo fmt --all -- --checkcargo clippy -- -D warningscargo test --no-fail-fasttemplate_all_in_oneand compared the 128/1024 and 64/512 labels from the default hallway camera.Closes #1071.
Smart test results
Result: PASS
Scope: orbital_billboard, orbital_text
Reason: directly changed crates
Elapsed: 3m 18s
Workflow run
Overall: 29 tests, 28 passed, 0 failed, 1 skipped
Nextest: 28 tests, 28 passed, 0 failed, 0 skipped
Doctests: 1 tests, 0 passed, 0 failed, 1 skipped
Outcome charts are split between nextest and doctests. The timing chart covers nextest only.
2571a5c142107b7e6c9a435a915aaa107b7e6c9aCloses #1017