Merge branch 'lang/chunks' into lang/uifree - the ground's heights by chunk and its Jolt ground per chunk; both new render checks kept (steady, chunks)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 11:55:55 +03:00
commit 08a6fc8a3f
10 changed files with 216 additions and 12 deletions

View file

@ -0,0 +1,10 @@
bump: minor
type: feature
**The ground's heights a chunk at a time: `terrain_chunk_heights(i, j, size_m, n, out)`.** For
whatever is built per chunk (plan 23.5 of maroon-lake: the physics ground by 64 m chunks): n x n
samples of chunk (i, j) of a grid laid from the terrain's corner, row-major into the caller's
buffer, nothing allocated. Each is the ground's cubic B-spline at the texel under it - the
separable (1 4 1) / 6 filter `ter_spline_at`, the same numbers ludic.physics' B-spline
heightfield makes of the whole map - so neighbouring chunks share their edges bit for bit and
agree with the drawn ground. The read-back lives from `terrain_generate` to `terrain_unload`.
`examples/rendering/chunks.ludic` holds it.