Files
aetherbound-guild/docs/runtime/m57_ui_chrome_provenance/REPORT.md
T
wushenghua 67b5e3fda0 fix(m57-c): keep header values inside the band face and repaint settings
The first header value started at the authored slot edge, which now sits on the
parchment band's corner bracket, so the title overlapped the trim. Header
labels are clamped to the band face (edge fraction plus a small pad) in both
locales. The header settings control was still a flat angular utility plate;
it now uses a compact member of the same hand-drawn plate family with the
engine-rendered settings glyph, so the top row carries no vector chrome.
2026-09-13 16:21:02 +08:00

2.4 KiB

M57 UI chrome generation record

Source generations for the shared per-region materials in runtime/ui/shared/page_chrome.gd. The raw images are the untouched 21:9 model outputs; magenta is the chroma-key background and is not part of any runtime asset.

Raw Model / prompt intent Runtime asset Normalisation
plate_cream_raw.jpg wide cream command plate, carved wood frame, gold trim, corner studs command_plate_secondary.png key FF00FF (tol 44), trim alpha, nine-patch normalise to 2.75:1 at edge margins 0.062 / 0.235
plate_green_raw.jpg same plate in deep warm green command_plate_primary.png same as above
plate_utility_raw.jpg compact square member of the same plate family, for the header settings control command_plate_utility.png key + trim, nine-patch normalise to 1.41:1 at edge margins 0.115 / 0.15
derived desaturated and darkened from the cream plate command_plate_disabled.png same as above
chrome_panel_raw.jpg wide parchment card, deckled edge, thin gold trim with corner brackets panel_parchment.png key + trim, nine-patch normalise to 6:1, margins 0.055 / 0.15
chrome_dock_raw.jpg wide dark teal painted wooden rail with gold top line dock_rail.png key + trim, nine-patch normalise to 14:1, margins 0.022 / 0.20
chrome_badges_raw.jpg three round enamel badges, red / amber / teal, gold rim, no mark badge_warning.png, badge_notice.png, badge_info.png key + 3-cell slice + trim, scaled to 44 px; the ! / i marks are drawn by the engine

Nine-patch normalisation keeps the four corner patches and the four edge runs at their source proportions and stretches only the centre, so the material can serve a 13.8:1 warning row and a 6:1 summary card without deforming the corner ornament. All runtime assets import with mipmaps/generate=true because the wide aspect ratios force heavy minification at small viewports.

Commands used (image generation goes through the image-gen skill script):

python3 ~/.agents/skills/image-gen/scripts/generate_image.py --model gpt-image-2-2K \
  --aspect-ratio 21:9 --prompt "<see table>" --name <name> --no-wait --manifest <manifest>
python3 ~/.agents/skills/image-gen/scripts/generate_image.py --collect <manifest> --out-dir .

These are original generations for this project; no third-party commercial asset was used.