medieval-kit/my-registry/models
CRT 5db9a1bb19 Add the oak
The first thing in this kit that grew rather than got made, and the first one
built entirely against reference photographs from the start rather than after
three rounds of guessing.

Two references, generated with the same Codex tool the rest of the kit now
uses: one oak in full leaf and the same tree bare. Both of them contradicted
what I was about to build, and the default lowpoly tree -- a tall pole with a
ball on it -- turns out to be wrong in every measurement that matters.

  crown width / tree height     1.32 to 1.43.  An open-grown oak is half again
                                as WIDE as it is tall. Nothing else in this kit
                                is wider than it is tall.
  widest at                     24% of the height. Not halfway up: a quarter,
                                just above the ground, because the lowest limbs
                                are the longest and leave almost horizontally.
  bole runs to                  72% of the height as one continuous stem. It
                                does not fork low into equal leaders, which is
                                what the leafy photograph alone suggested and
                                the winter one disproved.
  bole width / height           0.130 at 2% of the height, 0.073 at 10%. It
                                nearly halves in the bottom tenth and then
                                barely tapers at all for a quarter of the tree.

The taper table in the model is those rows, read off the photograph one at a
time. The limbs SWEEP -- out at a shallow angle, turning up at the end -- which
comes free from bending each limb along its own axis before rotating it into
place, and which cost a correction I had not expected: bending a limb swings
its whole chord up by half the arc, so every limb was arriving 0.21 rad high
and the crown's widest point had climbed to 38%. Aiming low by exactly what the
bend will lift is the fix, and it is a constant.

Measuring is the whole story of this one. `scripts/probe-tree.ts` prints the
four reference numbers off the built geometry the same way they came off the
photographs, plus one a photograph cannot give: how many separate pieces the
crown is in. A crown is one piece. This one was four, then one, then two, then
one again, and the flood fill was right every time my eye was vague.

Four things it caught that looking would not have:

  - Forks throwing DOWNWARD. The rise of a fork is sin(splay) * sin(spin), so
    the sign of the PRODUCT decides it. I constrained the spin and alternated
    the splay, which left every second fork pointing at the floor. The
    measurement said so plainly while the reasoning said the opposite.
  - The crown torn in two, and not where I kept looking. Locating the loose
    piece -- height 10-64%, bearing 228-313, reaching 5.7 m where the main mass
    stopped at 4.5 -- ended four rounds of widening clumps and evening out
    bearings, none of which were the gap. The gap was the MIDDLE: pushing the
    leaves outboard to open the space under the crown had taken the inside out
    with it, and nine lobes hung off a bare hub. The reference's crown is full
    from the bole outward; the clear space is underneath.
  - Occlusion, exonerated. Turning it off entirely changed the clipping by
    nothing at all, which took two minutes and saved a redesign.
  - My own metric, wrong twice. It counted every dark pixel in the crown's box
    and 87% of what it found was the cast shadow, so it read 10.8% clipping on
    a crown that was barely clipping. And it measured the reference by row
    width but our own geometry by twice its radius, which is a different
    quantity on anything that is not symmetric.

Colour is measured too, and the measurement contradicted me again: I was about
to bake a top-to-bottom gradient into the crown, and sampled in three bands the
reference reads 0.362, 0.336, 0.324 -- no gradient at all. What is there is
local, a spread of 0.45 in lightness within one band. Foliage varies leaf to
leaf, not top to bottom. Chasing that 0.45 with tint, mottle and occlusion all
at once put 2.2% of the crown through the floor into pure black against the
reference's 0.19%, which is the straw trap for the third time: a statistic taken
off fine detail cannot be added on top of the machinery that already
reproduces it.

The bark is measured off the WINTER photograph after the summer one gave a
colour 28 degrees too green -- a trunk under a full crown is lit through the
leaves. Low saturation made it worse than the hue did: a nearly neutral colour
takes its hue from its light, and this renderer's blue-grey sky dragged the
rendered bole to hue 119 on a tree whose bark is brown.

Finished: hue 79.6 against 77.9, saturation 0.386 against 0.381, lightness
0.386 against 0.373, 0.00% clipped. Crown 1.325 wide for its height, in one
piece, hanging from 8% where the reference hangs from 11%.

The honest limits. What fills a real winter silhouette is thousands of twigs
and no budget here reaches them, so `leafiness: 0` is a bare tree of LIMBS --
a good dead or winter tree, not a photograph of one. And the crown still
carries more of its width high than the reference does: widest at 50% against
24%, on a reference profile that is nearly flat from 24 to 44 so the peak is
softer than the number sounds.

2310 triangles, inside the kit's 2500 budget, which cost a side off every clump
and a level off every fork -- but not one clump, because the count is what
holds the crown together. 35 models, 31 404 triangles, thirteen material slots,
all checks pass, 0 floating cases, GLB round-trip clean, Conformant.
2026-08-23 12:47:21 +00:00
..
bronze-bell Stand the bell's frame clear of the bell, and stop painting it brass 2026-08-22 07:02:22 +00:00
cart-wheel Stop createTinter sharing one Color, and fix what that was hiding 2026-08-23 05:10:20 +00:00
coin-pouch Land the spilled coins, plane the bench's tenons, and sharpen the support check 2026-08-23 06:23:09 +00:00
core Add the oak 2026-08-23 12:47:21 +00:00
forge-hearth Stand the bellows on something 2026-08-23 10:19:23 +00:00
glass-phial Enforce "nothing floats", and rebuild the barrel from a reference photo 2026-08-21 12:23:11 +00:00
hand-cart Add the cauldron and the handcart 2026-08-23 07:57:31 +00:00
hay-bale Give the bale back its cylinder, and its cords back their thickness 2026-08-22 06:30:48 +00:00
iron-anvil Put the anvil on the block it is used on 2026-08-23 04:13:46 +00:00
iron-cauldron Add the cauldron and the handcart 2026-08-23 07:57:31 +00:00
iron-lantern Give the tankard a handle you could hold, and the lantern one at all 2026-08-22 04:54:54 +00:00
leather-book Bind the book the way a board binding is bound, and soften the pouch 2026-08-23 05:04:00 +00:00
linen-sack Reshape the sack so it stops being an amphora 2026-08-22 07:05:31 +00:00
log-pile Land the spilled coins, plane the bench's tenons, and sharpen the support check 2026-08-23 06:23:09 +00:00
oak-tankard Give the tankard a handle you could hold, and the lantern one at all 2026-08-22 04:54:54 +00:00
oak-tree Add the oak 2026-08-23 12:47:21 +00:00
pitch-torch Stop createTinter sharing one Color, and fix what that was hiding 2026-08-23 05:10:20 +00:00
post-mill Add the cauldron and the handcart 2026-08-23 07:57:31 +00:00
round-shield Finish the shield and the forge 2026-08-23 09:59:06 +00:00
stone-well Add the stone well, and stone to the palette 2026-08-23 07:18:08 +00:00
straw-broom Make the besom spray, and stop cutting its twigs to one length 2026-08-22 06:25:08 +00:00
tavern-sign Hang the tavern sign along its arm instead of across it 2026-08-23 06:30:04 +00:00
trestle-table Thicken the bench and the table, and cut the arch into the bench's legs 2026-08-23 04:51:01 +00:00
vegetables Add the vegetable heap 2026-08-23 08:21:08 +00:00
wicker-basket Close the basket's weave, fill it, and stop calling willow straw 2026-08-22 05:08:56 +00:00
wooden-barrel Enforce "nothing floats", and rebuild the barrel from a reference photo 2026-08-21 12:23:11 +00:00
wooden-bench Land the spilled coins, plane the bench's tenons, and sharpen the support check 2026-08-23 06:23:09 +00:00
wooden-bucket Translate the whole repository to English 2026-08-21 07:35:13 +00:00
wooden-chest Translate the whole repository to English 2026-08-21 07:35:13 +00:00
wooden-crate Translate the whole repository to English 2026-08-21 07:35:13 +00:00
wooden-fence Translate the whole repository to English 2026-08-21 07:35:13 +00:00
wooden-hoe Build the hoe's blade as a dished sheet instead of a bent box 2026-08-23 04:57:59 +00:00
wooden-ladder Enforce "nothing floats", and rebuild the barrel from a reference photo 2026-08-21 12:23:11 +00:00
wooden-pitchfork Make the wooden tools wooden, and give the spade its handle 2026-08-23 04:21:37 +00:00
wooden-shovel Make the wooden tools wooden, and give the spade its handle 2026-08-23 04:21:37 +00:00
wooden-stool Translate the whole repository to English 2026-08-21 07:35:13 +00:00