aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-07-18 15:36:25 +0300
committerValentin Popov <valentin@popov.link>2026-07-18 15:36:25 +0300
commite0f0e4a18ef9f2b6ca34917d4436e42eeb7f1eb1 (patch)
tree3f63ee99749bab991567ca65ad89c9179c727edf /docs
parent1a8e1eaed1de540367bad377e72d228153d8cec6 (diff)
downloadfparkan-e0f0e4a18ef9f2b6ca34917d4436e42eeb7f1eb1.tar.xz
fparkan-e0f0e4a18ef9f2b6ca34917d4436e42eeb7f1eb1.zip
feat(terrain): inspect packed material tags
Diffstat (limited to 'docs')
-rw-r--r--docs/tomes/05-render.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/tomes/05-render.md b/docs/tomes/05-render.md
index 45bb058..d9bae22 100644
--- a/docs/tomes/05-render.md
+++ b/docs/tomes/05-render.md
@@ -1538,6 +1538,23 @@ temporary vertex buffers или заменять render representation. UI/shell
диагностики полезно уметь сохранять world-only command list и финальный
framebuffer отдельно.
+Terrain material discovery is now reproducible instead of inferred from the
+mesh shape. The original AutoDemo map places two textual sidecar WEAR tables,
+`Land1.wea` and `Land2.wea`, beside `Land.msh`; `Terrain.dll` contains the
+corresponding `1.wea` and `2.wea` loading suffixes. The new terrain inspector
+reports all packed face tags. For `DATA/MAPS/AutoMAP/Land.msh`, its 3,174 faces
+use `0x0102` (592), `0x0203` (386), `0xff01` (918), `0xff02` (970), and
+`0xff03` (308). The low byte is always a valid positional selector 1..3 in
+`Land2.wea`; the high byte is a `Land1.wea` selector or sentinel `0xff`.
+This is evidence for a two-layer terrain-material contract, but not yet for
+its blend equation, so the Vulkan bridge intentionally remains texture-agnostic
+until the base/overlay composition is recovered.
+
+```powershell
+cargo run -q -p fparkan-cli -- terrain inspect `
+ 'C:\GOG Games\Parkan - Iron Strategy\DATA\MAPS\AutoMAP\Land.msh' --format json
+```
+
## Проверки паритета
Главные риски совпадения кадра: