From dd75aaf6e82799ce88d8e66b01a3d53ba05301c9 Mon Sep 17 00:00:00 2001 From: "Somhairle H. Marisol" Date: Mon, 21 Sep 2026 02:03:45 +0800 Subject: feat(viewer): fit camera to loaded model and add checked-in browser acceptance driver - add three.js Box3/Camera bindings and bbox-driven camera framing (fov-fit with margin, recenters the model so group rotation orbits in place); refit on canvas resize instead of reverting to replay placeholder geometry - expose window.SOMHAIRLES_VIEWER debug handle for numeric verification - add tools/acceptance/e2e_acceptance.py: self-provisioning playwright driver (isolated port/artifact root, unique run ids) asserting framing, frozen-screenshot determinism, GLB hash equality, failure surfacing - gitignore scratch/ and tools/acceptance/deps/; document the clean-checkout verification sequence (fable before build) --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 6b209f4..bff40aa 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ dist/ __pycache__/ *.pyc .venv/ +tools/acceptance/deps/ +scratch/ -- cgit v1.2.3