cad-editor/src/scene
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan a3c982c4f3 perf(wire): pack instance color as Unorm8x4 (88 -> 76 B per instance)
Step 4 (final) of the wire pipeline cold-open optimization plan. Color
shrinks from `[f32; 4]` (16 B) to `[u8; 4]` (4 B) and the vertex attribute
format flips to `Unorm8x4`; the GPU still hands the shader a `vec4<f32>`
in [0, 1], so wire.wgsl needs no change. 8-bit per channel is below
display precision.

Net: 76 B per instance, ~14 % smaller than the Step-3 instance layout and
~7.6× smaller than the pre-Step-3 per-vertex format. Wire upload memory
and PCIe bandwidth on cold open scale down accordingly.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 09:53:49 +03:00
..
pipeline perf(wire): pack instance color as Unorm8x4 (88 -> 76 B per instance) 2026-05-23 09:53:49 +03:00
acad_to_truck.rs feat(mtext): integrate every inline format code in MTEXT renderer 2026-05-21 23:42:22 +03:00
block_cache.rs feat(mtext): integrate every inline format code in MTEXT renderer 2026-05-21 23:42:22 +03:00
camera.rs cargo fmt 2026-05-12 10:36:15 +03:00
complex_lt.rs cargo fmt 2026-05-12 10:36:15 +03:00
cxf.rs feat(text): route every text-bearing entity through the run-aware MText pipeline 2026-05-22 05:53:01 +03:00
dispatch.rs first commit 2026-03-22 14:56:27 +03:00
grip.rs cargo fmt 2026-05-12 10:36:15 +03:00
hatch_model.rs feat(hatch): rasterise PAT pattern lines for paper canvas + PDF 2026-05-22 06:52:20 +03:00
hatch_patterns.rs first commit 2026-03-22 14:56:27 +03:00
hit_test.rs fix(scene): keep low-LOD objects visible and selectable 2026-05-20 06:07:04 +03:00
image_model.rs perf(scene): extend viewport scissor to hatch / image / wipeout passes (Phase 1.4) 2026-05-15 23:13:16 +03:00
mesh_model.rs chore: drop dead scene/IO helpers + simplify XATTACH command state 2026-05-16 00:10:20 +03:00
mod.rs fix(polyline): correct wide-polyline fill band arc center + add LWDISPLAY toggle 2026-05-23 07:15:26 +03:00
object.rs first commit 2026-03-22 14:56:27 +03:00
paper_canvas.rs feat(hatch): rasterise PAT pattern lines for paper canvas + PDF 2026-05-22 06:52:20 +03:00
properties.rs refactor: deduplicate entity type name mapping 2026-04-24 01:44:33 +03:00
quadtree.rs chore(quadtree): silence dead-code warnings on planned API 2026-05-17 19:34:56 +03:00
render.rs perf(wire): move LWDISPLAY toggle from CPU rebake to wire shader uniform 2026-05-23 09:45:24 +03:00
selection.rs Split large files: ribbon widgets and scene render/selection 2026-03-22 23:07:43 +03:00
solid3d_tess.rs feat(scene): scale Solid3D / Region / Body tessellation by header FACETRES 2026-05-20 04:51:26 +03:00
tessellate.rs feat(text): route every text-bearing entity through the run-aware MText pipeline 2026-05-22 05:53:01 +03:00
transform.rs cargo fmt 2026-05-12 10:36:15 +03:00
truck_tess.rs perf(scene): zoom-adaptive arc tessellation for hatch boundary outlines 2026-05-16 07:55:46 +03:00
viewport_pane.rs cargo fmt 2026-05-12 10:36:15 +03:00
wire_model.rs cargo fmt 2026-05-12 10:36:15 +03:00