@deepblend/dsh-blender-host 0.2.20 → 0.3.0

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 (36) hide show
  1. package/lib/artifact-writer.js +49 -0
  2. package/lib/asset-bundle.js +381 -0
  3. package/lib/asset-io.js +24 -0
  4. package/lib/asset-library.js +113 -0
  5. package/lib/asset-preview.js +139 -0
  6. package/lib/asset-uploads.js +328 -0
  7. package/lib/delivery-manifest.js +6 -1
  8. package/lib/diagnostic-preview.js +264 -0
  9. package/lib/frame-provenance.js +230 -0
  10. package/lib/index.js +1283 -544
  11. package/lib/obj-resources.js +89 -0
  12. package/lib/paths.js +12 -1
  13. package/lib/project-store.js +40 -24
  14. package/lib/project-writer.js +96 -0
  15. package/lib/recipe-catalog.js +128 -0
  16. package/lib/reference-image.js +186 -0
  17. package/lib/render-job-store.js +2 -2
  18. package/lib/revision-transaction.js +106 -43
  19. package/lib/video-encoder.js +71 -13
  20. package/package.json +8 -3
  21. package/recipes/glass-ceramic/LICENSE +21 -0
  22. package/recipes/glass-ceramic/preview.png +0 -0
  23. package/recipes/glass-ceramic/recipe.json +94 -0
  24. package/recipes/glass-ceramic/scene-spec.json +1407 -0
  25. package/recipes/glazed-cup/LICENSE +21 -0
  26. package/recipes/glazed-cup/preview.png +0 -0
  27. package/recipes/glazed-cup/recipe.json +93 -0
  28. package/recipes/glazed-cup/scene-spec.json +248 -0
  29. package/recipes/metal-lamp/LICENSE +21 -0
  30. package/recipes/metal-lamp/preview.png +0 -0
  31. package/recipes/metal-lamp/recipe.json +118 -0
  32. package/recipes/metal-lamp/scene-spec.json +2530 -0
  33. package/recipes/modular-speaker/LICENSE +21 -0
  34. package/recipes/modular-speaker/preview.png +0 -0
  35. package/recipes/modular-speaker/recipe.json +95 -0
  36. package/recipes/modular-speaker/scene-spec.json +6268 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 DeepBlend Studio contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,95 @@
1
+ {
2
+ "schemaVersion": "deepblend.recipe/v1",
3
+ "id": "deepblend.modular-speaker",
4
+ "version": "1.0.0",
5
+ "title": "编织格栅桌面音箱",
6
+ "description": "圆角空腔柜体、真实编织格栅、独立控制组件、贯通散热口与背面接线。可调整外壳颜色、粗糙度和摄影曝光。",
7
+ "author": {
8
+ "name": "DeepBlend contributors",
9
+ "url": "https://github.com/pearjelly/deep-blend"
10
+ },
11
+ "license": "MIT",
12
+ "source": {
13
+ "url": "https://github.com/pearjelly/deep-blend",
14
+ "note": "Original modular-speaker product benchmark. The bundled SceneSpec and rendered preview are pinned by their raw content hashes; source URL is attribution, not an installation endpoint."
15
+ },
16
+ "compatibility": {
17
+ "sceneSchemaVersion": "deepblend.scene/v1",
18
+ "capabilities": [
19
+ "animation.transform",
20
+ "geometry.curve",
21
+ "geometry.lathe",
22
+ "geometry.modifiers",
23
+ "geometry.primitive",
24
+ "material.principled",
25
+ "material.procedural"
26
+ ]
27
+ },
28
+ "input": {
29
+ "path": "scene-spec.json",
30
+ "sha256": "efb7ffabb4901ba4e824537885b2215923910e7855f656e5776c562ad2e33de1"
31
+ },
32
+ "preview": {
33
+ "path": "preview.png",
34
+ "sha256": "b23f9fa591d1b1a49db6067cf9df872611dde34c2472b07f38ea73590c4e1492",
35
+ "mediaType": "image/png",
36
+ "alt": "编织格栅桌面音箱默认参数的实际Blender渲染"
37
+ },
38
+ "parameters": [
39
+ {
40
+ "id": "main-color",
41
+ "title": "外壳颜色",
42
+ "description": "调整音箱外壳的颜色。",
43
+ "type": "color",
44
+ "default": [
45
+ 0.66,
46
+ 0.62,
47
+ 0.52
48
+ ],
49
+ "bindings": [
50
+ {
51
+ "kind": "material",
52
+ "materialId": "shell-porcelain",
53
+ "property": "baseColor"
54
+ }
55
+ ]
56
+ },
57
+ {
58
+ "id": "surface-roughness",
59
+ "title": "主表面粗糙度",
60
+ "description": "调整音箱外壳的光泽;数值越大,表面越柔和。",
61
+ "type": "number",
62
+ "default": 0.31,
63
+ "minimum": 0.2,
64
+ "maximum": 0.55,
65
+ "bindings": [
66
+ {
67
+ "kind": "material",
68
+ "materialId": "shell-porcelain",
69
+ "property": "roughness"
70
+ }
71
+ ]
72
+ },
73
+ {
74
+ "id": "exposure",
75
+ "title": "摄影曝光",
76
+ "description": "调整整体画面的明暗,预览和成品同步生效。",
77
+ "type": "number",
78
+ "default": 0,
79
+ "minimum": -1,
80
+ "maximum": 1,
81
+ "bindings": [
82
+ {
83
+ "kind": "render-profile",
84
+ "profile": "preview",
85
+ "property": "exposure"
86
+ },
87
+ {
88
+ "kind": "render-profile",
89
+ "profile": "final",
90
+ "property": "exposure"
91
+ }
92
+ ]
93
+ }
94
+ ]
95
+ }