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:
129
SlaveMatrix/Assets/Parts/Cough/part.yaml
Normal file
129
SlaveMatrix/Assets/Parts/Cough/part.yaml
Normal file
@@ -0,0 +1,129 @@
|
||||
id: Cough
|
||||
original_key: 咳
|
||||
resource: 胴体
|
||||
morph_x: 1
|
||||
morph_y: 5
|
||||
variants:
|
||||
- x: 0
|
||||
y: 0
|
||||
file: x0y0.svg
|
||||
- x: 0
|
||||
y: 1
|
||||
file: x0y1.svg
|
||||
- x: 0
|
||||
y: 2
|
||||
file: x0y2.svg
|
||||
- x: 0
|
||||
y: 3
|
||||
file: x0y3.svg
|
||||
- x: 0
|
||||
y: 4
|
||||
file: x0y4.svg
|
||||
fields:
|
||||
- name: 咳基
|
||||
- name: 雫1
|
||||
- name: 雫2
|
||||
- name: 雫3
|
||||
- name: 雫4
|
||||
- name: 雫5
|
||||
joints:
|
||||
- position: [
|
||||
0.015060186809668778,
|
||||
0.011804050326270342
|
||||
]
|
||||
- position: [
|
||||
0.023325542716308097,
|
||||
0.01180405032627034
|
||||
]
|
||||
- position: [
|
||||
0.019192864762988437,
|
||||
0.012747043616595701
|
||||
]
|
||||
- position: [
|
||||
0.017126525786328606,
|
||||
0.01246475024727707
|
||||
]
|
||||
- position: [
|
||||
0.021259203739648267,
|
||||
0.01246475024727707
|
||||
]
|
||||
- position: [
|
||||
0.0132805523660205,
|
||||
0.014281815633928652
|
||||
]
|
||||
- position: [
|
||||
0.025105177159956374,
|
||||
0.014281815633928649
|
||||
]
|
||||
- position: [
|
||||
0.019192864762988437,
|
||||
0.015630885409900368
|
||||
]
|
||||
- position: [
|
||||
0.016236708564504466,
|
||||
0.015227029458418903
|
||||
]
|
||||
- position: [
|
||||
0.022149020961472407,
|
||||
0.015227029458418903
|
||||
]
|
||||
- position: [
|
||||
0.01150091792237222,
|
||||
0.016759580941586964
|
||||
]
|
||||
- position: [
|
||||
0.026884811603604654,
|
||||
0.016759580941586957
|
||||
]
|
||||
- position: [
|
||||
0.019192864762988437,
|
||||
0.018514727203205038
|
||||
]
|
||||
- position: [
|
||||
0.015346891342680326,
|
||||
0.017989308669560736
|
||||
]
|
||||
- position: [
|
||||
0.023038838183296547,
|
||||
0.017989308669560736
|
||||
]
|
||||
- position: [
|
||||
0.009721283478723941,
|
||||
0.019237346249245273
|
||||
]
|
||||
- position: [
|
||||
0.028664446047252934,
|
||||
0.019237346249245266
|
||||
]
|
||||
- position: [
|
||||
0.019192864762988437,
|
||||
0.021398568996509708
|
||||
]
|
||||
- position: [
|
||||
0.014457074120856186,
|
||||
0.02075158788070257
|
||||
]
|
||||
- position: [
|
||||
0.023928655405120687,
|
||||
0.02075158788070257
|
||||
]
|
||||
- position: [
|
||||
0.007941649035075663,
|
||||
0.021715111556903584
|
||||
]
|
||||
- position: [
|
||||
0.03044408049090121,
|
||||
0.021715111556903578
|
||||
]
|
||||
- position: [
|
||||
0.019192864762988437,
|
||||
0.024282410789814374
|
||||
]
|
||||
- position: [
|
||||
0.013567256899032046,
|
||||
0.023513867091844397
|
||||
]
|
||||
- position: [
|
||||
0.024818472626944827,
|
||||
0.023513867091844397
|
||||
]
|
||||
Reference in New Issue
Block a user