Remove viewer debug line/state colours; app widget parity (chunking, near/far, occt-wasm)

This commit is contained in:
trilium-share-gruvbox
2026-08-28 20:06:56 +02:00
parent 18f8afaf69
commit 6b9b458e97
5 changed files with 5 additions and 38 deletions
+2 -2
View File
@@ -48,8 +48,8 @@ no external dependencies (except `highlight.js`, vendored in `lib/`).
- **3D models**: `.step` / `.stp` / `.stl` files (as file notes, as inline attachments, or linked
from text notes) render in an interactive three.js viewer (STEP via **occt-wasm**, OpenCASCADE
V8, parsed in a non-blocking **module worker**). The viewer is **full-bleed** (~`100vw`) with a
viewport-based height, drag to rotate / scroll to zoom, rounded 8px box, a loading progress bar,
a caption showing `name · size · triangle count`, and a small debug line. Large meshes are
viewport-based height, drag to rotate / scroll to zoom, rounded 8px box, a loading progress bar
and a caption showing `name · size · triangle count`. Large meshes are
split into `Uint16` chunks so mobile GPUs render them too (≈480k triangles for the demo
battery module). See [docs/embed-3d-model.md](docs/embed-3d-model.md).
- **3D viewer inside Trilium (app widget)**: the same viewer runs in the Trilium app itself