diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/evidence/p75-analysis.txt | 15 | ||||
| -rw-r--r-- | docs/evidence/p75-hud-day.png | bin | 0 -> 100778 bytes | |||
| -rw-r--r-- | docs/evidence/p75-hud-night.png | bin | 0 -> 100226 bytes | |||
| -rw-r--r-- | docs/维护说明.md | 15 |
4 files changed, 30 insertions, 0 deletions
diff --git a/docs/evidence/p75-analysis.txt b/docs/evidence/p75-analysis.txt new file mode 100644 index 0000000..ea3ab62 --- /dev/null +++ b/docs/evidence/p75-analysis.txt @@ -0,0 +1,15 @@ +P75(HUD 顶部条去整宽深色带 → 紧凑半透明药丸)证据分析 — 真实 Desktop xvfb 1280x720 +钩子:LV_P43_SHOT=1(同机位昼 12:00 / 夜 23:30) +判据:顶部条 y<36 近黑占比 vs 整宽深色带基线(100%)下降 >90%,文字亮像素仍在 + +log: p43-shot=p43-hud-day tick=2592000 calendar=1128,47,140,52 +log: p43-shot=p43-hud-night tick=5076000 calendar=1128,47,140,52 + +p43-hud-day.png: size=1280x720 strip_dark_px=1205/46080 dark_frac=0.026 drop_vs_full_band=97.4% dark_block_24=160 bright_px=1570 +p43-hud-night.png: size=1280x720 strip_dark_px=1262/46080 dark_frac=0.027 drop_vs_full_band=97.3% dark_block_24=152 bright_px=1163 + +diff p43-hud-day vs p43-hud-night: differing_pixels=921386 + +verdict=PASS + baseline full-width dark band = 46080 px (frac 1.000). + both strips are mostly scene/pill, no near-black block, and text/icons remain bright. diff --git a/docs/evidence/p75-hud-day.png b/docs/evidence/p75-hud-day.png Binary files differnew file mode 100644 index 0000000..576d757 --- /dev/null +++ b/docs/evidence/p75-hud-day.png diff --git a/docs/evidence/p75-hud-night.png b/docs/evidence/p75-hud-night.png Binary files differnew file mode 100644 index 0000000..148f23e --- /dev/null +++ b/docs/evidence/p75-hud-night.png diff --git a/docs/维护说明.md b/docs/维护说明.md index 3064e1a..e1a81fa 100644 --- a/docs/维护说明.md +++ b/docs/维护说明.md @@ -221,6 +221,21 @@ dotnet src/LivingVillage.Headless/bin/Release/net8.0/LivingVillage.Headless.dll - **证据**:`LV_P74_SHOT=1`(60Hz 固定步进,splash 帧表 8/30/60/100/140 各一帧)→ `scripts/analyze-p74.py` 断言帧号/墨幕非增/无大黑块/两两 pixel diff>0,落 `docs/evidence/p74-*`。 +## P75 HUD 顶部条信息层次(去整宽深色带) + +- 现状(P16/P43):整宽竖向渐变深色带(`barHeight=36`,alpha 200/205)+ 每段药丸。P75 把整宽 + 深色带去掉,信息只由**紧凑半透明药丸**承载:`palette.BarTop/BarBottom` alpha 置 0(字段保留兼容), + `DrawHudBar` 不再铺整条底色与整宽 accent 带,改画每段 `segmentBackdrop` + 新增 `pillHairline` + 1px 强调发丝线。小图标(7×7 点阵)+ 数值并排、左右各留 6px、右侧大面积留白。 +- 纯布局 API 与语义不变:`segments/layout/segmentBackdrop/textOrigin/iconRows`、面板状态机与快捷键 + 全部保留;中文仍走 CJK 字形图集。日期卡(`calendarCardRect` 在条下 `+accent+8`)与浮动提示避让 + 不受影响。 +- **回归**:`P75HudStripTests`(昼/夜整宽带 alpha=0、药丸比条矮且在条内、发丝线 1px 在药丸内、 + HUD 只占左半留白充足、日历卡不压条、亮字 vs 深描边对比、图标+数值并排)。 +- **证据**:`LV_P43_SHOT=1`(同机位昼 12:00 / 夜 23:30)→ `scripts/analyze-p75.py`:顶部条近黑占比 + ~2.6%(相对整宽深色带基线 100% 下降 >97%)、无实心 24×24 黑块、亮字像素 >1000,落 + `docs/evidence/p75-*`。 + ## P17 批验:场景细节 / 人物动效 / 昼夜光照精修 - ①街边中式细节物:`scripts/make-jiangnan-art.py` 世界图集由 25 格扩到 28 格(新增 slot 25 石灯笼 / |
