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:
74
SlaveMatrix/Assets/Parts/断面/part.yaml
Normal file
74
SlaveMatrix/Assets/Parts/断面/part.yaml
Normal file
@@ -0,0 +1,74 @@
|
||||
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: 膣壁左
|
||||
- name: 膣壁右
|
||||
- name: 卵巣左
|
||||
- name: 卵管左
|
||||
- name: 卵巣右
|
||||
- name: 卵管右
|
||||
- name: 子宮
|
||||
- name: 子宮内
|
||||
- name: 子宮口
|
||||
- name: 精液
|
||||
joints:
|
||||
- position: [
|
||||
0.028356823641359778,
|
||||
0.030295385812669835
|
||||
]
|
||||
- position: [
|
||||
0.03469714915945188,
|
||||
0.03029538581266983
|
||||
]
|
||||
- position: [
|
||||
0.03152698640040582,
|
||||
0.020341293057530664
|
||||
]
|
||||
- position: [
|
||||
0.062181567670719494,
|
||||
0.07386414337963497
|
||||
]
|
||||
- position: [
|
||||
0.06218156767071952,
|
||||
0.06458725968304184
|
||||
]
|
||||
- position: [
|
||||
0.06775979278652686,
|
||||
0.06100415844751508
|
||||
]
|
||||
- position: [
|
||||
0.05660334255491213,
|
||||
0.06100415844751508
|
||||
]
|
||||
- position: [
|
||||
0.05612575980805044,
|
||||
0.06300527147051978
|
||||
]
|
||||
- position: [
|
||||
0.06823737553338857,
|
||||
0.06300527147051978
|
||||
]
|
||||
- position: [
|
||||
0.03152698640040582,
|
||||
0.019710720396151113
|
||||
]
|
||||
Reference in New Issue
Block a user