Phase 0.3-0.5: SVG export + YAML sidecars + asset catalog

- Add hair class KeyMap entries (基髪→BaseHair, 前髪→FrontHair, 胸毛→ChestHair)
- Implement cardinal spline → cubic Bezier SVG export for all 175 body parts
- Generate YAML sidecar files (part.yaml) per part with metadata
- Write Catalog.yaml index for runtime asset loading
- Output to SlaveMatrix/Assets/Parts/{EnglishName}/ structure
- Each part directory contains part.yaml + x{x}y{y}.svg morph variants
- 838 SVGs across 324 morph variants, 175 sidecars, 1 catalog
- Extraction tool now serves as the asset build pipeline step
This commit is contained in:
2026-06-13 17:56:01 +02:00
parent fb0ff502f0
commit 58f3bf6884
1070 changed files with 83799 additions and 32 deletions

View File

@@ -0,0 +1,81 @@
id: 獣翼手
original_key: 獣翼手
resource: 腕左
morph_x: 1
morph_y: 1
variants:
- x: 0
y: 0
file: x0y0.svg
fields:
- name: 獣翼手
- name: 小指
- name: 薬指
- name: 中指
- name: 人指
- name: 親指
joints:
- position: [
0.025869513763316348,
0.0213463008074538
]
- position: [
0.02482061760817785,
0.025170617919290133
]
- position: [
0.02487291352584359,
0.02908077329557468
]
- position: [
0.025941694433790165,
0.0330701639928882
]
- position: [
0.033960241301852434,
0.024589913377167212
]
- position: [
0.02919113634614391,
0.026303360831631654
]
- position: [
-0.010986134205789276,
0.07313938359780789
]
- position: [
-0.000758488615099126,
0.07313938359780789
]
- position: [
-0.01498110699408866,
0.07313938359780789
]
- position: [
-0.005092048834113606,
0.07313938359780789
]
- position: [
-0.01780256154341884,
0.0731393835978079
]
- position: [
-0.013125436202656611,
0.07313938359780812
]
- position: [
0.0013141060765493179,
0.0731393835978079
]
- position: [
0.009946505007002067,
0.07313938359780785
]
- position: [
0.025983685667462952,
0.04986241492609861
]
- position: [
0.03313482505327103,
0.05013733364413622
]