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:
119
SlaveMatrix/Assets/Parts/ボテ腹板/part.yaml
Normal file
119
SlaveMatrix/Assets/Parts/ボテ腹板/part.yaml
Normal file
@@ -0,0 +1,119 @@
|
||||
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: 腹板4
|
||||
- name: 腹板3
|
||||
- name: 腹板2
|
||||
- name: 腹板1
|
||||
joints:
|
||||
- position: [
|
||||
0.0376489974103562,
|
||||
0.039663678766006905
|
||||
]
|
||||
- position: [
|
||||
0.5000000158677831,
|
||||
0.5169376461657764
|
||||
]
|
||||
- position: [
|
||||
0.500000015867783,
|
||||
0.5277717296676049
|
||||
]
|
||||
- position: [
|
||||
0.49999999596755706,
|
||||
0.5259249847687908
|
||||
]
|
||||
- position: [
|
||||
0.49999999596755706,
|
||||
0.5371420787122967
|
||||
]
|
||||
- position: [
|
||||
0.5000000158677831,
|
||||
0.4911207396055851
|
||||
]
|
||||
- position: [
|
||||
0.5000000158677831,
|
||||
0.5016366726587811
|
||||
]
|
||||
- position: [
|
||||
0.500000015867783,
|
||||
0.5280966898218826
|
||||
]
|
||||
- position: [
|
||||
0.49999999596755706,
|
||||
0.5375465826891214
|
||||
]
|
||||
- position: [
|
||||
0.5000000158677831,
|
||||
0.4897949329693053
|
||||
]
|
||||
- position: [
|
||||
0.5000000158677831,
|
||||
0.5008829688495349
|
||||
]
|
||||
- position: [
|
||||
0.500000015867783,
|
||||
0.5284216499761605
|
||||
]
|
||||
- position: [
|
||||
0.49999999596755706,
|
||||
0.537951086665946
|
||||
]
|
||||
- position: [
|
||||
0.5000000158677831,
|
||||
0.4884691263330255
|
||||
]
|
||||
- position: [
|
||||
0.5000000158677831,
|
||||
0.5001292650402885
|
||||
]
|
||||
- position: [
|
||||
0.500000015867783,
|
||||
0.5287466101304383
|
||||
]
|
||||
- position: [
|
||||
0.49999999596755706,
|
||||
0.5383555906427707
|
||||
]
|
||||
- position: [
|
||||
0.5000000158677831,
|
||||
0.48714331969674574
|
||||
]
|
||||
- position: [
|
||||
0.5000000158677831,
|
||||
0.49937556123104226
|
||||
]
|
||||
- position: [
|
||||
0.500000015867783,
|
||||
0.5290715702847161
|
||||
]
|
||||
- position: [
|
||||
0.49999999596755706,
|
||||
0.5387600946195954
|
||||
]
|
||||
- position: [
|
||||
0.5000000158677831,
|
||||
0.4858175130604659
|
||||
]
|
||||
- position: [
|
||||
0.5000000158677831,
|
||||
0.498621857421796
|
||||
]
|
||||
Reference in New Issue
Block a user