From c7069cf0b612181429a4b61f82e5be1ddf1e592a Mon Sep 17 00:00:00 2001 From: Erik Date: Tue, 9 Jun 2026 08:09:10 +0200 Subject: [PATCH] diag(camera): add F6 in/out eye to [flap-sweep] probe Logs SweepEye input (desiredEye) vs output (eye) at micrometre precision. Used to prove the indoor flap is NOT the camera: the eye is smooth (clean one-way pass = 3/18 direction-changes over 25.7k frames) and ~1um stable at rest, yet the visible-cell count oscillates 414x with 648 clip=0 near edge-on doorways. The flap is the flood/clip's edge-on behaviour, not the eye. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/AcDream.App/Rendering/PhysicsCameraCollisionProbe.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AcDream.App/Rendering/PhysicsCameraCollisionProbe.cs b/src/AcDream.App/Rendering/PhysicsCameraCollisionProbe.cs index 4bb194b2..ac72462c 100644 --- a/src/AcDream.App/Rendering/PhysicsCameraCollisionProbe.cs +++ b/src/AcDream.App/Rendering/PhysicsCameraCollisionProbe.cs @@ -83,6 +83,7 @@ public sealed class PhysicsCameraCollisionProbe : ICameraCollisionProbe System.Console.WriteLine( $"[flap-sweep] cell=0x{cellId:X8} start=0x{startCell:X8} ok={r.Ok} resolved={(cp is not null ? "Y" : "n")} bsp={bsp} " + $"desiredBack={desiredBack:F2} eyeBack={eyeBack:F2} pulledIn={desiredBack - eyeBack:F2} " + + $"in=({desiredEye.X:F6},{desiredEye.Y:F6},{desiredEye.Z:F6}) out=({eye.X:F6},{eye.Y:F6},{eye.Z:F6}) " + $"viewerCell=0x{r.CellId:X8} collNormValid={r.CollisionNormalValid}"); }