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:
109
SlaveMatrix/Assets/Parts/頬瞼左/part.yaml
Normal file
109
SlaveMatrix/Assets/Parts/頬瞼左/part.yaml
Normal file
@@ -0,0 +1,109 @@
|
||||
id: 頬瞼左
|
||||
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: 瞼右
|
||||
joints:
|
||||
- position: [
|
||||
0.014168721482344672,
|
||||
0.015561954080885157
|
||||
]
|
||||
- position: [
|
||||
0.010670830437377262,
|
||||
0.018860594094433213
|
||||
]
|
||||
- position: [
|
||||
0.013436444432893201,
|
||||
0.019299731009679764
|
||||
]
|
||||
- position: [
|
||||
0.009631561241059901,
|
||||
0.013971216941585077
|
||||
]
|
||||
- position: [
|
||||
0.011979462269498253,
|
||||
0.012445168854798815
|
||||
]
|
||||
- position: [
|
||||
0.010561591401562018,
|
||||
0.018346664837406424
|
||||
]
|
||||
- position: [
|
||||
0.013274893746124177,
|
||||
0.018539694784499298
|
||||
]
|
||||
- position: [
|
||||
0.009740800276875145,
|
||||
0.014485146198611869
|
||||
]
|
||||
- position: [
|
||||
0.012141012956267273,
|
||||
0.013205205079979281
|
||||
]
|
||||
- position: [
|
||||
0.010452352365746775,
|
||||
0.01783273558037963
|
||||
]
|
||||
- position: [
|
||||
0.013113343059355156,
|
||||
0.01777965855931883
|
||||
]
|
||||
- position: [
|
||||
0.009850039312690389,
|
||||
0.01499907545563866
|
||||
]
|
||||
- position: [
|
||||
0.012302563643036299,
|
||||
0.013965241305159748
|
||||
]
|
||||
- position: [
|
||||
0.010343113329931531,
|
||||
0.017318806323352837
|
||||
]
|
||||
- position: [
|
||||
0.012951792372586134,
|
||||
0.017019622334138364
|
||||
]
|
||||
- position: [
|
||||
0.009959278348505633,
|
||||
0.015513004712665453
|
||||
]
|
||||
- position: [
|
||||
0.01246411432980532,
|
||||
0.014725277530340216
|
||||
]
|
||||
- position: [
|
||||
0.010233874294116287,
|
||||
0.01680487706632604
|
||||
]
|
||||
- position: [
|
||||
0.012790241685817112,
|
||||
0.016259586108957898
|
||||
]
|
||||
- position: [
|
||||
0.010068517384320876,
|
||||
0.016026933969692243
|
||||
]
|
||||
- position: [
|
||||
0.012625665016574342,
|
||||
0.015485313755520685
|
||||
]
|
||||
Reference in New Issue
Block a user