ridge-bake: the ground under the near clip is the place's own DEM from 1 m, drawn by card 0 inside the clip silhouette (baker_version 7)
near_march / join_near / the near flag in cards; cut_ring and bake_place join it; pack leaves near pixels out of distance_m and the nearest-terrain table. Rulings ridge-near-ground-outline, ridge-skirt-needs-real-ground. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f17ed57d5b
commit
406b197a6c
7 changed files with 161 additions and 66 deletions
|
|
@ -7,7 +7,7 @@ The live noise ridge is nearly invisible on a phone (about 1.35:1 against the da
|
|||
|
||||
## Ends
|
||||
- One owner per decision: the baker owns ridge geometry and shading; the runtime owns only the ring's residency, the camera's pose against its heading, blending and compositing. No ridge geometry is computed in the browser.
|
||||
- The near ground is a skirt under an authored 500 m near clip (the march starts there; nothing nearer is baked as terrain), `r_max` is where the linear slide holds for the nearest solid terrain each card draws in each tile (at or beyond the clip; a tile of skirt only binds nothing), and every bake keeps 150 rows under the horizon so the plane reaches the bottom of every viewport.
|
||||
- The ground under the authored 500 m near clip is the place's own DEM from 1 m, drawn by card 0 inside the silhouette of the terrain at the clip and riding card 0's slide; everything that bounds the view reads terrain at or beyond the clip: `r_max` is where the linear slide holds for the nearest solid terrain each card draws in each tile (a tile of near ground only binds nothing), and every bake keeps 150 rows under the horizon so the plane reaches the bottom of every viewport.
|
||||
- Nothing from the scene paints above app content: the scene is one stacking context at the back of the app, and nothing it creates has its own z-index or lives outside it.
|
||||
- Phone cost is bounded: no per-frame script for the ridge, decoded size and fetched size gated in CI.
|
||||
- The ring is the bake and the heading is unbounded: the whole 360 degrees ships as azimuth tiles, the client holds only the arc it is about to need and fetches more as the view turns, and nothing caps the heading: it is unwrapped within a stretch of motion and `ridge/heading.ts` `normalize` brings it into [0, 360) before each one, so no angle or pixel position grows with uptime, while `ridge/ring.ts` is the one place that reasons about the wrap at 0 / 360.
|
||||
|
|
|
|||
Loading…
Reference in a new issue