chore: deploy private lightloom build
Browse files- app.py +1 -1
- frontend/js/stage-scroll.js +3 -1
app.py
CHANGED
|
@@ -145,7 +145,7 @@ def health() -> dict[str, Any]:
|
|
| 145 |
"privacy_mode": os.getenv("LIGHTLOOM_PRIVACY_MODE", "1") == "1",
|
| 146 |
"cpu_count": os.cpu_count(),
|
| 147 |
"director_backend": CONFIG.director_backend,
|
| 148 |
-
"build": "
|
| 149 |
}
|
| 150 |
|
| 151 |
|
|
|
|
| 145 |
"privacy_mode": os.getenv("LIGHTLOOM_PRIVACY_MODE", "1") == "1",
|
| 146 |
"cpu_count": os.cpu_count(),
|
| 147 |
"director_backend": CONFIG.director_backend,
|
| 148 |
+
"build": "flat-stopgap-1",
|
| 149 |
}
|
| 150 |
|
| 151 |
|
frontend/js/stage-scroll.js
CHANGED
|
@@ -34,7 +34,9 @@ const Scroll = (() => {
|
|
| 34 |
// i.e. near content ~0.65x the focus distance -> strong REAL parallax
|
| 35 |
const CAM_FOV = 38; // degrees
|
| 36 |
const CAM_DIST = 2.0; // camera distance from the plane center (focus plane sits at z=0)
|
| 37 |
-
const CAM_BASE = 0.
|
|
|
|
|
|
|
| 38 |
const DEPTH_GAIN = 1.45; // contrast stretch for coarse, low-contrast DepthAnything-Small depth
|
| 39 |
const DEPTH_GAMMA = 0.85; // <1 lifts mid-depths so the near band separates from the far
|
| 40 |
const OVERSCAN = 1.22; // plane oversize so the truck/relief never reveal its edge
|
|
|
|
| 34 |
// i.e. near content ~0.65x the focus distance -> strong REAL parallax
|
| 35 |
const CAM_FOV = 38; // degrees
|
| 36 |
const CAM_DIST = 2.0; // camera distance from the plane center (focus plane sits at z=0)
|
| 37 |
+
const CAM_BASE = 0.0; // STOPGAP: no perpetual camera motion (no vibration) while the layered-parallax
|
| 38 |
+
// renderer is built; at the neutral eye the pinhole mesh is the identity = a
|
| 39 |
+
// clean flat image. The layered approach will drive depth from the scroll itself.
|
| 40 |
const DEPTH_GAIN = 1.45; // contrast stretch for coarse, low-contrast DepthAnything-Small depth
|
| 41 |
const DEPTH_GAMMA = 0.85; // <1 lifts mid-depths so the near band separates from the far
|
| 42 |
const OVERSCAN = 1.22; // plane oversize so the truck/relief never reveal its edge
|