@volter/editor-blender 0.1.149 → 0.1.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +18 -9
- package/README.md +5 -5
- package/contributions/blender-animation-editors.tsx +17 -69
- package/contributions/blender-display-settings.ts +36 -0
- package/contributions/blender-export-gltf.ts +228 -0
- package/contributions/blender-export.verbs.ts +39 -0
- package/contributions/blender-gltf-export.verbs.ts +312 -0
- package/contributions/blender-header-menus.tsx +37 -133
- package/contributions/blender-icon-trace.mjs +8 -98
- package/contributions/blender-icons.source.mjs +96 -860
- package/contributions/blender-mixer-pose.ts +369 -0
- package/contributions/blender-model-opening.tsx +3 -7
- package/contributions/blender-node-editor.document.tsx +28 -180
- package/contributions/blender-node-geometry.ts +44 -230
- package/contributions/blender-node-panels.source.mjs +7 -121
- package/contributions/blender-outliner-authoring.ts +61 -415
- package/contributions/blender-outliner-model.ts +15 -112
- package/contributions/blender-play-area.tsx +100 -0
- package/contributions/blender-playback-movie.ts +409 -0
- package/contributions/blender-pose.ts +18 -368
- package/contributions/blender-properties-context.ts +1 -1
- package/contributions/blender-properties-model.ts +15 -90
- package/contributions/blender-properties-tab.tsx +3 -50
- package/contributions/blender-properties-view.tsx +15 -147
- package/contributions/blender-remedy.ts +14 -0
- package/contributions/blender-runtime-skin.ts +103 -99
- package/contributions/blender-runtime.document.tsx +217 -339
- package/contributions/blender-scene-mixer.ts +51 -0
- package/contributions/blender-screenshot.service.ts +28 -0
- package/contributions/blender-timeline-geometry.ts +16 -136
- package/contributions/blender-timeline.document.tsx +142 -332
- package/contributions/blender-uv-editor.document.tsx +48 -112
- package/contributions/blender-uv-geometry.ts +14 -179
- package/contributions/blender-version.status.tsx +43 -23
- package/contributions/blender.environment.ts +2 -2
- package/contributions/blender.icons.json +0 -9
- package/contributions/blender.keymap.ts +9 -51
- package/contributions/blender.node-panels.json +4 -13
- package/contributions/blender.page.ts +63 -0
- package/contributions/blender.status.tsx +9 -145
- package/contributions/blender.style.ts +25 -152
- package/contributions/blender.verbs.ts +52 -0
- package/contributions/model.layout.ts +2 -34
- package/contributions/models.finder.ts +12 -32
- package/contributions/properties-bone-constraints.inspector.tsx +1 -16
- package/contributions/properties-bone.inspector.tsx +2 -31
- package/contributions/properties-collection.inspector.tsx +1 -34
- package/contributions/properties-constraints.inspector.tsx +1 -21
- package/contributions/properties-data.inspector.tsx +2 -39
- package/contributions/properties-material.inspector.tsx +2 -33
- package/contributions/properties-modifiers.inspector.tsx +2 -30
- package/contributions/properties-object.inspector.tsx +2 -44
- package/contributions/properties-output.inspector.tsx +1 -27
- package/contributions/properties-particles.inspector.tsx +2 -46
- package/contributions/properties-physics.inspector.tsx +2 -41
- package/contributions/properties-render.inspector.tsx +1 -45
- package/contributions/properties-scene.inspector.tsx +1 -35
- package/contributions/properties-texture.inspector.tsx +1 -49
- package/contributions/properties-view-layer.inspector.tsx +1 -29
- package/contributions/properties-world.inspector.tsx +2 -39
- package/contributions/shading.layout.ts +3 -78
- package/contributions/uv-editing.layout.ts +3 -70
- package/dist-node/serving.mjs +13 -30
- package/host/blender-runtime-host.ts +541 -372
- package/host/scene-sound.ts +143 -0
- package/node/blender-mcp.ts +49 -93
- package/package.json +1209 -46
- package/producticons/blender-icons.otf +0 -0
- package/producticons/blender-product-icon-theme.json +129 -0
- package/serving/blender-routes.ts +9 -43
- package/serving/blender-wasm-artifact.ts +29 -166
- package/serving/index.ts +1 -1
- package/src/api.ts +9 -0
- package/src/layouts.tsx +1 -17
- package/src/looks.ts +1 -12
- package/src/model-document-saving.ts +25 -0
- package/src/model-play-extension.ts +173 -0
- package/src/node-view-state.ts +3 -25
- package/src/play-mode.ts +64 -38
- package/src/presentation.ts +6 -18
- package/src/regions.ts +3 -43
- package/src/start-document.ts +15 -0
- package/src/timeline-view-state.ts +4 -39
- package/src/uv-view-state.ts +4 -20
- package/themes/blender.json +299 -0
- package/view/blender-view-routes.ts +1 -1
- package/contributions/blender-game-panel.tsx +0 -809
- package/contributions/blender-palette.source.mjs +0 -350
- package/contributions/blender-play-skin.ts +0 -508
- package/contributions/blender-screenshot.menu.ts +0 -32
- package/contributions/blender.command.ts +0 -109
- package/contributions/blender.palette.json +0 -102
- package/src/play-live.ts +0 -27
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 3,
|
|
3
|
-
"name": "Blender",
|
|
4
|
-
"theme": {
|
|
5
|
-
"id": "blender",
|
|
6
|
-
"color": {
|
|
7
|
-
"surface": {
|
|
8
|
-
"shell": "#161616",
|
|
9
|
-
"panel": "#303030",
|
|
10
|
-
"chrome": "#1c1c1c",
|
|
11
|
-
"raised": "#545454",
|
|
12
|
-
"inset": "#1d1d1d",
|
|
13
|
-
"overlay": "rgba(48,48,48,0.94)"
|
|
14
|
-
},
|
|
15
|
-
"boundary": {
|
|
16
|
-
"default": "#3d3d3d",
|
|
17
|
-
"strong": "#3d3d3d",
|
|
18
|
-
"area": "#161616",
|
|
19
|
-
"indent": "#656565",
|
|
20
|
-
"divider": "#2e2e2e"
|
|
21
|
-
},
|
|
22
|
-
"content": {
|
|
23
|
-
"primary": "#e6e6e6",
|
|
24
|
-
"muted": "#c3c3c3",
|
|
25
|
-
"dim": "#969696",
|
|
26
|
-
"onAccent": "#ffffff",
|
|
27
|
-
"menu": "#dddddd",
|
|
28
|
-
"status": "#888888",
|
|
29
|
-
"placeholder": "#5e5e5e",
|
|
30
|
-
"active": "#ffa028",
|
|
31
|
-
"selected": "#e96a00",
|
|
32
|
-
"onBright": {
|
|
33
|
-
"primary": "#1d1d1d",
|
|
34
|
-
"muted": "rgba(29,29,29,0.82)",
|
|
35
|
-
"dim": "rgba(29,29,29,0.7)"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"accent": {
|
|
39
|
-
"default": "#4772b3",
|
|
40
|
-
"muted": "#4772b3"
|
|
41
|
-
},
|
|
42
|
-
"widget": {
|
|
43
|
-
"regular": "#545454",
|
|
44
|
-
"menu": "#282828",
|
|
45
|
-
"field": "#1d1d1d",
|
|
46
|
-
"emboss": "rgba(0,0,0,0.149)"
|
|
47
|
-
},
|
|
48
|
-
"viewport": {
|
|
49
|
-
"background": "#3d3d3d",
|
|
50
|
-
"grid": "#545454",
|
|
51
|
-
"axisX": "#cb293f",
|
|
52
|
-
"axisY": "#69aa15",
|
|
53
|
-
"selection": "#ed5700",
|
|
54
|
-
"active": "#ffa028",
|
|
55
|
-
"marqueeLine": "#666666",
|
|
56
|
-
"marqueeGap": "#ffffff",
|
|
57
|
-
"marqueeFill": "rgba(255,255,255,0.05)"
|
|
58
|
-
},
|
|
59
|
-
"gizmo": {
|
|
60
|
-
"x": "#ff3352",
|
|
61
|
-
"y": "#8bdc00",
|
|
62
|
-
"z": "#2890ff"
|
|
63
|
-
},
|
|
64
|
-
"region": {
|
|
65
|
-
"outliner": "#282828",
|
|
66
|
-
"properties": "#303030"
|
|
67
|
-
},
|
|
68
|
-
"category": {
|
|
69
|
-
"object": "#e19658",
|
|
70
|
-
"modifier": "#74a2ff",
|
|
71
|
-
"material": "#cc6670",
|
|
72
|
-
"data": "#00d4a3",
|
|
73
|
-
"scene": "#cccccc",
|
|
74
|
-
"collection": "#ffffff",
|
|
75
|
-
"tool": "#cbcbcb",
|
|
76
|
-
"select": "#ffaf2a",
|
|
77
|
-
"operator": "#95dab2"
|
|
78
|
-
},
|
|
79
|
-
"semantic": {
|
|
80
|
-
"danger": "#e0524a",
|
|
81
|
-
"dangerMuted": "rgba(224,82,74,0.28)",
|
|
82
|
-
"dangerFaint": "rgba(224,82,74,0.12)",
|
|
83
|
-
"warning": "#e5b83c",
|
|
84
|
-
"warningMuted": "rgba(229,184,60,0.28)",
|
|
85
|
-
"success": "#6fbf5f",
|
|
86
|
-
"successMuted": "rgba(111,191,95,0.28)",
|
|
87
|
-
"dynamic": "#e5b83c",
|
|
88
|
-
"dynamicMuted": "rgba(229,184,60,0.18)",
|
|
89
|
-
"instance": "#ffa028"
|
|
90
|
-
},
|
|
91
|
-
"neutralOverlay": {
|
|
92
|
-
"hover": "rgba(255,255,255,0.08)",
|
|
93
|
-
"active": "rgba(255,255,255,0.14)"
|
|
94
|
-
},
|
|
95
|
-
"scrim": "rgba(0,0,0,0.6)"
|
|
96
|
-
},
|
|
97
|
-
"typography": {
|
|
98
|
-
"sans": "'Inter', 'DejaVu Sans', system-ui, sans-serif",
|
|
99
|
-
"mono": "'DejaVu Sans Mono', Menlo, monospace"
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
package/src/play-live.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THE RUNNING GAME'S ANIMATION, for the animation editors. A game poses its copy of the model
|
|
3
|
-
* (`../contributions/blender-play-skin.ts`); while it runs, the Action Editor and the NLA editor
|
|
4
|
-
* show what it is playing, read-only, the way a game engine's animator view highlights the live
|
|
5
|
-
* state. The run sets the slot when its animation starts and clears it when it ends.
|
|
6
|
-
*/
|
|
7
|
-
import type { PlayAnimation } from '../contributions/blender-play-skin';
|
|
8
|
-
|
|
9
|
-
let current: PlayAnimation | null = null;
|
|
10
|
-
const listeners = new Set<() => void>();
|
|
11
|
-
|
|
12
|
-
export function setLiveAnimation(animation: PlayAnimation | null): void {
|
|
13
|
-
if (current === animation) return;
|
|
14
|
-
current = animation;
|
|
15
|
-
for (const listener of [...listeners]) listener();
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/** The running game's animation, or null when no game runs. */
|
|
19
|
-
export function liveAnimation(): PlayAnimation | null {
|
|
20
|
-
return current;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/** Fires when a game's animation starts or ends (not on each frame: readers poll while it runs). */
|
|
24
|
-
export function subscribeLiveAnimation(listener: () => void): () => void {
|
|
25
|
-
listeners.add(listener);
|
|
26
|
-
return () => listeners.delete(listener);
|
|
27
|
-
}
|