Skip to content

Commit ebb075c

Browse files
TMHSDigitalclaude
andcommitted
fix: watchtower quality pass, a deck on girts and rails post to post
The platform floated: no deck bearers, joists ending in the air, plank ends over nothing, and side rails stopping 0.30 m short of the front posts. Four deck girts, girt-to-girt joists and post-to-post side rails, with deck-bearing and side-rail budgets (exit 17, --short-joists, --open-sides). Grained wood, weathered shakes, rusted iron, sorted bevels, 60 m stage, temp glb removed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>
1 parent 4bfb3fa commit ebb075c

8 files changed

Lines changed: 645 additions & 68 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Budget-conformance props. Not examples. Conventions: [`showcase/README.md`](show
118118
<a href="showcase/treasure-chest/"><img src="showcase/treasure-chest/preview.webp" width="24%" alt="Treasure chest: a slatted wooden chest with iron bands, corner brackets, and an open lid on a dark studio floor" /></a>
119119
<a href="showcase/terrain-scatter/"><img src="showcase/terrain-scatter/preview.webp" width="24%" alt="Terrain scatter: a Geometry Nodes dirt hill tile with bevelled masonry rocks on a dark studio floor" /></a>
120120
<a href="showcase/fence-kit/"><img src="showcase/fence-kit/preview.webp" width="24%" alt="Fence kit: a timber post-and-rail section with pyramidal caps, iron shoes and straps on a dark studio floor" /></a>
121-
<a href="showcase/watchtower/"><img src="showcase/watchtower/preview.webp" width="24%" alt="Watchtower: a timber lookout with X-braces, hatch ladder, plank platform, and a coursed shake roof on a dark studio floor" /></a>
121+
<a href="showcase/watchtower/"><img src="showcase/watchtower/preview.webp" width="24%" alt="Watchtower: a grained timber lookout with X-braces, hatch ladder, a plank platform on deck girts, and a coursed shake roof on a dark studio floor" /></a>
122122
<a href="showcase/cart/"><img src="showcase/cart/preview.webp" width="24%" alt="Cart: a two-wheel wooden cart with spoked wheels, slatted bed, and shafts on a dark studio floor" /></a>
123123
<a href="showcase/park-bench/"><img src="showcase/park-bench/preview.webp" width="24%" alt="Park bench: a wrought-iron bench with scrolled legs and wooden slats on a dark studio floor" /></a>
124124
<a href="showcase/wheelbarrow/"><img src="showcase/wheelbarrow/preview.webp" width="24%" alt="Wheelbarrow: a wooden tray with walls of stacked boards and iron straps, a spoked wheel, rear legs, and handles on a dark studio floor" /></a>
@@ -157,7 +157,7 @@ Budget-conformance props. Not examples. Conventions: [`showcase/README.md`](show
157157

158158
[`fence-kit`](showcase/fence-kit/) — procedural post-and-rail fence section through the same pipeline. Falsifier `--skip-decimate` exits 9.
159159

160-
[`watchtower`](showcase/watchtower/) — procedural timber lookout with X-braces, hatch ladder, platform, and coursed shake roof through the same pipeline. Falsifier `--skip-decimate` exits 9.
160+
[`watchtower`](showcase/watchtower/) — procedural timber lookout with X-braces, hatch ladder, platform, and coursed shake roof through the same pipeline. Falsifiers `--skip-decimate` exits 9, `--short-joists` exits 17.
161161

162162
[`cart`](showcase/cart/) — procedural two-wheel wooden cart with spoked wheels, slatted bed, and shafts through the same pipeline. Falsifier `--skip-decimate` exits 9.
163163

-1.5 KB
Loading
-712 Bytes
Loading

‎docs/gallery/watchtower/index.html‎

Lines changed: 313 additions & 33 deletions
Large diffs are not rendered by default.

‎showcase/gallery.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@
128128
"name": "watchtower",
129129
"dir": "showcase/watchtower",
130130
"teaches": "A procedural timber watchtower through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract.",
131-
"alt": "A timber watchtower on braced legs with a ladder, railed platform and a pale shingled pyramid roof.",
132-
"witnessesFix": "Recomputed: 6408 tris, three materials with 300 metal and 126 roof faces, UVs in 0..1 with zero AABB overlap, outer AABB 1.594×1.594×2.973 m, grounded zmin, 4 iron shoes, rail engage 18 mm, collar standoff 2 mm, post plumb 0, LOD ratios in band (5.2 COLLAPSE leaner on LOD2), convex collider 150 tris, non-empty glTF. Hygiene all zero. --skip-decimate exits 9; --stray-vert 15; --lift-z/--short-shoes 16; --short-rails 17; --float-band 18; --rake-posts 19.",
131+
"alt": "A grained timber watchtower on braced legs with a ladder, a railed platform on deck girts, rusted iron collars and a shingled pyramid roof.",
132+
"witnessesFix": "Recomputed: 6840 tris, three materials with 300 metal and 126 roof faces, UVs in 0..1 with zero AABB overlap, outer AABB 1.594×1.594×2.973 m, grounded zmin, 4 iron shoes, rail engage 18 mm, all four side rails tenoned at both ends, both joists bearing 31 mm into deck girts, collar standoff 2 mm, post plumb 0, LOD ratios in band (5.2 COLLAPSE leaner on LOD2), convex collider 150 tris, non-empty glTF. Hygiene all zero. --skip-decimate exits 9; --stray-vert 15; --lift-z/--short-shoes 16; --short-rails/--open-sides/--short-joists 17; --float-band 18; --rake-posts 19.",
133133
"hero": "docs/gallery/assets/watchtower-hero.webp",
134134
"preview": "showcase/watchtower/preview.webp",
135135
"tags": [

‎showcase/watchtower/README.md‎

Lines changed: 31 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ mitered iron collars and shoes) then the shipped pipeline: unique-cell
77
UVs, Cycles high-to-low normal bake, LOD chain, convex collider, Unity
88
glTF export.
99

10+
The first quality pass left the platform floating: there were no
11+
bearers at deck level, the two joists stopped 0.19 m short of the front
12+
edge and at the back edge in the air, the plank ends hung past nothing
13+
at the sides, and the side guardrails stopped 0.30 m short of the front
14+
posts for a "hatch clearance" the hatch never needed (it sits at the
15+
centre of the front edge). Four deck girts now tenon into the posts
16+
under the planks, the joists run girt to girt, the hatch trims end on
17+
the front girt, and the side rails span post to post like the back
18+
rail. Two budgets assert it. Wood carries grain and a tone per piece,
19+
the shakes are weathered, and the iron is rusted rather than chrome.
20+
1021
The old roof was a wood U with incomplete shake coverage; rails showed
1122
through the eave. The cone plus non-overlapping courses close the
1223
pyramid. Shoes are added after the zmin snap so a bevel undershoot
@@ -28,17 +39,18 @@ materials, UVs, evaluated LOD, collider, or export file.
2839

2940
| Axis | Declared | Measured (4.5.11 / 5.1.2 / 5.2.1) |
3041
| --- | --- | --- |
31-
| Base triangles | 6200–8200 | 6408 / 6408 / 6408 |
42+
| Base triangles | 6200–8200 | 6840 / 6840 / 6840 |
3243
| LOD1 ratio | 0.32–0.62 of base | 0.5000 / 0.5000 / 0.5000 |
33-
| LOD2 ratio | 0.10–0.35 of base | 0.2197 / 0.2197 / 0.2185 |
44+
| LOD2 ratio | 0.10–0.35 of base | 0.2199 / 0.2199 / 0.2187 |
3445
| Materials | exactly 3 distinct; ≥80 metal, ≥40 roof faces | 3 slots; 300 metal, 126 roof |
3546
| UVs | in `0..1`, AABB overlap ≤ 1e-5 | in range, overlap 0 |
3647
| Outer AABB | (1.594, 1.594, 2.973) m ± 0.01 | (1.5940, 1.5940, 2.9731), zmin 0 |
3748
| Collider tris | ≤ 180 | 150 |
38-
| Export | written, size > 0 | 464572 / 464572 / 464560 bytes |
49+
| Export | written, size > 0, removed after measuring | 494508 / 494508 / 494492 bytes |
3950

40-
Base triangles rose from **5220 to 6408** in the quality pass: a taller
41-
eave-true roof and coursed shakes, not hidden interior faces.
51+
Base triangles rose from **5220 to 6408** in the first quality pass (a
52+
taller eave-true roof and coursed shakes) and to **6840** in the second
53+
(four deck girts), not hidden interior faces.
4254

4355
### Hygiene
4456

@@ -60,20 +72,24 @@ Recomputed from the generated mesh, not asserted about the script.
6072

6173
| Axis | Declared | Measured (all three) |
6274
| --- | --- | --- |
63-
| Rail-to-post engage | ≥ 0.012 m | 0.0180 |
75+
| Rail-to-post engage (back rails) | ≥ 0.012 m | 0.0180 |
76+
| Side-rail engage: 4 side rails, each tenoned into the front and the back post | ≥ 0.012 m at both ends | 0.0180 |
77+
| Deck bearing: 4 deck girts; each of 2 joists inside the front and the back girt | ≥ 0.012 m at both ends | 0.0315 |
6478
| Girt-collar standoff | ≤ 0.010 m | 0.00200 |
6579
| Post plumb (XY drift) | ≤ 0.010 m | 0.00000 |
6680

6781
DECIMATE COLLAPSE triangle counts are **not** identical across series —
6882
5.2.1 is leaner on LOD2. The gate is a ratio band, not an exact count.
6983
Bake pixels are stochastic; the gate is `has_data` plus operator
70-
`FINISHED`, not byte-identity. Construction uses no RNG. Export byte
71-
counts differ by 12 B on 5.2.1 (glTF serializer), not a gated axis.
84+
`FINISHED`, not byte-identity. Construction uses no RNG; the per-piece
85+
wood tone is drawn from a seeded `random.Random(TONE_SEED)`, the same
86+
every run. Export byte counts differ by 16 B on 5.2.1 (glTF serializer),
87+
not a gated axis.
7288

7389
### Falsifiers
7490

75-
Each violates one named budget. All eight were run on 4.5.11, 5.1.2 and
76-
5.2.1 and returned the same code on each.
91+
Each violates one named budget. Every falsifier was run on 4.5.11,
92+
5.1.2 and 5.2.1 and returned the same code on each.
7793

7894
| Flag | Budget violated | Exit |
7995
| --- | --- | --- |
@@ -82,6 +98,8 @@ Each violates one named budget. All eight were run on 4.5.11, 5.1.2 and
8298
| `--lift-z` | bounding box `zmin` is 0 | 16 |
8399
| `--short-shoes` | named shoe supports at Z=0 | 16 |
84100
| `--short-rails` | rail-to-post joint fit | 17 |
101+
| `--open-sides` | side-rail engage (front ends stop 0.30 m short again: −0.2460 m) | 17 |
102+
| `--short-joists` | deck bearing (joists back to the old span, girts kept: −0.1625 m) | 17 |
85103
| `--float-band` | iron-collar seat | 18 |
86104
| `--rake-posts` | post plumb | 19 |
87105

@@ -94,6 +112,8 @@ blender --background --python watchtower.py -- --stray-vert
94112
blender --background --python watchtower.py -- --lift-z
95113
blender --background --python watchtower.py -- --short-shoes
96114
blender --background --python watchtower.py -- --short-rails
115+
blender --background --python watchtower.py -- --open-sides
116+
blender --background --python watchtower.py -- --short-joists
97117
blender --background --python watchtower.py -- --float-band
98118
blender --background --python watchtower.py -- --rake-posts
99119
blender --background --python watchtower.py -- --output tower.png
@@ -126,6 +146,6 @@ hygiene and joint-fit family.
126146
| 14 | `--output` produced no file |
127147
| 15 | Mesh hygiene: loose, non-manifold, zero-area, doubles, n-gons, z-fight |
128148
| 16 | Not grounded: bounding box `zmin` off 0, or a named shoe floats |
129-
| 17 | Joint fit: rail-to-post engage |
149+
| 17 | Joint fit: rail-to-post engage, side-rail engage, or deck bearing |
130150
| 18 | Seat: girt-collar standoff |
131151
| 19 | Post plumb or plan off the stated real-world size |

‎showcase/watchtower/preview.webp‎

-114 Bytes
Loading

0 commit comments

Comments
 (0)