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:
182
SlaveMatrix/Assets/Parts/BackHair1/part.yaml
Normal file
182
SlaveMatrix/Assets/Parts/BackHair1/part.yaml
Normal file
@@ -0,0 +1,182 @@
|
||||
id: BackHair1
|
||||
original_key: 後髪1
|
||||
resource: 胴体
|
||||
morph_x: 1
|
||||
morph_y: 8
|
||||
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: 0
|
||||
y: 5
|
||||
file: x0y5.svg
|
||||
- x: 0
|
||||
y: 6
|
||||
file: x0y6.svg
|
||||
- x: 0
|
||||
y: 7
|
||||
file: x0y7.svg
|
||||
fields:
|
||||
- name: 髪基
|
||||
- name: お下げ
|
||||
joints:
|
||||
- position: [
|
||||
0.0275187318942521,
|
||||
0.017102829910013467
|
||||
]
|
||||
- position: [
|
||||
0.19083898557750778,
|
||||
0.15734206532767245
|
||||
]
|
||||
- position: [
|
||||
0.20018666757287754,
|
||||
0.15734206532767245
|
||||
]
|
||||
- position: [
|
||||
0.1703391963183732,
|
||||
0.16170951931532562
|
||||
]
|
||||
- position: [
|
||||
0.17278168464839316,
|
||||
0.1698064594849867
|
||||
]
|
||||
- position: [
|
||||
0.17388453110939092,
|
||||
0.16170951931532562
|
||||
]
|
||||
- position: [
|
||||
0.1763676310576798,
|
||||
0.1698064594849867
|
||||
]
|
||||
- position: [
|
||||
0.19074550875755406,
|
||||
0.1566145604668384
|
||||
]
|
||||
- position: [
|
||||
0.20028014439283123,
|
||||
0.1566145604668384
|
||||
]
|
||||
- position: [
|
||||
0.17032489459331163,
|
||||
0.16093829994956305
|
||||
]
|
||||
- position: [
|
||||
0.17281272183592566,
|
||||
0.16912391084504008
|
||||
]
|
||||
- position: [
|
||||
0.17396138038179998,
|
||||
0.16093829994956305
|
||||
]
|
||||
- position: [
|
||||
0.17661423747377847,
|
||||
0.16912391084504008
|
||||
]
|
||||
- position: [
|
||||
0.19162018693446026,
|
||||
0.1557889914369246
|
||||
]
|
||||
- position: [
|
||||
0.1994054662159251,
|
||||
0.1557889914369246
|
||||
]
|
||||
- position: [
|
||||
0.17043188209928087,
|
||||
0.1644159844888365
|
||||
]
|
||||
- position: [
|
||||
0.17191675091978087,
|
||||
0.17205722086933817
|
||||
]
|
||||
- position: [
|
||||
0.17702560808169224,
|
||||
0.1644159844888365
|
||||
]
|
||||
- position: [
|
||||
0.17819552995556803,
|
||||
0.17205722086933817
|
||||
]
|
||||
- position: [
|
||||
0.007501695109867956,
|
||||
0.029968914837671178
|
||||
]
|
||||
- position: [
|
||||
0.04753576867863624,
|
||||
0.029968914837671178
|
||||
]
|
||||
- position: [
|
||||
0.1684988523822399,
|
||||
0.1605457289686459
|
||||
]
|
||||
- position: [
|
||||
0.1713192910203347,
|
||||
0.17150268208528838
|
||||
]
|
||||
- position: [
|
||||
0.17534461603285442,
|
||||
0.1605457289686459
|
||||
]
|
||||
- position: [
|
||||
0.17165014375958507,
|
||||
0.1715026820852884
|
||||
]
|
||||
- position: [
|
||||
0.16855153801109019,
|
||||
0.1605363902535818
|
||||
]
|
||||
- position: [
|
||||
0.17135218578497635,
|
||||
0.1715026820852884
|
||||
]
|
||||
- position: [
|
||||
0.17529193040400418,
|
||||
0.1605363902535818
|
||||
]
|
||||
- position: [
|
||||
0.17161724899494338,
|
||||
0.1715026820852884
|
||||
]
|
||||
- position: [
|
||||
0.16836789275482927,
|
||||
0.15883431798168077
|
||||
]
|
||||
- position: [
|
||||
0.17098695098170855,
|
||||
0.17193226703642722
|
||||
]
|
||||
- position: [
|
||||
0.1754755756602651,
|
||||
0.15883431798168077
|
||||
]
|
||||
- position: [
|
||||
0.17198248379821113,
|
||||
0.17193226703642722
|
||||
]
|
||||
- position: [
|
||||
0.16777609858339262,
|
||||
0.15976546273597753
|
||||
]
|
||||
- position: [
|
||||
0.170454862871674,
|
||||
0.17203853778868491
|
||||
]
|
||||
- position: [
|
||||
0.17606736983170176,
|
||||
0.15976546273597753
|
||||
]
|
||||
- position: [
|
||||
0.17251457190824565,
|
||||
0.17203853778868494
|
||||
]
|
||||
Reference in New Issue
Block a user