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:
83
SlaveMatrix/Assets/Parts/舌/part.yaml
Normal file
83
SlaveMatrix/Assets/Parts/舌/part.yaml
Normal file
@@ -0,0 +1,83 @@
|
||||
id: 舌
|
||||
original_key: 舌
|
||||
resource: 胴体
|
||||
morph_x: 1
|
||||
morph_y: 2
|
||||
variants:
|
||||
- x: 0
|
||||
y: 0
|
||||
file: x0y0.svg
|
||||
- x: 0
|
||||
y: 1
|
||||
file: x0y1.svg
|
||||
fields:
|
||||
- name: 舌1
|
||||
- name: 舌2
|
||||
- name: 舌3
|
||||
- name: 舌4
|
||||
- name: 舌5
|
||||
joints:
|
||||
- position: [
|
||||
0.011646590846931888,
|
||||
0.011700728752832373
|
||||
]
|
||||
- position: [
|
||||
0.011646590846931888,
|
||||
0.01156070146961739
|
||||
]
|
||||
- position: [
|
||||
0.01164659084693189,
|
||||
0.011434676914723906
|
||||
]
|
||||
- position: [
|
||||
0.01164659084693189,
|
||||
0.01132125481531977
|
||||
]
|
||||
- position: [
|
||||
0.01164659084693189,
|
||||
0.011219174925856045
|
||||
]
|
||||
- position: [
|
||||
0.011646590846931882,
|
||||
0.014543706927197192
|
||||
]
|
||||
- position: [
|
||||
0.011646590846931882,
|
||||
0.014119381826545728
|
||||
]
|
||||
- position: [
|
||||
0.011646590846931882,
|
||||
0.01373748923595941
|
||||
]
|
||||
- position: [
|
||||
0.011646590846931882,
|
||||
0.013393785904431726
|
||||
]
|
||||
- position: [
|
||||
0.010746073886327045,
|
||||
0.013114815134622544
|
||||
]
|
||||
- position: [
|
||||
0.012547107807536735,
|
||||
0.013114815134622544
|
||||
]
|
||||
- position: [
|
||||
0.011646590846931882,
|
||||
0.012657817590968458
|
||||
]
|
||||
- position: [
|
||||
0.011646590846931882,
|
||||
0.012422081423939866
|
||||
]
|
||||
- position: [
|
||||
0.011646590846931882,
|
||||
0.012209918873614134
|
||||
]
|
||||
- position: [
|
||||
0.011646590846931882,
|
||||
0.012018972578320974
|
||||
]
|
||||
- position: [
|
||||
0.011646590846931882,
|
||||
0.011847120912557133
|
||||
]
|
||||
Reference in New Issue
Block a user