- 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
29 lines
382 B
YAML
29 lines
382 B
YAML
id: BaseHair
|
|
original_key: 基髪
|
|
resource: 胴体
|
|
morph_x: 1
|
|
morph_y: 1
|
|
variants:
|
|
- x: 0
|
|
y: 0
|
|
file: x0y0.svg
|
|
fields:
|
|
- name: 髪
|
|
joints:
|
|
- position: [
|
|
0.3496084009802555,
|
|
0.3484280984670132
|
|
]
|
|
- position: [
|
|
0.39187296969485164,
|
|
0.3484280984670132
|
|
]
|
|
- position: [
|
|
0.37074068533755355,
|
|
0.3369604475899917
|
|
]
|
|
- position: [
|
|
0.37074068533755355,
|
|
0.34104165692268584
|
|
]
|