feat(gamut): Full 3D Delaunay / Convex Hull mesh generation in CIELAB space and multi-touch gestures (fixes #89) #101

Merged
gronod merged 2 commits from feat/89-3d-convex-hull-touch into development 2026-08-25 18:13:42 +01:00
Owner

Summary of Changes

  • 3D Gamut Visualization (src/js/gamut_viewer.js):
    • Implemented 3D QuickHull algorithm operating directly on 3D CIELAB coordinates (a^*, L^*, b^*).
    • Triangulates the true 3D surface convex hull of gamut point clouds without distortion or overlapping polar Delaunay artifacts.
    • Recomputes clean 3D vertex normals on THREE.BufferGeometry.
  • Touch Gesture Support (src/js/gamut_viewer.js, src/js/OrbitControls.js):
    • Configured multi-touch controls: ONE: THREE.TOUCH.ROTATE, TWO: THREE.TOUCH.DOLLY_PAN (pinch zoom and 2-finger pan/rotate).
    • Set touch-action: none on the WebGL canvas element to prevent browser scrolling interference.
  • Dependency Clean Up (src/index.html):
    • Removed obsolete delaunator.min.js script tag.

Fixes #89.

### Summary of Changes - **3D Gamut Visualization (`src/js/gamut_viewer.js`)**: - Implemented 3D QuickHull algorithm operating directly on 3D CIELAB coordinates $(a^*, L^*, b^*)$. - Triangulates the true 3D surface convex hull of gamut point clouds without distortion or overlapping polar Delaunay artifacts. - Recomputes clean 3D vertex normals on `THREE.BufferGeometry`. - **Touch Gesture Support (`src/js/gamut_viewer.js`, `src/js/OrbitControls.js`)**: - Configured multi-touch controls: `ONE: THREE.TOUCH.ROTATE`, `TWO: THREE.TOUCH.DOLLY_PAN` (pinch zoom and 2-finger pan/rotate). - Set `touch-action: none` on the WebGL canvas element to prevent browser scrolling interference. - **Dependency Clean Up (`src/index.html`)**: - Removed obsolete `delaunator.min.js` script tag. Fixes #89.
gronod added the Kind/Feature
Priority
Low
4
labels 2026-08-25 18:01:03 +01:00
gronod added 2 commits 2026-08-25 18:01:04 +01:00
refactor(html): remove delaunator script tag in favor of 3D Convex Hull (fixes #89)
Build Linux Packages / Build Linux (pull_request) Successful in 10m38s
Build Windows Packages / Build Windows (pull_request) Successful in 6m16s
0a3beaf006
gronod merged commit 46eedd6a6a into development 2026-08-25 18:13:42 +01:00
Sign in to join this conversation.