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:
31
SlaveMatrix/Assets/Parts/T字剃刀/part.yaml
Normal file
31
SlaveMatrix/Assets/Parts/T字剃刀/part.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
id: T字剃刀
|
||||
original_key: T字剃刀
|
||||
resource: カーソル
|
||||
morph_x: 1
|
||||
morph_y: 1
|
||||
variants:
|
||||
- x: 0
|
||||
y: 0
|
||||
file: x0y0.svg
|
||||
fields:
|
||||
- name: ヘッド
|
||||
- name: 刃
|
||||
- name: 首
|
||||
- name: グリップ
|
||||
joints:
|
||||
- position: [
|
||||
0.09437924547149004,
|
||||
0.09265034207925384
|
||||
]
|
||||
- position: [
|
||||
0.016020138022461626,
|
||||
0.008737801282823494
|
||||
]
|
||||
- position: [
|
||||
0.016020138022461633,
|
||||
0.005066197399102398
|
||||
]
|
||||
- position: [
|
||||
0.01602013802246163,
|
||||
0.0191025105165327
|
||||
]
|
||||
Reference in New Issue
Block a user