cad-editor/src/scene
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven ccb9bb832d perf(scene): stop re-tessellating on preview/interim overlay updates
Phase 2.2 (partial). set_preview_wires / clear_preview_wire /
set_interim_wire called bump_geometry, so every rubber-band frame of a
drawing command invalidated the wire cache and re-tessellated the whole
model — the same 30ms->400ms spike as selection, but while drawing.

Preview / interim wires are an overlay appended to the cached base wire
set in build_primitive; they are not part of the tessellation cache, so
they no longer bump geometry. The base model-tile tessellation stays a
cache hit (static camera, no geometry bump), and the overlay still forces
a GPU wire re-upload through the has_overlay content-id path. Real commits
(commit_entity / transform / copy) bump geometry on their own, so finished
edits and preview-clear still render correctly. Snap/hit-test via
entity_wires_arc also stops re-tessellating per preview frame.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 10:21:32 +03:00
..
pipeline perf(scene): decouple selection from wire tessellation 2026-06-05 10:04:22 +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 perf(scene): parallelize block AABB post-pass 2026-06-05 08:52:16 +03:00
camera.rs feat(viewport): tile-relative input + overlays in unified model 2026-05-28 09:45:19 +03:00
complex_lt.rs feat(fonts): complex-linetype shapes via LFF + Turkish glyph fallback 2026-05-31 09:53:16 +03:00
dispatch.rs first commit 2026-03-22 14:56:27 +03:00
grip.rs refactor(grip): square-only marker set + oriented stretch handles 2026-05-29 02:07:34 +03:00
hatch_model.rs feat(draworder): cross-type draw order + context menu 2026-05-30 21:29:01 +03:00
hatch_patterns.rs chore: rename H7CAD to Open CAD Studio 2026-05-23 17:16:15 +03:00
hit_test.rs perf(hash): swap std HashMap/HashSet for rustc-hash FxHash 2026-06-05 00:35:53 +03:00
image_model.rs feat(draworder): cross-type draw order + context menu 2026-05-30 21:29:01 +03:00
lff.rs perf(hash): swap std HashMap/HashSet for rustc-hash FxHash 2026-06-05 00:35:53 +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 perf(scene): stop re-tessellating on preview/interim overlay updates 2026-06-05 10:21:32 +03:00
model_solid.rs feat(model): 3D solid modelling tab — primitives + boolean ops 2026-05-31 19:27:06 +03:00
object.rs feat(grip): popup menus for polylines, spline, mline, hatch, leaders, text 2026-05-29 15:14:43 +03:00
properties.rs refactor(entities): collocate ui_name + dxf_name into entities/names.rs 2026-05-26 17:18:47 +03:00
quadtree.rs perf(hash): swap std HashMap/HashSet for rustc-hash FxHash 2026-06-05 00:35:53 +03:00
render.rs perf(scene): decouple selection from wire tessellation 2026-06-05 10:04:22 +03:00
selection.rs feat(draworder): cross-type draw order + context menu 2026-05-30 21:29:01 +03:00
solid3d_tess.rs perf(hash): swap std HashMap/HashSet for rustc-hash FxHash 2026-06-05 00:35:53 +03:00
tess_util.rs refactor(tess): rename LegacyTess → FallbackTess 2026-05-23 23:16:57 +03:00
tessellate.rs refactor(entities): Solid3D/Region/Body accessor trio in entities/solid3d.rs 2026-05-26 17:22:02 +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 refactor(viewport): unify paper into one shader, transparent clear 2026-05-28 10:03:01 +03:00
wire_model.rs fix(snap): correct snap symbols + drop bogus midpoints on circles (#34) 2026-05-29 01:39:02 +03:00