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:
98
SlaveMatrix/Assets/Parts/四足LowerArm/part.yaml
Normal file
98
SlaveMatrix/Assets/Parts/四足LowerArm/part.yaml
Normal file
@@ -0,0 +1,98 @@
|
||||
id: 四足LowerArm
|
||||
original_key: 四足下腕
|
||||
resource: 腕左
|
||||
morph_x: 2
|
||||
morph_y: 1
|
||||
variants:
|
||||
- x: 0
|
||||
y: 0
|
||||
file: x0y0.svg
|
||||
- x: 1
|
||||
y: 0
|
||||
file: x1y0.svg
|
||||
fields:
|
||||
- name: 下腕
|
||||
- name: 筋肉
|
||||
- name: 鱗
|
||||
- name: 腕輪
|
||||
joints:
|
||||
- position: [
|
||||
0.06830131609171752,
|
||||
0.08267217426435583
|
||||
]
|
||||
- position: [
|
||||
0.06845391071577397,
|
||||
0.08017048562974353
|
||||
]
|
||||
- position: [
|
||||
0.043866001958765784,
|
||||
0.08066551895348782
|
||||
]
|
||||
- position: [
|
||||
0.05941078030718124,
|
||||
0.08092821603673048
|
||||
]
|
||||
- position: [
|
||||
0.04709893390534738,
|
||||
0.06174314088540028
|
||||
]
|
||||
- position: [
|
||||
0.051750196173318636,
|
||||
0.04630419879927744
|
||||
]
|
||||
- position: [
|
||||
0.05184149360389476,
|
||||
0.045813443590590384
|
||||
]
|
||||
- position: [
|
||||
0.05189908979277369,
|
||||
0.04419529771519512
|
||||
]
|
||||
- position: [
|
||||
0.051694166842060185,
|
||||
0.042965648283923685
|
||||
]
|
||||
- position: [
|
||||
0.051888294827516945,
|
||||
0.04407094783165195
|
||||
]
|
||||
- position: [
|
||||
0.011152769902399134,
|
||||
0.015017547950448702
|
||||
]
|
||||
- position: [
|
||||
0.011152769902399133,
|
||||
0.0028878722867743747
|
||||
]
|
||||
- position: [
|
||||
0.011152769902399134,
|
||||
0.024658425905775855
|
||||
]
|
||||
- position: [
|
||||
0.011152769902399133,
|
||||
-0.002352886100977586
|
||||
]
|
||||
- position: [
|
||||
0.007758324996586714,
|
||||
0.012760613675638964
|
||||
]
|
||||
- position: [
|
||||
0.009906215631991289,
|
||||
0.011319621775581325
|
||||
]
|
||||
- position: [
|
||||
0.005610434361182021,
|
||||
0.004197028217592075
|
||||
]
|
||||
- position: [
|
||||
0.06316987105115596,
|
||||
0.06911991453336086
|
||||
]
|
||||
- position: [
|
||||
0.06179019060576512,
|
||||
0.06290537769811243
|
||||
]
|
||||
- position: [
|
||||
0.0443978934332051,
|
||||
0.06736467542975345
|
||||
]
|
||||
Reference in New Issue
Block a user