cad-editor/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan 0584e3c862 perf(scene): text LOD ladder 1/5 px with baseline-line tier
Replaces the 2/4 drop/greek/full ladder with 1/5 baseline/greek/full so
zoomed-out text still leaves a visual hint instead of disappearing:

  h_px < 1   → OBB baseline line in the text color
  1 ≤ h < 5  → greeked OBB rect
  h_px ≥ 5   → full per-glyph stroke

Extra guard: in the baseline tier, the line itself is dropped when its
projected length is under 2 px (single-char text seen edge-on would
otherwise emit a sub-pixel segment).

Text/MText is exempted from the generic 5 px AABB cull (top-level and
block-defn paths) so it can reach this ladder even when its bounding
box projects below the threshold.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 13:19:43 +03:00
..
app feat(properties): label xref Insert as "External Reference" 2026-05-15 09:19:57 +03:00
command cargo fmt 2026-05-12 10:36:15 +03:00
entities fix(render): preserve f64 precision until world_offset subtraction 2026-05-12 23:47:40 +03:00
io feat(properties): label xref Insert as "External Reference" 2026-05-15 09:19:57 +03:00
modules fix(explode): correct arc/ellipse direction in mirrored INSERT blocks 2026-05-12 22:04:12 +03:00
scene perf(scene): text LOD ladder 1/5 px with baseline-line tier 2026-05-15 13:19:43 +03:00
shaders fix(hatch): more improvement on arc boundary and pattern 2026-05-10 20:29:39 +03:00
snap cargo fmt 2026-05-12 10:36:15 +03:00
ui feat(io): show loading overlay while opening CAD files 2026-05-13 09:59:07 +03:00
lib.rs perf(scene): cache block defns + batch wires by style 2026-05-14 11:12:08 +03:00
linetypes.rs cargo fmt 2026-05-12 10:36:15 +03:00
main.rs perf(scene): cache block defns + batch wires by style 2026-05-14 11:12:08 +03:00
patterns.rs first commit 2026-03-22 14:56:27 +03:00