Skip to content

Commit 8fc90b5

Browse files
TMHSDigitalclaude
andcommitted
fix(showcase): paint hand-pump green enamel and rim-light its silhouette
The near-black iron vanished into the dark stage; only the plinth read. The iron is now dark green enamel (0.020, 0.150, 0.075; metallic 0.25, roughness 0.42) with rust wear at the edges and pores. A cool rim light, aimed at the column rather than the backdrop, lifts the column, handle and spout silhouettes. The key is tighter and the fill brighter. The material count and slots are unchanged, as are geometry, budgets and checks. The camera stays where it was: moving closer pushed the tall pump past the 0.90 fill ceiling (y=0.978). Evidence (live runs, local; E:\Blender-Developer-Tools\.scratch binaries): - blender-5.2.1-windows-x64 (Blender 5.2.1 LTS) and blender-4.5.11-windows-x64 (Blender 4.5.11 LTS): default exit 0 on both. Falsifiers on both: --skip-decimate 9, --stray-vert 15, --lift-z 16, --float-spout 17, --float-flange 18, --skinny-col 19. - Framing (5.2.1): fill x=0.175 y=0.844, framing_ok. - Contact sheet: luma 0.257, stage 0.242, warmth -0.098, sat 0.156. - Asset sheet (docs/gallery/asset-sheets/hand-pump.webp): the pump now reads as a painted object, but it is still a thin column and among the simplest in the lineup. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 323ce64 commit 8fc90b5

8 files changed

Lines changed: 25 additions & 10 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Budget-conformance props. Not examples. Conventions: [`showcase/README.md`](show
126126
<a href="showcase/water-trough/"><img src="showcase/water-trough/preview.webp" width="24%" alt="Water trough: a watertight wooden trough with plank ends, contained water, and trestle legs on a dark studio floor" /></a>
127127
<a href="showcase/hitching-post/"><img src="showcase/hitching-post/preview.webp" width="24%" alt="Hitching post: a square timber post with a pyramidal cap, cross-arm, iron bands wrapped around it, two hitching rings and a nailed horseshoe on a dark studio floor" /></a>
128128
<a href="showcase/grindstone/"><img src="showcase/grindstone/preview.webp" width="24%" alt="Grindstone: a stone wheel on a timber A-frame with an iron axle, hubs, crank, and tray on a dark studio floor" /></a>
129-
<a href="showcase/hand-pump/"><img src="showcase/hand-pump/preview.webp" width="24%" alt="Hand pump: a matte black cast-iron village pump on a stepped wooden plinth with a spout and handle on a dark studio floor" /></a>
129+
<a href="showcase/hand-pump/"><img src="showcase/hand-pump/preview.webp" width="24%" alt="Hand pump: a green-enamelled cast-iron village pump on a stepped wooden plinth with a spout and handle on a dark studio floor" /></a>
130130
<a href="showcase/signpost/"><img src="showcase/signpost/preview.webp" width="24%" alt="Signpost: a timber crossroads post with three painted fingerboards lettered MILLBROOK 2, OAKHAM 5 and FORD 1, iron straps, and a pyramidal cap on a dark studio floor" /></a>
131131
<a href="showcase/chopping-block/"><img src="showcase/chopping-block/preview.webp" width="24%" alt="Chopping block: a bark-sided log round with growth rings and drying checks on its sawn top, a riveted iron hoop, and a felling axe buried in the top, on a dark studio floor" /></a>
132132
<a href="showcase/wooden-bucket/"><img src="showcase/wooden-bucket/preview.webp" width="24%" alt="Wooden bucket: a coopered pail with a three-strand rope bail through iron ear rings and chord-lofted iron hoops on a dark studio floor" /></a>
50.3 KB
Loading
4.59 KB
Loading
3.94 KB
Loading

‎showcase/gallery.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
"name": "hand-pump",
235235
"dir": "showcase/hand-pump",
236236
"teaches": "A procedural village hand pump whose gooseneck is a 6-gon tube from the lower-column radius, through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract.",
237-
"alt": "A matte black cast-iron village hand pump with a curved spout and lever handle on a stepped wooden plinth.",
237+
"alt": "A green-enamelled cast-iron village hand pump, rust worn at its edges, with a curved spout and lever handle on a stepped wooden plinth.",
238238
"witnessesFix": "Recomputed: 1064 tris, two materials with 564 metal and 144 wood faces, UVs in 0..1 with zero AABB overlap, outer AABB 0.610×0.382×1.052 m, grounded zmin, spout-to-column gap 2.7 mm, flange-to-plinth gap 6.0 mm, column radius 62 mm, LOD ratios in band, convex collider 114 tris, hygiene all zero, non-empty glTF. --skip-decimate exits 9; --stray-vert 15; --lift-z 16; --float-spout 17; --float-flange 18; --skinny-col 19.",
239239
"hero": "docs/gallery/assets/hand-pump-hero.webp",
240240
"preview": "showcase/hand-pump/preview.webp",

‎showcase/hand-pump/README.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,10 @@ The quality pass found no geometric defect: every joint checked in the
6060
inspection sheet (spout root, flange bolts, head and handle pivot,
6161
column step, plinth) seats as the joint budgets say. The defects were
6262
on the surface. The iron was polished metal (metallic 1.0, roughness
63-
0.38) and read as chrome; it is now near-black painted cast iron with
64-
dark rust in the pores. The plinth slabs and the handle grip carry their
63+
0.38) and read as chrome; the next pass painted it near-black, which
64+
vanished into the dark stage. It is now dark green enamelled cast iron
65+
with rust in the pores and at the edges, and a cool rim light aimed at the
66+
column lifts its silhouette off the backdrop. The plinth slabs and the handle grip carry their
6567
own wood tone and grain. The stage grid grew from 14 to 60 m, because
6668
the wall's left edge showed in the corner of the hero. The temp `.glb`
6769
is removed after its size is measured. With no new geometric defect,

‎showcase/hand-pump/hand_pump.py‎

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -697,14 +697,16 @@ def wood_material(name):
697697
def pump_materials():
698698
"""(wood, iron): shared by the check, the render and inspection.
699699
700-
A cast-iron pump is painted near-black and weathers to rust at the
700+
A cast-iron village pump is painted in dark green enamel and weathers
701+
to rust at the
701702
edges and pores; the first build was polished metal (metallic 1.0,
702-
roughness 0.38) and read as chrome.
703+
roughness 0.38) and read as chrome; the second build's near-black
704+
paint vanished into the dark stage.
703705
"""
704706
wood = wood_material("HandPumpWood")
705707
metal = principled(
706-
"HandPumpIron", (0.045, 0.047, 0.050, 1.0), 0.55, 0.52,
707-
noise_scale=24.0, wear=(0.09, 0.05, 0.03, 1.0),
708+
"HandPumpIron", (0.020, 0.150, 0.075, 1.0), 0.25, 0.42,
709+
noise_scale=24.0, wear=(0.16, 0.065, 0.025, 1.0),
708710
)
709711
return wood, metal
710712

@@ -1292,8 +1294,19 @@ def light(name, loc, energy, size, col, rot):
12921294
ob.rotation_euler = tuple(math.radians(a) for a in rot)
12931295
scene.collection.objects.link(ob)
12941296

1295-
light("Key", (-3.6, -5.0, 5.4), 660.0, 4.0, (1.0, 0.94, 0.86), (50, 0, -36))
1296-
light("Fill", (5.0, -3.4, 2.4), 46.0, 8.0, (0.72, 0.82, 1.0), (62, 0, 50))
1297+
light("Key", (-3.6, -5.0, 5.4), 620.0, 3.0, (1.0, 0.94, 0.86), (50, 0, -36))
1298+
light("Fill", (5.0, -3.4, 2.4), 60.0, 8.0, (0.72, 0.82, 1.0), (62, 0, 50))
1299+
# cool rim from behind: lifts the column, handle and spout silhouettes
1300+
# off the dark backdrop, where the first hero lost them
1301+
rim = bpy.data.lights.new("Rim", "AREA")
1302+
rim.energy = 140.0
1303+
rim.size = 1.2
1304+
rim.color = (0.62, 0.78, 1.0)
1305+
rim_ob = bpy.data.objects.new("Rim", rim)
1306+
rim_ob.location = (-1.1, 1.6, 1.9)
1307+
# aimed at the column so it grazes the silhouette, not the backdrop
1308+
rim_ob.rotation_euler = (Vector((0.0, 0.0, 0.7)) - rim_ob.location).to_track_quat("-Z", "Y").to_euler()
1309+
scene.collection.objects.link(rim_ob)
12971310
light("Wedge", (2.2, 4.0, 3.8), 600.0, 5.5, (1.0, 0.70, 0.40), (-70, 0, 198))
12981311

12991312
cam_data = bpy.data.cameras.new("Cam")

‎showcase/hand-pump/preview.webp‎

4.26 KB
Loading

0 commit comments

Comments
 (0)