Light effects: entry glow patch size, add-blended layers drawn additively #21

Merged
Yonokid merged 9 commits from GanYiZhong/YataiDONNijiiro:light-effects into main 2026-09-10 19:32:10 +02:00
9 Commits
Author SHA1 Message Date
TaikoZhongandClaude Fable 5.1 111269bc65 Result: the shinuchi SCORE caption is plain white too
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-11 00:38:33 +08:00
TaikoZhongandClaude Fable 5.1 f6f87682ea Result: the スコア / SCORE caption is plain white on the cabinet
The caption textures carried a heavy dark outline; the cabinet's board header
shows the caption in plain white.  Re-rendered with the skin font, white fill,
no outline, same size and position as before.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-10 06:50:12 +08:00
TaikoZhongandClaude Fable 5.1 9c3c5c49f3 Result: centre the スコア caption on the board's header band
The caption sat at y 281, which put its glyphs at 290..321 on a header band
that spans 284..314, so the bottom of the text spilled onto the body of the
board.  At y 274 the glyphs sit at 283..314, centred on the band.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-10 06:21:18 +08:00
TaikoZhongandClaude Fable 5.1 818036e505 Fever backdrops: export the steady state, not the transition's parked copies
The fever movies' root timeline is a state machine: frame 0 (`init`) parks the
fly-in copies of the transition -- a second sky plate, the wave scrollers, the
boats -- at alpha 0, and the steady state is the `fever` label, where only
fever_mc remains.  The export took the root's frame-0 children and forced the
parked ones visible, so the third backdrop drew its sky and its big waves twice
(one row over the other) and the boats and Mt Fuji ended up behind an extra wave
layer.  movie_export now takes the root's children at the `fever` label and only
the ones shown there; all three fever backdrops re-exported.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-10 06:10:36 +08:00
TaikoZhongandClaude Fable 5.1 3887a9f288 Fever backdrop 3: stop painting the movie's mask plate
bg_fever_a_03 places a full-stage plate at fever_mc depth 4 with a clip depth:
it is a mask that only clips the layer above it and is never painted, but the
export drew it as an ordinary leaf, which put a flat green sheet over the sky.
movie_export now skips placements that carry a clip depth; re-exported, the
plate and its texture are the only change.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-10 03:34:02 +08:00
TaikoZhongandClaude Fable 5.1 54c33d4475 Entry: bake the warm glows as two non-overlapping patches
The four pre-composited patches overlapped (2 and 3 by 31 px, and after the
size fix 0 and 2 as well), and where they overlapped the later patch replaced
the earlier one's glow instead of adding to it, which showed as a vertical dark
band between the lamps.  The glows are now summed onto the backdrop once and
cut into two boxes that do not touch: the left lamp, and the three right-hand
lamps together.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-10 03:30:55 +08:00
TaikoZhong fd0242e31e Update checksums.sha256 for the changed textures and scripts 2026-09-10 03:30:03 +08:00
TaikoZhongandClaude Fable 5.1 4d3127d9ea Replay the cabinet's add-blended light effects as additive
The exported clips and backdrop movies were drawn source-over everywhere, but the
cabinet places a number of glow layers with its add blend mode: the lantern glows
of the lower backdrops (bg_nomal_a_01..05), the crown's radial burst, the score
rank plate's effect copy, and the full-combo / donderful letter glows.  Drawn
source-over, those textures show up as dark or grey patches.

- movie_export / clip_export record the placement's blend mode (`blend = 8` on a
  backdrop leaf, an 8th row value on a clip leaf; the root placement's mode is
  folded into its group), and bg_anim / clip_player / ending draw such leaves
  with blend = "additive".  Data re-exported; only the blend field changed.
- result_crown: the burst copies draw additively; the crown_loop shine sweep is a
  plain white polygon on the cabinet, so gleam frames 0..2 are white now instead
  of the atlas colour they were exported with.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-10 01:49:19 +08:00
TaikoZhongandClaude Fable 5.1 acfc59c69e Entry: give the four warm-glow patches one common size
The engine sizes every frame of a folder texture like frame 0 (source rect and
default x2/y2), so the 177x311 and 233x233 patches were being stretched to
216x311 and their edges showed as boxes around the lamps.  Each patch is now
padded to 233x311 with the untouched backdrop around it; the patch is bg + glow,
so the extra backdrop is invisible at any fade.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-10 01:49:17 +08:00