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:
123
SlaveMatrix/Assets/Parts/玉口枷/part.yaml
Normal file
123
SlaveMatrix/Assets/Parts/玉口枷/part.yaml
Normal file
@@ -0,0 +1,123 @@
|
||||
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: 革右
|
||||
- name: 革
|
||||
- name: 玉
|
||||
- name: 穴中上
|
||||
- name: 穴右
|
||||
- name: 穴中下
|
||||
- name: 穴左
|
||||
- name: 穴上右上
|
||||
- name: 穴上右下
|
||||
- name: 穴下右上
|
||||
- name: 穴下右下
|
||||
- name: 穴下左下
|
||||
- name: 穴下左上
|
||||
- name: 穴上左下
|
||||
- name: 穴上左上
|
||||
- name: 丸金具左内
|
||||
- name: 丸金具右内
|
||||
- name: 丸金具左外
|
||||
- name: 丸金具右外
|
||||
joints:
|
||||
- position: [
|
||||
-0.00011032089848017623,
|
||||
0.0010314844960452529
|
||||
]
|
||||
- position: [
|
||||
0.004705196093205227,
|
||||
0.0010314844960452529
|
||||
]
|
||||
- position: [
|
||||
0.005237367145427907,
|
||||
0.0049428533597668245
|
||||
]
|
||||
- position: [
|
||||
0.009520713084890442,
|
||||
0.0010314844960452529
|
||||
]
|
||||
- position: [
|
||||
0.007438428695593838,
|
||||
0.0049428533597668245
|
||||
]
|
||||
- position: [
|
||||
0.0020740812574910608,
|
||||
0.009261852214662298
|
||||
]
|
||||
- position: [
|
||||
0.020231458547307197,
|
||||
0.009261852214662298
|
||||
]
|
||||
- position: [
|
||||
0.011152769902399133,
|
||||
0.011152769902399133
|
||||
]
|
||||
- position: [
|
||||
0.0032850203517142498,
|
||||
0.009838156586554502
|
||||
]
|
||||
- position: [
|
||||
0.019020519453084007,
|
||||
0.009838156586554502
|
||||
]
|
||||
- position: [
|
||||
0.029761836944665068,
|
||||
0.03149325530290257
|
||||
]
|
||||
- position: [
|
||||
0.035673268985501286,
|
||||
0.03149325530290257
|
||||
]
|
||||
- position: [
|
||||
0.029761836944665068,
|
||||
0.033941850627263785
|
||||
]
|
||||
- position: [
|
||||
0.035673268985501286,
|
||||
0.033941850627263785
|
||||
]
|
||||
- position: [
|
||||
0.03149325530290257,
|
||||
0.029761836944665068
|
||||
]
|
||||
- position: [
|
||||
0.033941850627263785,
|
||||
0.029761836944665068
|
||||
]
|
||||
- position: [
|
||||
0.03149325530290257,
|
||||
0.035673268985501286
|
||||
]
|
||||
- position: [
|
||||
0.033941850627263785,
|
||||
0.035673268985501286
|
||||
]
|
||||
- position: [
|
||||
0.03271755296508318,
|
||||
0.030986134606845683
|
||||
]
|
||||
- position: [
|
||||
0.030986134606845683,
|
||||
0.03271755296508318
|
||||
]
|
||||
- position: [
|
||||
0.03444897132332067,
|
||||
0.03271755296508318
|
||||
]
|
||||
- position: [
|
||||
0.03271755296508318,
|
||||
0.03444897132332067
|
||||
]
|
||||
Reference in New Issue
Block a user