Scale Bar¶
A scene view shows a scale bar in the scene's units, measured at the orbit target in 3-D and exact in 2-D.
| Field | Value |
|---|---|
| ID | REN-44 |
| Status | Built |
| Scope | Core |
| Pillar | Rendering and 3-D |
| Sprint | 4 |
| Depends On | Scene View (REN-12) |
| Unblocks | None |
| Docs | None |
| Branches | sprint4-integ3sprint4-pr2 |
| Design | None |
Coverage Ledger¶
- Branch
sprint4-ts9, 176 commits, 1 not in sprint4-integ3: 92a70847. Step 9 and the scale bar; its one unique commit is an early WIP interface later completed on integ3. - Branch
sprint4-integ3, e5055199, b6a5eac5, 9d3a0af3. The scale bar: the rule in the scene core (longest of 1, 2 and 5 times a power of ten within a fifth of the picture), drawn in the app and published by the WebAssembly module. - Branch
sprint4-ts9, 92a70847. Scale bar interface header in the scene core, an early WIP superseded by e5055199 on integ3. - design/instrument-interface.md, under Legends and Scale Bars. The option legend joins six panel kinds, and the scale bar joins image and points panels.
design/scenes.mdon the branchsprint4, under The scale bar. A scale bar in the bottom-right of every scene view in the scene's units, measured at the orbit target in 3-D, exact in 2-D, with SI prefixes for known units.design/scenes.mdon the branchsprint4, under The scale bar. The scale bar is drawn by the view layer with ImGui, and the TypeScript fallback repeats the rule on its canvas.design/scenes.mdon the branchsprint4, under The scale bar. A shared table of zoom levels tests the scale bar in C++ and TypeScript.design/scenes.mdon the branchsprint4, under Decisions. Decision: a scale bar from the scene's units, measured at the orbit target.design/web-geometry.mdon the branchsprint4, under Decisions. Decision: the scale bar as overlay lines and text drawn by the view layer.- Orchestrators' notes,
_notes/HANDOFF-sprint4.md. The scene view's up-axis switch and scale bar are built on sprint4-pr2. - Orchestrators' notes,
_notes/HANDOFF-sprint4.md. The browser element has no up-axis switch and no way to hide the scale bar. - Orchestrators' notes,
s4-integ3/STATUS.md. Meeting points to check when joining draws and the base: the switch and bar with every primitive, looking through a camera then switching up, the bar through a camera, the uniform-bytes check for new programs and the CPU reference of the draws taken from the shipped module. - Orchestrators' notes,
s4-ts9/STATUS.md. The scale bar rule and tests, the scene view's switch_up, header segments, the U key, the display menu and the bar drawn with ImGui, remembered by view name.