@volter/editor-blender 0.1.150 → 0.1.152

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.
Files changed (93) hide show
  1. package/LICENSE +18 -9
  2. package/README.md +5 -5
  3. package/contributions/blender-animation-editors.tsx +17 -69
  4. package/contributions/blender-display-settings.ts +36 -0
  5. package/contributions/blender-export-gltf.ts +228 -0
  6. package/contributions/blender-export.verbs.ts +39 -0
  7. package/contributions/blender-gltf-export.verbs.ts +312 -0
  8. package/contributions/blender-header-menus.tsx +37 -133
  9. package/contributions/blender-icon-trace.mjs +8 -98
  10. package/contributions/blender-icons.source.mjs +96 -860
  11. package/contributions/blender-mixer-pose.ts +369 -0
  12. package/contributions/blender-model-opening.tsx +26 -56
  13. package/contributions/blender-node-editor.document.tsx +30 -181
  14. package/contributions/blender-node-geometry.ts +44 -230
  15. package/contributions/blender-node-panels.source.mjs +7 -121
  16. package/contributions/blender-outliner-authoring.ts +61 -415
  17. package/contributions/blender-outliner-model.ts +15 -112
  18. package/contributions/blender-play-area.tsx +99 -0
  19. package/contributions/blender-playback-movie.ts +409 -0
  20. package/contributions/blender-pose.ts +18 -368
  21. package/contributions/blender-properties-context.ts +1 -1
  22. package/contributions/blender-properties-model.ts +59 -91
  23. package/contributions/blender-properties-tab.tsx +3 -50
  24. package/contributions/blender-properties-view.tsx +39 -181
  25. package/contributions/blender-remedy.ts +14 -0
  26. package/contributions/blender-runtime-skin.ts +103 -99
  27. package/contributions/blender-runtime.document.tsx +170 -618
  28. package/contributions/blender-scene-mixer.ts +51 -0
  29. package/contributions/blender-screenshot.service.ts +28 -0
  30. package/contributions/blender-timeline-geometry.ts +16 -136
  31. package/contributions/blender-timeline.document.tsx +145 -333
  32. package/contributions/blender-uv-editor.document.tsx +48 -112
  33. package/contributions/blender-uv-geometry.ts +14 -179
  34. package/contributions/blender-version.status.tsx +45 -31
  35. package/contributions/blender.environment.ts +2 -2
  36. package/contributions/blender.icons.json +0 -9
  37. package/contributions/blender.keymap.ts +9 -51
  38. package/contributions/blender.node-panels.json +4 -13
  39. package/contributions/blender.page.ts +64 -0
  40. package/contributions/blender.status.tsx +8 -150
  41. package/contributions/blender.style.ts +25 -152
  42. package/contributions/blender.verbs.ts +52 -0
  43. package/contributions/model.layout.ts +2 -34
  44. package/contributions/models.finder.ts +3 -30
  45. package/contributions/properties-bone-constraints.inspector.tsx +1 -16
  46. package/contributions/properties-bone.inspector.tsx +2 -31
  47. package/contributions/properties-collection.inspector.tsx +1 -34
  48. package/contributions/properties-constraints.inspector.tsx +1 -21
  49. package/contributions/properties-data.inspector.tsx +2 -39
  50. package/contributions/properties-material.inspector.tsx +2 -33
  51. package/contributions/properties-modifiers.inspector.tsx +2 -30
  52. package/contributions/properties-object.inspector.tsx +2 -44
  53. package/contributions/properties-output.inspector.tsx +1 -27
  54. package/contributions/properties-particles.inspector.tsx +2 -46
  55. package/contributions/properties-physics.inspector.tsx +2 -41
  56. package/contributions/properties-render.inspector.tsx +1 -45
  57. package/contributions/properties-scene.inspector.tsx +1 -35
  58. package/contributions/properties-texture.inspector.tsx +1 -49
  59. package/contributions/properties-view-layer.inspector.tsx +1 -29
  60. package/contributions/properties-world.inspector.tsx +2 -39
  61. package/contributions/shading.layout.ts +3 -78
  62. package/contributions/uv-editing.layout.ts +3 -70
  63. package/dist-node/serving.mjs +13 -32
  64. package/host/blender-runtime-host.ts +795 -412
  65. package/host/scene-sound.ts +143 -0
  66. package/node/blender-mcp.ts +52 -95
  67. package/package.json +1221 -46
  68. package/producticons/blender-icons.otf +0 -0
  69. package/producticons/blender-product-icon-theme.json +129 -0
  70. package/serving/blender-routes.ts +9 -48
  71. package/serving/blender-wasm-artifact.ts +29 -166
  72. package/serving/index.ts +1 -1
  73. package/src/api.ts +9 -0
  74. package/src/layouts.tsx +1 -17
  75. package/src/looks.ts +1 -12
  76. package/src/model-document-saving.ts +25 -0
  77. package/src/node-view-state.ts +3 -25
  78. package/src/play-mode.ts +13 -42
  79. package/src/play-tool.ts +44 -0
  80. package/src/presentation.ts +6 -18
  81. package/src/regions.ts +3 -43
  82. package/src/start-document.ts +15 -0
  83. package/src/timeline-view-state.ts +4 -39
  84. package/src/uv-view-state.ts +4 -20
  85. package/themes/blender.json +299 -0
  86. package/view/blender-view-routes.ts +1 -1
  87. package/contributions/blender-game-panel.tsx +0 -809
  88. package/contributions/blender-palette.source.mjs +0 -350
  89. package/contributions/blender-play-skin.ts +0 -508
  90. package/contributions/blender-screenshot.menu.ts +0 -32
  91. package/contributions/blender.command.ts +0 -109
  92. package/contributions/blender.palette.json +0 -102
  93. package/src/play-live.ts +0 -27
@@ -0,0 +1,299 @@
1
+ {
2
+ "$schema": "vscode://schemas/color-theme",
3
+ "name": "Blender",
4
+ "type": "dark",
5
+ "colors": {
6
+ "foreground": "#e5e5e5",
7
+ "descriptionForeground": "#969696",
8
+ "disabledForeground": "#5e5e5e",
9
+ "icon.foreground": "#c2c2c2",
10
+ "errorForeground": "#e0524a",
11
+ "focusBorder": "#4772b3",
12
+ "selection.background": "#4772b399",
13
+ "textLink.foreground": "#71a8ff",
14
+ "textLink.activeForeground": "#9dc2ff",
15
+ "widget.border": "#3c3c3c",
16
+ "widget.shadow": "#00000088",
17
+ "sash.hoverBorder": "#4772b3",
18
+ "titleBar.activeBackground": "#171717",
19
+ "titleBar.activeForeground": "#c2c2c2",
20
+ "titleBar.inactiveBackground": "#171717",
21
+ "titleBar.inactiveForeground": "#878787",
22
+ "titleBar.border": "#171717",
23
+ "menubar.selectionBackground": "#4772b3",
24
+ "menubar.selectionForeground": "#ffffff",
25
+ "menu.background": "#272727",
26
+ "menu.foreground": "#d8d8d8",
27
+ "menu.border": "#3c3c3c",
28
+ "menu.separatorBackground": "#3c3c3c",
29
+ "menu.selectionBackground": "#4772b3",
30
+ "menu.selectionForeground": "#ffffff",
31
+ "activityBar.background": "#171717",
32
+ "activityBar.foreground": "#e5e5e5",
33
+ "activityBar.inactiveForeground": "#878787",
34
+ "activityBar.border": "#171717",
35
+ "activityBar.activeBorder": "#e86900",
36
+ "editorGroupHeader.tabsBackground": "#1c1c1c",
37
+ "editorGroupHeader.tabsBorder": "#171717",
38
+ "editorGroupHeader.noTabsBackground": "#2f2f2f",
39
+ "editorGroup.border": "#171717",
40
+ "editorGroup.dropBackground": "#4772b366",
41
+ "tab.activeBackground": "#2f2f2f",
42
+ "tab.activeForeground": "#e5e5e5",
43
+ "tab.inactiveBackground": "#1c1c1c",
44
+ "tab.inactiveForeground": "#969696",
45
+ "tab.hoverBackground": "#272727",
46
+ "tab.border": "#171717",
47
+ "tab.activeBorder": "#2f2f2f",
48
+ "tab.activeBorderTop": "#2f2f2f",
49
+ "tab.unfocusedActiveBorderTop": "#2f2f2f",
50
+ "tab.lastPinnedBorder": "#3c3c3c",
51
+ "editor.background": "#1c1c1c",
52
+ "editor.foreground": "#e5e5e5",
53
+ "editorLineNumber.foreground": "#5e5e5e",
54
+ "editorLineNumber.activeForeground": "#c2c2c2",
55
+ "editorCursor.foreground": "#e5e5e5",
56
+ "editor.selectionBackground": "#4772b399",
57
+ "editor.lineHighlightBackground": "#272727",
58
+ "editorIndentGuide.background1": "#2e2e2e",
59
+ "editorIndentGuide.activeBackground1": "#656565",
60
+ "editorWidget.background": "#272727",
61
+ "editorWidget.border": "#3c3c3c",
62
+ "editorWidget.foreground": "#e5e5e5",
63
+ "editorHoverWidget.background": "#272727",
64
+ "editorHoverWidget.border": "#3c3c3c",
65
+ "editorSuggestWidget.background": "#272727",
66
+ "editorSuggestWidget.border": "#3c3c3c",
67
+ "editorSuggestWidget.selectedBackground": "#4772b3",
68
+ "editorGutter.background": "#1c1c1c",
69
+ "editorOverviewRuler.border": "#1c1c1c",
70
+ "sideBar.background": "#2f2f2f",
71
+ "sideBar.foreground": "#e5e5e5",
72
+ "sideBar.border": "#171717",
73
+ "sideBarTitle.foreground": "#c2c2c2",
74
+ "sideBarTitle.background": "#2f2f2f",
75
+ "sideBarSectionHeader.background": "#272727",
76
+ "sideBarSectionHeader.foreground": "#c2c2c2",
77
+ "sideBarSectionHeader.border": "#171717",
78
+ "sideBarActivityBarTop.border": "#171717",
79
+ "panel.background": "#2f2f2f",
80
+ "panel.border": "#171717",
81
+ "panelTitle.activeBorder": "#e86900",
82
+ "panelTitle.activeForeground": "#e5e5e5",
83
+ "panelTitle.inactiveForeground": "#969696",
84
+ "panelSectionHeader.background": "#272727",
85
+ "statusBar.background": "#171717",
86
+ "statusBar.foreground": "#878787",
87
+ "statusBar.border": "#171717",
88
+ "statusBar.noFolderBackground": "#171717",
89
+ "statusBar.noFolderForeground": "#878787",
90
+ "statusBar.debuggingBackground": "#171717",
91
+ "statusBarItem.hoverBackground": "#ffffff14",
92
+ "statusBarItem.remoteBackground": "#171717",
93
+ "statusBarItem.remoteForeground": "#878787",
94
+ "statusBarItem.prominentBackground": "#272727",
95
+ "list.activeSelectionBackground": "#4772b3",
96
+ "list.activeSelectionForeground": "#ffffff",
97
+ "list.inactiveSelectionBackground": "#3c3c3c",
98
+ "list.inactiveSelectionForeground": "#e5e5e5",
99
+ "list.hoverBackground": "#ffffff14",
100
+ "list.focusOutline": "#4772b3",
101
+ "list.focusAndSelectionOutline": "#4772b3",
102
+ "list.highlightForeground": "#ffae28",
103
+ "list.dropBackground": "#4772b366",
104
+ "tree.indentGuidesStroke": "#3c3c3c",
105
+ "tree.inactiveIndentGuidesStroke": "#2e2e2e",
106
+ "button.background": "#4772b3",
107
+ "button.foreground": "#ffffff",
108
+ "button.hoverBackground": "#5a86c9",
109
+ "button.border": "#3c3c3c",
110
+ "button.secondaryBackground": "#535353",
111
+ "button.secondaryForeground": "#e5e5e5",
112
+ "button.secondaryHoverBackground": "#656565",
113
+ "checkbox.background": "#535353",
114
+ "checkbox.border": "#3c3c3c",
115
+ "checkbox.foreground": "#e5e5e5",
116
+ "checkbox.selectBackground": "#4772b3",
117
+ "dropdown.background": "#272727",
118
+ "dropdown.listBackground": "#272727",
119
+ "dropdown.border": "#3c3c3c",
120
+ "dropdown.foreground": "#e5e5e5",
121
+ "input.background": "#1c1c1c",
122
+ "input.border": "#3c3c3c",
123
+ "input.foreground": "#e5e5e5",
124
+ "input.placeholderForeground": "#5e5e5e",
125
+ "inputOption.activeBackground": "#4772b3",
126
+ "inputOption.activeBorder": "#4772b3",
127
+ "inputOption.activeForeground": "#ffffff",
128
+ "inputValidation.errorBackground": "#e0524a48",
129
+ "inputValidation.errorBorder": "#e0524a",
130
+ "badge.background": "#4772b3",
131
+ "badge.foreground": "#ffffff",
132
+ "progressBar.background": "#4772b3",
133
+ "keybindingLabel.background": "#535353",
134
+ "keybindingLabel.border": "#3c3c3c",
135
+ "keybindingLabel.bottomBorder": "#171717",
136
+ "keybindingLabel.foreground": "#e5e5e5",
137
+ "toolbar.hoverBackground": "#ffffff14",
138
+ "toolbar.activeBackground": "#ffffff24",
139
+ "quickInput.background": "#272727",
140
+ "quickInput.foreground": "#e5e5e5",
141
+ "quickInputTitle.background": "#2f2f2f",
142
+ "quickInputList.focusBackground": "#4772b3",
143
+ "quickInputList.focusForeground": "#ffffff",
144
+ "pickerGroup.border": "#3c3c3c",
145
+ "pickerGroup.foreground": "#ffae28",
146
+ "notifications.background": "#272727",
147
+ "notifications.foreground": "#e5e5e5",
148
+ "notifications.border": "#3c3c3c",
149
+ "notificationCenterHeader.background": "#2f2f2f",
150
+ "notificationToast.border": "#3c3c3c",
151
+ "notificationsErrorIcon.foreground": "#e0524a",
152
+ "notificationsWarningIcon.foreground": "#e5b83c",
153
+ "notificationsInfoIcon.foreground": "#4772b3",
154
+ "scrollbar.shadow": "#00000000",
155
+ "scrollbarSlider.background": "#53535399",
156
+ "scrollbarSlider.hoverBackground": "#656565bb",
157
+ "scrollbarSlider.activeBackground": "#7a7a7acc",
158
+ "welcomePage.background": "#2f2f2f",
159
+ "welcomePage.tileBackground": "#272727",
160
+ "welcomePage.tileBorder": "#3c3c3c",
161
+ "welcomePage.progress.background": "#1c1c1c",
162
+ "welcomePage.progress.foreground": "#4772b3",
163
+ "walkThrough.embeddedEditorBackground": "#1c1c1c",
164
+ "terminal.background": "#1c1c1c",
165
+ "terminal.foreground": "#e5e5e5",
166
+ "settings.headerForeground": "#e5e5e5",
167
+ "settings.modifiedItemIndicator": "#e86900",
168
+ "settings.dropdownBackground": "#272727",
169
+ "settings.checkboxBackground": "#535353",
170
+ "settings.textInputBackground": "#1c1c1c",
171
+ "settings.numberInputBackground": "#1c1c1c",
172
+ "peekViewEditor.background": "#1c1c1c",
173
+ "debugToolBar.background": "#272727",
174
+ "commandCenter.background": "#1c1c1c",
175
+ "commandCenter.border": "#3c3c3c",
176
+ "chat.requestBorder": "#3c3c3c",
177
+ "volter.view.background": "#303030",
178
+ "volter.nodeEditor.background": "#1a1a1a",
179
+ "volter.viewport.background": "#3d3d3d",
180
+ "volter.viewport.grid": "#545454",
181
+ "volter.viewport.axisX": "#cb293f",
182
+ "volter.viewport.axisY": "#69aa15",
183
+ "volter.viewport.selection": "#ed5700",
184
+ "volter.viewport.active": "#ffa028",
185
+ "volter.gizmo.x": "#ff3352",
186
+ "volter.gizmo.y": "#8bdc00",
187
+ "volter.gizmo.z": "#2890ff",
188
+ "volter.surface.shell": "#161616",
189
+ "volter.surface.panel": "#303030",
190
+ "volter.surface.chrome": "#1c1c1c",
191
+ "volter.surface.raised": "#545454",
192
+ "volter.surface.inset": "#1d1d1d",
193
+ "volter.surface.overlay": "#303030f0",
194
+ "volter.boundary.default": "#3d3d3d",
195
+ "volter.boundary.strong": "#3d3d3d",
196
+ "volter.boundary.area": "#161616",
197
+ "volter.boundary.indent": "#656565",
198
+ "volter.boundary.divider": "#2e2e2e",
199
+ "volter.content.primary": "#e6e6e6",
200
+ "volter.content.muted": "#c3c3c3",
201
+ "volter.content.dim": "#969696",
202
+ "volter.content.onAccent": "#ffffff",
203
+ "volter.content.menu": "#dddddd",
204
+ "volter.content.status": "#888888",
205
+ "volter.content.placeholder": "#5e5e5e",
206
+ "volter.content.active": "#ffa028",
207
+ "volter.content.selected": "#e96a00",
208
+ "volter.content.onBright.primary": "#1d1d1d",
209
+ "volter.content.onBright.muted": "#1d1d1dd1",
210
+ "volter.content.onBright.dim": "#1d1d1db3",
211
+ "volter.accent.default": "#4772b3",
212
+ "volter.accent.muted": "#4772b3",
213
+ "volter.semantic.danger": "#e0524a",
214
+ "volter.semantic.dangerMuted": "#e0524a47",
215
+ "volter.semantic.dangerFaint": "#e0524a1f",
216
+ "volter.semantic.warning": "#e5b83c",
217
+ "volter.semantic.warningMuted": "#e5b83c47",
218
+ "volter.semantic.success": "#6fbf5f",
219
+ "volter.semantic.successMuted": "#6fbf5f47",
220
+ "volter.semantic.dynamic": "#e5b83c",
221
+ "volter.semantic.dynamicMuted": "#e5b83c2e",
222
+ "volter.semantic.instance": "#ffa028",
223
+ "volter.neutralOverlay.hover": "#ffffff14",
224
+ "volter.neutralOverlay.active": "#ffffff24",
225
+ "volter.scrim": "#00000099",
226
+ "volter.viewport.marqueeLine": "#666666",
227
+ "volter.viewport.marqueeFill": "#ffffff0d",
228
+ "volter.viewport.marqueeGap": "#ffffff",
229
+ "volter.widget.regular": "#545454",
230
+ "volter.widget.menu": "#282828",
231
+ "volter.widget.field": "#1d1d1d",
232
+ "volter.widget.emboss": "#00000026",
233
+ "volter.category.object": "#e19658",
234
+ "volter.category.modifier": "#74a2ff",
235
+ "volter.category.material": "#cc6670",
236
+ "volter.category.tool": "#cbcbcb",
237
+ "volter.category.operator": "#95dab2",
238
+ "volter.category.data": "#00d4a3",
239
+ "volter.category.scene": "#cccccc",
240
+ "volter.category.collection": "#ffffff",
241
+ "volter.category.select": "#ffaf2a",
242
+ "volter.region.outliner": "#282828",
243
+ "volter.region.properties": "#303030"
244
+ },
245
+ "tokenColors": [
246
+ {
247
+ "scope": [
248
+ "comment"
249
+ ],
250
+ "settings": {
251
+ "foreground": "#969696"
252
+ }
253
+ },
254
+ {
255
+ "scope": [
256
+ "keyword",
257
+ "storage"
258
+ ],
259
+ "settings": {
260
+ "foreground": "#ff7f7f"
261
+ }
262
+ },
263
+ {
264
+ "scope": [
265
+ "string"
266
+ ],
267
+ "settings": {
268
+ "foreground": "#ffae28"
269
+ }
270
+ },
271
+ {
272
+ "scope": [
273
+ "constant.numeric",
274
+ "constant.language"
275
+ ],
276
+ "settings": {
277
+ "foreground": "#c2c2c2"
278
+ }
279
+ },
280
+ {
281
+ "scope": [
282
+ "entity.name.function",
283
+ "support.function"
284
+ ],
285
+ "settings": {
286
+ "foreground": "#71a8ff"
287
+ }
288
+ },
289
+ {
290
+ "scope": [
291
+ "variable",
292
+ "entity.name"
293
+ ],
294
+ "settings": {
295
+ "foreground": "#e5e5e5"
296
+ }
297
+ }
298
+ ]
299
+ }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * `@volter/editor-blender`'s routes in a LIMITED VIEW (`package.json#volter.viewServing`,
2
+ * `@volter/editor-blender`'s routes in a LIMITED VIEW (`package.json#contributes.volter.viewRoutes`,
3
3
  * `@volter/sdk/session/limited-view`): the same requests the Blender in the tab makes of
4
4
  * its session (`serving/blender-routes.ts`), answered in the page against the project's files in
5
5
  * memory. The engine's own bytes are not here: they are fixed for a build, so the serving module