cad-editor/src/scene/pipeline
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan 9b6d5437fa revert: drop wire segment caps that silently truncated geometry
Remove MAX_SEGS_PER_WIRE = 100_000 and MAX_TOTAL_SEGS = 3_000_000.
These were stop-gap GPU-memory guards that mutated visible output:
single complex entities were cut mid-geometry, and entire wires past
the 3M total were dropped by arrival order with no spatial awareness.
Either is worse than honestly drawing whatever the file contains —
truncated arcs and missing road segments look like bugs to the user,
not "we ran out of GPU memory."

The matching "Temporary Workarounds" section in
RENDERING_OPTIMIZATION.md goes with them. Per-entity LOD and
viewport culling (Phase 1 + 3.2 in the same doc) remain the right
long-term answer; until they land, prefer correctness over a soft
crash on pathological files.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-13 10:11:54 +03:00
..
face3d_gpu.rs cargo fmt 2026-05-12 10:36:15 +03:00
hatch_gpu.rs cargo fmt 2026-05-12 10:36:15 +03:00
image_gpu.rs cargo fmt 2026-05-12 10:36:15 +03:00
mesh_gpu.rs first commit 2026-03-22 14:56:27 +03:00
mod.rs revert: drop wire segment caps that silently truncated geometry 2026-05-13 10:11:54 +03:00
uniforms.rs first commit 2026-03-22 14:56:27 +03:00
viewcube.rs cargo fmt 2026-05-12 10:36:15 +03:00
wire_gpu.rs revert: drop wire segment caps that silently truncated geometry 2026-05-13 10:11:54 +03:00