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:
111
SlaveMatrix/Assets/Parts/デンマ/part.yaml
Normal file
111
SlaveMatrix/Assets/Parts/デンマ/part.yaml
Normal file
@@ -0,0 +1,111 @@
|
||||
id: デンマ
|
||||
original_key: デンマ
|
||||
resource: カーソル
|
||||
morph_x: 1
|
||||
morph_y: 5
|
||||
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
|
||||
fields:
|
||||
- name: ヘッド
|
||||
- name: ヘッド線1
|
||||
- name: ヘッド線2
|
||||
- name: ヘッド線3
|
||||
- name: ヘッド線4
|
||||
- name: 拡張ユニット
|
||||
- name: 拡張ユニット色
|
||||
- name: ユニット
|
||||
joints:
|
||||
- position: [
|
||||
0.1671129154395151,
|
||||
0.17101337175190495
|
||||
]
|
||||
- position: [
|
||||
0.16711291543951512,
|
||||
0.1614272731440278
|
||||
]
|
||||
- position: [
|
||||
0.13378251699291144,
|
||||
0.13073409929756874
|
||||
]
|
||||
- position: [
|
||||
0.015096514070287394,
|
||||
0.008994956633415117
|
||||
]
|
||||
- position: [
|
||||
0.015096514070287394,
|
||||
0.02583752236359944
|
||||
]
|
||||
- position: [
|
||||
0.015096514070287394,
|
||||
0.024174770409468336
|
||||
]
|
||||
- position: [
|
||||
0.012973415475779428,
|
||||
0.011724460486568064
|
||||
]
|
||||
- position: [
|
||||
0.01659846530546976,
|
||||
0.016050552809990976
|
||||
]
|
||||
- position: [
|
||||
0.01659846530546976,
|
||||
0.01202250245401227
|
||||
]
|
||||
- position: [
|
||||
0.015096514070287396,
|
||||
0.015096514070287394
|
||||
]
|
||||
- position: [
|
||||
0.010730129621974588,
|
||||
0.011361187233872302
|
||||
]
|
||||
- position: [
|
||||
0.010730129621974588,
|
||||
0.010079949052140581
|
||||
]
|
||||
- position: [
|
||||
0.1671129154395151,
|
||||
0.17101943945399567
|
||||
]
|
||||
- position: [
|
||||
0.16711291543951512,
|
||||
0.16449923857512946
|
||||
]
|
||||
- position: [
|
||||
0.1671129154395151,
|
||||
0.17101374056541532
|
||||
]
|
||||
- position: [
|
||||
0.16711291543951512,
|
||||
0.1667849713471875
|
||||
]
|
||||
- position: [
|
||||
0.1671129154395151,
|
||||
0.17102610230373105
|
||||
]
|
||||
- position: [
|
||||
0.16711291543951512,
|
||||
0.16928073961810183
|
||||
]
|
||||
- position: [
|
||||
0.1671129154395151,
|
||||
0.17102589712204097
|
||||
]
|
||||
- position: [
|
||||
0.16711291543951512,
|
||||
0.171506953939159
|
||||
]
|
||||
Reference in New Issue
Block a user