20 Commits

Author SHA1 Message Date
CNCKitchen 0998e9ee00 feat: add perspective view toggle and update camera handling 2026-04-07 12:00:05 +02:00
Avatarsia d92296754f perf: on-demand rendering, dispose leaks, reduce GC pressure
- Render loop now only calls renderer.render() when the scene actually
  changed (needsRender flag + requestRender export). Idle GPU usage
  drops to near zero.
- Disabled shadow map (no receiver in scene, wasted a full render pass).
- Reuse overlay materials instead of creating new ones every paint frame.
- Dispose CanvasTexture in getEffectiveMapEntry (VRAM leak on every
  slider change).
- Dispose axes/dimension geometry on model reload.
- Reuse Vector3/Quaternion temp objects in pointer/touch/wheel handlers
  instead of allocating ~10 objects per mouse event.
- RAF-batch mousemove for hover/cursor, keep paint events immediate.
- Reuse faceMask buffer attribute when size matches.
- Cache getEffectiveMapEntry result (skip canvas tiling+blur when
  texture and smoothing haven't changed).
- addSmoothNormals: same dedup+flat-array approach as displacement.
2026-04-06 02:38:30 +02:00
CNCKitchen 3c94df4504 feat: update max triangle limit to 750K and enhance triangle bounding radius calculations 2026-04-03 09:18:44 +02:00
CNCKitchen 80f597141c feat: enhance pinch-to-zoom with two-finger pan support for touch devices 2026-04-01 15:04:47 +02:00
CNCKitchen fd6eae9fb5 feat: implement custom pivot marker and pinch-to-zoom support for touch devices 2026-04-01 13:46:43 +02:00
CNCKitchen b0d25f4006 rebranding to BumpMesh 2026-03-27 09:38:59 +01:00
CNCKitchen fb6e4d232c feat: implement raycast-based orbit pivot for cursor-centric rotation 2026-03-26 11:05:29 +01:00
CNCKitchen fca353a142 feat: implement cursor-centric zoom functionality in viewer 2026-03-26 10:42:29 +01:00
CNCKitchen 9c50ab83b1 feat: update bucket threshold and enhance mesh info display in UI 2026-03-20 19:47:04 +01:00
CNCKitchen 981a72af4d Added a 3D Preview 2026-03-19 21:00:33 +01:00
CNCKitchen 43a09e8b14 feat: add seam band width control and integrate with displacement logic for improved blending 2026-03-19 20:12:54 +01:00
CNCKitchen 0600877849 feat: add store CTA and dimension annotations, update safety cap and translations 2026-03-18 15:17:46 +01:00
CNCKitchen d09d00e5a8 chore: clean up code structure and remove unused code blocks 2026-03-18 12:18:35 +01:00
CNCKitchen 04afab2432 feat: enhance exclusion overlay visibility and improve wireframe rendering 2026-03-18 11:13:48 +01:00
CNCKitchen 598902021a feat: implement surface exclusion mode toggle and enhance exclusion overlay logic 2026-03-17 19:43:46 +01:00
CNCKitchen 1d3e756245 feat: add surface exclusions panel and functionality
- Introduced a new section in the UI for surface exclusions, allowing users to exclude triangles from displacement using brush and bucket fill tools.
- Implemented brush type switching (single and radius) and radius control for the brush tool.
- Added functionality for bucket fill with a threshold angle to control the fill area.
- Integrated exclusion weights into the displacement algorithm to ensure excluded faces are handled correctly during subdivision.
- Created adjacency and centroid calculations for triangles to support the bucket fill operation.
- Developed overlay geometries for visual feedback on excluded faces and hover previews.
- Enhanced the CSS for the new exclusion tools and their layout in the UI.
2026-03-17 14:35:45 +01:00
CNCKitchen a68eedba38 Add wireframe toggle in UI and implement wireframe rendering functionality 2026-03-17 11:34:21 +01:00
CNCKitchen 66ee4a2d7d Refactor mapping modes and improve UV mapping logic; update viewer axes and camera settings 2026-03-17 09:05:56 +01:00
CNCKitchen 59b689c9ef Enhance displacement calculation and UV mapping; add gizmo visualization in viewer 2026-03-16 21:09:12 +01:00
CNCKitchen 92e7f487ce initial commit 2026-03-16 20:37:32 +01:00