Commit Graph

2 Commits

Author SHA1 Message Date
NiJingzhe 6dc9fee702 feat(viewer): re-studio React 19 + shadcn rebuild with composer fixes
- remode UI migrated to React 19 + Tailwind 4 + shadcn-style components
  (tabs/toggles/tooltips/resizable/sonner); imperative kernel (SceneView,
  TokenComposer, OpSuggest, PythonEditor, FeatureTreeView) bridged via refs
- composer: same op tip can be cited twice (dedupe guard removed; backspace
  deletes the exact chip); capsule hover bubble is content-sized with a
  560px/72vw max width
- renderer: shift+left-drag pan via TrackballControls keyState borrow
- server: submit payload never truncates user entity selections (cap
  removed, regression test added)
- shared style.css imported into a cascade layer so Tailwind utilities win
2026-09-07 02:29:20 +08:00
NiJingzhe f8793ca7ce feat(viewer): standalone BRep renderer component with layered pipeline
- viewer/src/renderer: BRepRenderer owns scene assembly, materials, PMREM
  studio lighting, GTAO, trackball camera, seam-split edge visuals, FIT and
  snapshot; face pass renders into MSAA RT, edges/overlays composite after
  AO so wireframes keep a constant ink color, and scene.background is
  deliberately unused (a Color background force-clears every render pass)
- scene-view.ts shrinks to the selection/marks composition layer over the
  engine; public picking/marks API unchanged
- cad-three: fixed dark edge color #3a414d; faces get polygonOffset(1,1),
  lines slope-scaled polygonOffset(-2,-2) so silhouette edges stop breaking
  into dashes at glancing angles
- click-selection restores the camera up vector; README documents the
  component entry points
2026-09-06 02:35:10 +08:00