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:
29
SlaveMatrix/Assets/Parts/目左/part.yaml
Normal file
29
SlaveMatrix/Assets/Parts/目左/part.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
id: 目左
|
||||
original_key: 目左
|
||||
resource: 胴体
|
||||
morph_x: 1
|
||||
morph_y: 1
|
||||
variants:
|
||||
- x: 0
|
||||
y: 0
|
||||
file: x0y0.svg
|
||||
fields:
|
||||
- name: 白目
|
||||
- name: 黒目
|
||||
joints:
|
||||
- position: [
|
||||
0.07246310080870233,
|
||||
0.07246310080870237
|
||||
]
|
||||
- position: [
|
||||
0.0931046251040226,
|
||||
0.09335045420338911
|
||||
]
|
||||
- position: [
|
||||
0.09502293241686828,
|
||||
0.09502293241686836
|
||||
]
|
||||
- position: [
|
||||
0.09694123972971395,
|
||||
0.09669541063034766
|
||||
]
|
||||
Reference in New Issue
Block a user