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:
133
SlaveMatrix/Assets/Parts/角/part.yaml
Normal file
133
SlaveMatrix/Assets/Parts/角/part.yaml
Normal file
@@ -0,0 +1,133 @@
|
||||
id: 角
|
||||
original_key: 角
|
||||
resource: 肢中
|
||||
morph_x: 3
|
||||
morph_y: 2
|
||||
variants:
|
||||
- x: 0
|
||||
y: 0
|
||||
file: x0y0.svg
|
||||
- x: 0
|
||||
y: 1
|
||||
file: x0y1.svg
|
||||
- x: 1
|
||||
y: 0
|
||||
file: x1y0.svg
|
||||
- x: 1
|
||||
y: 1
|
||||
file: x1y1.svg
|
||||
- x: 2
|
||||
y: 0
|
||||
file: x2y0.svg
|
||||
- x: 2
|
||||
y: 1
|
||||
file: x2y1.svg
|
||||
fields:
|
||||
- name: 根
|
||||
- name: 線1
|
||||
- name: 線2
|
||||
- name: 線3
|
||||
- name: 線4
|
||||
- name: 線5
|
||||
- name: 線6
|
||||
- name: 線7
|
||||
- name: 線8
|
||||
- name: 線9
|
||||
- name: 線10
|
||||
joints:
|
||||
- position: [
|
||||
0.32481493678883067,
|
||||
0.33468553369326365
|
||||
]
|
||||
- position: [
|
||||
0.3248149367888307,
|
||||
0.3221551263872467
|
||||
]
|
||||
- position: [
|
||||
0.32481493678883067,
|
||||
0.3104412663702116
|
||||
]
|
||||
- position: [
|
||||
0.3248149367888307,
|
||||
0.29894904707949793
|
||||
]
|
||||
- position: [
|
||||
0.32481493678883067,
|
||||
0.29019187312099204
|
||||
]
|
||||
- position: [
|
||||
0.32481493678883067,
|
||||
0.3284203300402552
|
||||
]
|
||||
- position: [
|
||||
0.32481493678883067,
|
||||
0.31629819637872925
|
||||
]
|
||||
- position: [
|
||||
0.32481493678883067,
|
||||
0.3046951567248547
|
||||
]
|
||||
- position: [
|
||||
0.32481493678883067,
|
||||
0.2945704601002449
|
||||
]
|
||||
- position: [
|
||||
0.3248149367888306,
|
||||
0.3408438036229669
|
||||
]
|
||||
- position: [
|
||||
0.3246452718208477,
|
||||
0.3193745014578829
|
||||
]
|
||||
- position: [
|
||||
0.34752222038216657,
|
||||
0.3655380664054311
|
||||
]
|
||||
- position: [
|
||||
0.34752222038216657,
|
||||
0.3606242555131382
|
||||
]
|
||||
- position: [
|
||||
0.3475222203821666,
|
||||
0.35627606066327266
|
||||
]
|
||||
- position: [
|
||||
0.34752222038216657,
|
||||
0.35241432007074136
|
||||
]
|
||||
- position: [
|
||||
0.34752222038216657,
|
||||
0.3485231548966867
|
||||
]
|
||||
- position: [
|
||||
0.3475224974438313,
|
||||
0.3563110383721384
|
||||
]
|
||||
- position: [
|
||||
0.34752249744383124,
|
||||
0.3543358049656544
|
||||
]
|
||||
- position: [
|
||||
0.009021874219246781,
|
||||
0.015325639775249068
|
||||
]
|
||||
- position: [
|
||||
0.015203963214230077,
|
||||
0.015325639775249058
|
||||
]
|
||||
- position: [
|
||||
0.008462213066548669,
|
||||
0.01895600426810253
|
||||
]
|
||||
- position: [
|
||||
0.01576362436692819,
|
||||
0.01895600426810252
|
||||
]
|
||||
- position: [
|
||||
0.012112918716738424,
|
||||
-0.01873652042677082
|
||||
]
|
||||
- position: [
|
||||
0.012058626265617052,
|
||||
-0.00742210271899751
|
||||
]
|
||||
Reference in New Issue
Block a user