diff --git a/resources/views/rd/fire-shutter-drawing/index.blade.php b/resources/views/rd/fire-shutter-drawing/index.blade.php index c47716a1..a55fb4df 100644 --- a/resources/views/rd/fire-shutter-drawing/index.blade.php +++ b/resources/views/rd/fire-shutter-drawing/index.blade.php @@ -965,6 +965,7 @@ function animate() { ro.observe(container); } + let fs3dCameraInit = false; function fs3dBuild() { if (!scene) return; // Clear existing meshes @@ -1195,10 +1196,13 @@ function fs3dBuild() { meshes.wall.position.set(0, (H + b.height) / 2, -rd / 2 - 50); scene.add(meshes.wall); - // Camera target - controls.target.set(0, H / 2, 0); - camera.position.set(W * 1.2, H * 0.8, W * 1.5); - controls.update(); + // Camera: 최초 빌드 시에만 위치 설정, 이후 재빌드 시 현재 시점 유지 + if (!fs3dCameraInit) { + controls.target.set(0, H / 2, 0); + camera.position.set(W * 1.2, H * 0.8, W * 1.5); + controls.update(); + fs3dCameraInit = true; + } } // 3D Controls