Skip to content

Commit 534ac30

Browse files
TMHSDigitalclaude
andcommitted
docs(showcase): seal seated parts all round, vary scatter size, bound rim tilt
Three conventions from the terrain-scatter pass: a seated part is sunk until every azimuth sector holds a buried vertex; scatter carries a size factor and asserts a footprint-ratio floor; a rim over a slope bounds its step in normal elevation (not the dihedral, which misreads rounded corners). Relaxation now spaces each pair by the sum of its own bounds. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>
1 parent d92c537 commit 534ac30

1 file changed

Lines changed: 36 additions & 11 deletions

File tree

‎showcase/README.md‎

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,21 @@ entry in `showcase/gallery.json`, and a rendered still.
187187
shoe cup so the seated-post budget fails (exit 19) while the sole
188188
still grounds the AABB.
189189
- **Sampled host seat (exit 17/18 on scatter).** Instanced scatter
190-
seats by sampling the host surface Z at each instance's XY, biting a
191-
named depth, then clamping instance verts above the slab floor. A
192-
closed-form icosphere (or equivalent) replaces the GN cube so the
193-
scatter is stones, not open crates; a per-shell face floor is the
194-
budget that catches a cube leftover (exit 19). `--poke-rock` skips
195-
the clamp and over-bites; `--float-rocks` seats above the host.
190+
seats by sampling the host surface, then clamping instance verts above
191+
the slab floor. A closed-form icosphere (or equivalent) replaces the GN
192+
cube so the scatter is stones, not open crates; a per-shell face floor
193+
is the budget that catches a cube leftover (exit 19). `--poke-rock`
194+
skips the clamp and over-bites; `--float-rocks` seats above the host.
195+
- **A seated part is sealed all round (file-local code).** Sampling the
196+
host once, at the part's centre, and biting the lowest point below it
197+
leaves daylight under the downhill side of anything on a slope:
198+
`terrain-scatter`'s stones were sealed in at most 6 of 8 sectors, two
199+
in only 4, and the gap showed in the ground-contact view. Split the
200+
azimuth around each part's centroid into sectors, sample the host
201+
under every vertex (a ray down onto the host alone), and sink the part
202+
until each sector's most-buried vertex is below the ground. Assert
203+
every part is sealed in every sector. The falsifier restores the
204+
centre-sample rule (`--perch-rocks`).
196205
- **Orthogonal members (exit 19).** Boards, planks or arms that should
197206
sit on a world axis assert their AABB secondary extent stays within a
198207
named bound of the member thickness. A closed-form yaw of 0.12 rad
@@ -321,6 +330,16 @@ entry in `showcase/gallery.json`, and a rendered still.
321330
and the iron plates rendered — and were classified — as timber.
322331
`--sharp-iron` is the falsifier. 15–19 are reserved, so the code is
323332
the piece's next free one.
333+
- **A rim over a slope is bounded by its tilt step (file-local code).**
334+
The count above assumes box edges. Where a curved or sloping surface
335+
turns down into a wall — a terrain tile's edge, a mound's skirt — the
336+
fold runs from well under 90° to well over it, so bevel it with enough
337+
segments and bound the largest step in normal elevation between
338+
adjacent faces. Use elevation, not the dihedral: at a tile's corners two
339+
chamfer strips meet at a right angle in plan, which is a rounded
340+
corner, not a knife. Bevel gives the middle folds twice the end ones,
341+
so two segments leave 45° of a 90° edge in one step. The falsifier
342+
skips the bevel (`--sharp-rim`).
324343
- **An L-section is one shell, not two boxes (exit 15).** Two
325344
overlapping boxes for the legs of an angle strap share the outer
326345
corner edge; chamfer them and both lay a strip on the same line — a
@@ -358,11 +377,17 @@ entry in `showcase/gallery.json`, and a rendered still.
358377
scatter pushes neighbours into each other, and nothing else in the
359378
hygiene family compares one scattered part with another. BVH-test every
360379
pair and assert **0** overlaps. Space the parts structurally: relax
361-
their centres apart to twice a radius bound **derived** from the same
362-
constants that size them, so scaling the parts widens the spacing too.
363-
A falsifier that only skips the relaxation proves nothing if the parts
364-
happen to miss anyway; `terrain-scatter`'s `--pile-rocks` also draws
365-
the scatter inward so collisions are guaranteed.
380+
each pair of centres apart to the sum of the two parts' own radius
381+
bounds, each **derived** from the same constants that size that part,
382+
so scaling a part widens the spacing around it. A falsifier that only
383+
skips the relaxation proves nothing if the parts happen to miss anyway;
384+
`terrain-scatter`'s `--pile-rocks` also draws the scatter inward so
385+
collisions are guaranteed.
386+
- **Scatter varies in size (file-local code).** Nine stones within 20%
387+
of one size, on a relaxed grid, read as planted. Give each scatter
388+
point a size factor (boulders among cobbles), and assert the ratio of
389+
the largest to the smallest footprint clears a floor. The falsifier
390+
sets every factor to 1 (`--uniform-rocks`).
366391
- **Assert a body's symmetry on the body (exit 19).** Where mirrored
367392
parts are hung on a body, the body itself must be mirror-symmetric:
368393
give every vertex a partner at its mirror position within a named

0 commit comments

Comments
 (0)