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:
161
SlaveMatrix/Assets/Parts/獣性瞼左/part.yaml
Normal file
161
SlaveMatrix/Assets/Parts/獣性瞼左/part.yaml
Normal file
@@ -0,0 +1,161 @@
|
||||
id: 獣性瞼左
|
||||
original_key: 獣性瞼左
|
||||
resource: 胴体
|
||||
morph_x: 2
|
||||
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
|
||||
- x: 1
|
||||
y: 0
|
||||
file: x1y0.svg
|
||||
- x: 1
|
||||
y: 1
|
||||
file: x1y1.svg
|
||||
- x: 1
|
||||
y: 2
|
||||
file: x1y2.svg
|
||||
- x: 1
|
||||
y: 3
|
||||
file: x1y3.svg
|
||||
- x: 1
|
||||
y: 4
|
||||
file: x1y4.svg
|
||||
fields:
|
||||
- name: 瞼
|
||||
- name: 二重
|
||||
- name: 睫毛
|
||||
joints:
|
||||
- position: [
|
||||
0.1416621130768263,
|
||||
0.1364122040179761
|
||||
]
|
||||
- position: [
|
||||
0.13710796532929656,
|
||||
0.13848494313876078
|
||||
]
|
||||
- position: [
|
||||
0.1349093828537644,
|
||||
0.14027332305772688
|
||||
]
|
||||
- position: [
|
||||
0.1353233075567273,
|
||||
0.14431007989819306
|
||||
]
|
||||
- position: [
|
||||
0.14152185117886698,
|
||||
0.14116273906070584
|
||||
]
|
||||
- position: [
|
||||
0.14166211307682633,
|
||||
0.1364122040179761
|
||||
]
|
||||
- position: [
|
||||
0.137103072531943,
|
||||
0.14024041289286598
|
||||
]
|
||||
- position: [
|
||||
0.13485125422583474,
|
||||
0.1412230068923337
|
||||
]
|
||||
- position: [
|
||||
0.1352766847890853,
|
||||
0.14435696290508232
|
||||
]
|
||||
- position: [
|
||||
0.13709817973458951,
|
||||
0.14199588264697122
|
||||
]
|
||||
- position: [
|
||||
0.13479312559790507,
|
||||
0.14217269072694044
|
||||
]
|
||||
- position: [
|
||||
0.1352300620214433,
|
||||
0.14440384591197158
|
||||
]
|
||||
- position: [
|
||||
0.13709328693723594,
|
||||
0.14375135240107642
|
||||
]
|
||||
- position: [
|
||||
0.13473499696997543,
|
||||
0.14312237456154725
|
||||
]
|
||||
- position: [
|
||||
0.1351834392538013,
|
||||
0.14445072891886082
|
||||
]
|
||||
- position: [
|
||||
0.1370883941398824,
|
||||
0.1455068221551816
|
||||
]
|
||||
- position: [
|
||||
0.13467686834204579,
|
||||
0.14407205839615406
|
||||
]
|
||||
- position: [
|
||||
0.1351368164861593,
|
||||
0.14449761192575014
|
||||
]
|
||||
- position: [
|
||||
0.13709386281138278,
|
||||
0.13953193396603297
|
||||
]
|
||||
- position: [
|
||||
0.13488547639612153,
|
||||
0.141164951009803
|
||||
]
|
||||
- position: [
|
||||
0.1353012468760273,
|
||||
0.1441178531564413
|
||||
]
|
||||
- position: [
|
||||
0.13707976029346902,
|
||||
0.14057892479330508
|
||||
]
|
||||
- position: [
|
||||
0.13486156993847873,
|
||||
0.14205657896187907
|
||||
]
|
||||
- position: [
|
||||
0.13527918619532728,
|
||||
0.14392562641468956
|
||||
]
|
||||
- position: [
|
||||
0.13706565777555527,
|
||||
0.14162591562057722
|
||||
]
|
||||
- position: [
|
||||
0.13483766348083592,
|
||||
0.1429482069139551
|
||||
]
|
||||
- position: [
|
||||
0.1352571255146273,
|
||||
0.14373339967293783
|
||||
]
|
||||
- position: [
|
||||
0.13705155525764148,
|
||||
0.1426729064478494
|
||||
]
|
||||
- position: [
|
||||
0.1348137570231931,
|
||||
0.14383983486603122
|
||||
]
|
||||
- position: [
|
||||
0.13523506483392728,
|
||||
0.1435411729311861
|
||||
]
|
||||
Reference in New Issue
Block a user