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/Head/part.yaml
Normal file
161
SlaveMatrix/Assets/Parts/Head/part.yaml
Normal file
@@ -0,0 +1,161 @@
|
||||
id: Head
|
||||
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: 虫顎
|
||||
joints:
|
||||
- position: [
|
||||
0.325660778875035,
|
||||
0.30724888638986997
|
||||
]
|
||||
- position: [
|
||||
0.3140629577981696,
|
||||
0.33507300983397786
|
||||
]
|
||||
- position: [
|
||||
0.33725859995190033,
|
||||
0.33507300983397786
|
||||
]
|
||||
- position: [
|
||||
0.325660778875035,
|
||||
0.3475866191971522
|
||||
]
|
||||
- position: [
|
||||
0.325660778875035,
|
||||
0.35283667725986706
|
||||
]
|
||||
- position: [
|
||||
0.30971667370376876,
|
||||
0.3472782997025536
|
||||
]
|
||||
- position: [
|
||||
0.3416048840463011,
|
||||
0.3472782997025536
|
||||
]
|
||||
- position: [
|
||||
0.325660778875035,
|
||||
0.3259992394014397
|
||||
]
|
||||
- position: [
|
||||
0.3136532154470967,
|
||||
0.3281139051296563
|
||||
]
|
||||
- position: [
|
||||
0.33766834230297327,
|
||||
0.3281139051296563
|
||||
]
|
||||
- position: [
|
||||
0.3072025663111125,
|
||||
0.3427805214474796
|
||||
]
|
||||
- position: [
|
||||
0.34411899143895747,
|
||||
0.3427805214474796
|
||||
]
|
||||
- position: [
|
||||
0.325660778875035,
|
||||
0.3426574535109141
|
||||
]
|
||||
- position: [
|
||||
0.325660778875035,
|
||||
0.3355073490124566
|
||||
]
|
||||
- position: [
|
||||
0.325660778875035,
|
||||
0.3224637611283464
|
||||
]
|
||||
- position: [
|
||||
0.314297149848741,
|
||||
0.34471592349770175
|
||||
]
|
||||
- position: [
|
||||
0.3370244079013289,
|
||||
0.34471592349770175
|
||||
]
|
||||
- position: [
|
||||
0.32166017482401127,
|
||||
0.3328545875292032
|
||||
]
|
||||
- position: [
|
||||
0.3296613829260587,
|
||||
0.3328545875292032
|
||||
]
|
||||
- position: [
|
||||
0.09243455877744376,
|
||||
0.05603588457046835
|
||||
]
|
||||
- position: [
|
||||
0.05525949428892117,
|
||||
0.04506909969290476
|
||||
]
|
||||
- position: [
|
||||
0.051575282924774424,
|
||||
0.04316183665218195
|
||||
]
|
||||
- position: [
|
||||
0.05212288829087039,
|
||||
0.0438867035399312
|
||||
]
|
||||
- position: [
|
||||
0.04627101447745933,
|
||||
0.04315277112042598
|
||||
]
|
||||
- position: [
|
||||
0.04665460082490724,
|
||||
0.04370812388235593
|
||||
]
|
||||
- position: [
|
||||
0.05988007280821028,
|
||||
0.04316183665218195
|
||||
]
|
||||
- position: [
|
||||
0.05933246744211429,
|
||||
0.0438867035399312
|
||||
]
|
||||
- position: [
|
||||
0.06518434125552541,
|
||||
0.04315277112042598
|
||||
]
|
||||
- position: [
|
||||
0.06480075490807746,
|
||||
0.04370812388235593
|
||||
]
|
||||
- position: [
|
||||
0.05532887162175761,
|
||||
0.04738674885130874
|
||||
]
|
||||
- position: [
|
||||
0.05572767786649241,
|
||||
0.047853210505894694
|
||||
]
|
||||
- position: [
|
||||
0.052599384364690645,
|
||||
0.0433763180130744
|
||||
]
|
||||
- position: [
|
||||
0.05299819060942545,
|
||||
0.043842779667660356
|
||||
]
|
||||
- position: [
|
||||
0.05885597136829401,
|
||||
0.0433763180130744
|
||||
]
|
||||
- position: [
|
||||
0.05845716512355925,
|
||||
0.043842779667660356
|
||||
]
|
||||
Reference in New Issue
Block a user