From e5ceb3c74d90a0169d8a8e3e0ea30e65cb9dce90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=27=C3=A9lectron=20rare?= <108685187+electron-rare@users.noreply.github.com> Date: Tue, 28 Apr 2026 15:19:30 +0200 Subject: [PATCH] fix(3d): zoom in on mosfet media sections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sections 7a-7d (media on mosfets #1-#4) had cam Z distance -1.0 to -0.8 — too far, video and carousel took only a small portion of viewport. Halve Z to -0.6 to -0.5 and scale lateral X by ~0.6 to keep the same angle. Each mosfet media now fills ~70% of view instead of ~40%. --- src/components/BmuViewer.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/BmuViewer.tsx b/src/components/BmuViewer.tsx index f992b84..30fda45 100644 --- a/src/components/BmuViewer.tsx +++ b/src/components/BmuViewer.tsx @@ -109,18 +109,18 @@ const SECTIONS: Section[] = [ // 4. CAS — recul caméra, vue des 4 mosfets, tuiles + médias visibles { id: 'cas', start: 0.41, end: 0.65, camOffset: [0.5, -0.5, -3.0], camOffsetEnd: [-0.5, -0.3, -2.5], focus: null, explode: 1 }, - // 7a. MEDIA — vidéo 1, caméra de l'autre côté (Z négatif) + // 7a. MEDIA — vidéo 1, caméra de l'autre côté (Z négatif), zoom serré { id: 'media', start: 0.65, end: 0.69, - camOffset: [0.2, 0.0, -1.0], camOffsetEnd: [0.0, 0.0, -0.8], focus: 2, explode: 1 }, + camOffset: [0.12, 0.0, -0.6], camOffsetEnd: [0.0, 0.0, -0.5], focus: 2, explode: 1 }, // 7b. MEDIA — vidéo 2 { id: 'media', start: 0.69, end: 0.73, - camOffset: [0.2, 0.0, -1.0], camOffsetEnd: [-0.1, 0.0, -0.8], focus: 3, explode: 1 }, + camOffset: [0.12, 0.0, -0.6], camOffsetEnd: [-0.06, 0.0, -0.5], focus: 3, explode: 1 }, // 7c. MEDIA — vidéo 3 { id: 'media', start: 0.73, end: 0.77, - camOffset: [-0.1, 0.0, -1.0], camOffsetEnd: [-0.3, 0.0, -0.8], focus: 4, explode: 1 }, + camOffset: [-0.06, 0.0, -0.6], camOffsetEnd: [-0.18, 0.0, -0.5], focus: 4, explode: 1 }, // 7d. MEDIA — carrousel photos { id: 'media', start: 0.77, end: 0.81, - camOffset: [-0.2, 0.0, -1.0], camOffsetEnd: [0.1, 0.0, -0.8], focus: 5, explode: 1 }, + camOffset: [-0.12, 0.0, -0.6], camOffsetEnd: [0.06, 0.0, -0.5], focus: 5, explode: 1 }, // 8. FORMATS { id: 'formats', start: 0.81, end: 0.91, camOffset: [2.4, 3.0, 4.0], camOffsetEnd: [1.6, 2.4, 3.0], focus: null, explode: 1, explodeEnd: 0 },