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:
86
SlaveMatrix/Assets/Parts/虫鎌/part.yaml
Normal file
86
SlaveMatrix/Assets/Parts/虫鎌/part.yaml
Normal file
@@ -0,0 +1,86 @@
|
||||
id: 虫鎌
|
||||
original_key: 虫鎌
|
||||
resource: 肢左
|
||||
morph_x: 1
|
||||
morph_y: 1
|
||||
variants:
|
||||
- x: 0
|
||||
y: 0
|
||||
file: x0y0.svg
|
||||
fields:
|
||||
- name: 虫鎌節
|
||||
- name: 虫棘1
|
||||
- name: 虫棘2
|
||||
- name: 虫棘3
|
||||
- name: 虫棘4
|
||||
- name: 虫鎌1
|
||||
- name: 虫鎌2
|
||||
- name: 虫鎌3
|
||||
- name: 虫孔1
|
||||
- name: 虫孔2
|
||||
- name: 輪
|
||||
joints:
|
||||
- position: [
|
||||
0.040429841782210346,
|
||||
0.04112622562174576
|
||||
]
|
||||
- position: [
|
||||
0.10042485333246497,
|
||||
0.09576671578447664
|
||||
]
|
||||
- position: [
|
||||
0.10743909923789968,
|
||||
0.09687541814411575
|
||||
]
|
||||
- position: [
|
||||
0.11405107453711733,
|
||||
0.09860267811938059
|
||||
]
|
||||
- position: [
|
||||
0.12046872569715106,
|
||||
0.10058650533665284
|
||||
]
|
||||
- position: [
|
||||
0.08774229568684476,
|
||||
0.09802160550018327
|
||||
]
|
||||
- position: [
|
||||
0.08939969953595228,
|
||||
0.09231701564736337
|
||||
]
|
||||
- position: [
|
||||
0.09163030316620278,
|
||||
0.09526012646809125
|
||||
]
|
||||
- position: [
|
||||
0.11257627964375291,
|
||||
0.09694860470831554
|
||||
]
|
||||
- position: [
|
||||
0.011152769902399134,
|
||||
0.01499698157141957
|
||||
]
|
||||
- position: [
|
||||
0.011152769902399133,
|
||||
0.0029318538595546517
|
||||
]
|
||||
- position: [
|
||||
0.011152769902399134,
|
||||
0.024586555687887732
|
||||
]
|
||||
- position: [
|
||||
0.011152769902399133,
|
||||
-0.0022810158830894735
|
||||
]
|
||||
- position: [
|
||||
0.007758324996586714,
|
||||
0.012733994044781134
|
||||
]
|
||||
- position: [
|
||||
0.009906215631991285,
|
||||
0.011300670369192287
|
||||
]
|
||||
- position: [
|
||||
0.00561043436118202,
|
||||
0.004215979623981122
|
||||
]
|
||||
Reference in New Issue
Block a user