@deepblend/dsh-blender-bundle 0.8.0 → 0.9.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.
- package/README.md +12 -1
- package/README.zh.md +12 -1
- package/examples/charge-study/ATTRIBUTION.txt +6 -0
- package/examples/charge-study/README.md +54 -0
- package/examples/charge-study/agent-prompt.zh.txt +21 -0
- package/examples/charge-study/industrial-stage.json +4320 -0
- package/examples/charge-study/replay-dsh-case.mjs +33 -0
- package/lib/client.js +102 -0
- package/package.json +9 -8
package/README.md
CHANGED
|
@@ -32,7 +32,18 @@ The inline previews sample the actual films at 12 fps; the MP4s retain all 144 r
|
|
|
32
32
|
|
|
33
33
|
[Open the gallery](https://pearjelly.github.io/deep-blend/) · [Scene sources and rebuild](https://github.com/pearjelly/deep-blend/blob/main/deepblend/showcase/README.md) · [Render provenance](https://github.com/pearjelly/deep-blend/blob/main/deepblend/docs/assets/showcase/manifest.json) · [Official Blender visual references](https://github.com/pearjelly/deep-blend/blob/main/deepblend/showcase/REFERENCES.md)
|
|
34
34
|
|
|
35
|
-
The scenes and output come from editable SceneSpec and actual rendering. Official Blender examples informed the lighting and material direction; no official demo model, texture or movie frame is used in these
|
|
35
|
+
The scenes and output come from editable SceneSpec and actual rendering. Official Blender examples informed the lighting and material direction; no official demo model, texture or movie frame is used in these three product studies.
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## New case: Night Shift
|
|
39
|
+
|
|
40
|
+
[](https://pearjelly.github.io/deep-blend/charge-study/)
|
|
41
|
+
|
|
42
|
+
Created through DeepSeek Harness with the installed deep-blend **0.5.0** plugin: Blender’s official CHARGE Packbot, a new industrial set, lighting and six seconds of camera motion. **79 mesh parts, 511,595 polygons, 19 packed images; 1080p / 24 fps / 144 actually rendered frames.** An independent DSH replay matched the scene digest; the frame-72 preview differed by at most 1/255 per channel.
|
|
43
|
+
|
|
44
|
+
[播放视频 / Watch](https://pearjelly.github.io/deep-blend/charge-study/) · [复现指南 / Replay guide](https://github.com/pearjelly/deep-blend/blob/main/deepblend/showcase/charge-study/README.md) · [完整复现素材 / Replay inputs](https://github.com/pearjelly/deep-blend/releases/download/v0.8.1/night-shift-replay.zip)
|
|
45
|
+
|
|
46
|
+
The robot uses the source asset’s static frame-1 pose; the film demonstrates the new set and camera motion. **CHARGE Packbot © Blender Studio / Blender Foundation — CC-BY**; new scene code is MIT. The promotional edit only adds titles and attribution. Release 0.8.1 includes replay inputs under `examples/charge-study/`; the guide pins the verified 0.5.0 environment.
|
|
36
47
|
|
|
37
48
|
|
|
38
49
|
## From a starting point to a saved result
|
package/README.zh.md
CHANGED
|
@@ -23,7 +23,18 @@
|
|
|
23
23
|
|
|
24
24
|
[打开作品画廊](https://pearjelly.github.io/deep-blend/) · [场景源码与复现](https://github.com/pearjelly/deep-blend/blob/main/deepblend/showcase/README.md) · [渲染来源记录](https://github.com/pearjelly/deep-blend/blob/main/deepblend/docs/assets/showcase/manifest.json) · [Blender 官网视觉参考](https://github.com/pearjelly/deep-blend/blob/main/deepblend/showcase/REFERENCES.md)
|
|
25
25
|
|
|
26
|
-
作品的造型、布景与输出来自公开 SceneSpec
|
|
26
|
+
作品的造型、布景与输出来自公开 SceneSpec 和实际渲染;官网案例用于光影与材质的设计参考。以上三组原创产品场景没有使用官方案例的模型、纹理或成片。
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## 新案例:夜班 / Night Shift
|
|
30
|
+
|
|
31
|
+
[](https://pearjelly.github.io/deep-blend/charge-study/)
|
|
32
|
+
|
|
33
|
+
在 DeepSeek Harness 实际安装的 deep-blend **0.5.0** 中,导入 Blender 官方 CHARGE Packbot,制作工业布景、灯光和六秒相机运动。**79 个网格部件、511,595 个面、19 张嵌入图片;1080p / 24 fps / 144 个实际渲染帧。** 第二个实际 DSH 项目已验证相同场景摘要,第 72 帧预览最大通道差值为 1/255。
|
|
34
|
+
|
|
35
|
+
[播放视频 / Watch](https://pearjelly.github.io/deep-blend/charge-study/) · [复现指南 / Replay guide](https://github.com/pearjelly/deep-blend/blob/main/deepblend/showcase/charge-study/README.md) · [完整复现素材 / Replay inputs](https://github.com/pearjelly/deep-blend/releases/download/v0.8.1/night-shift-replay.zip)
|
|
36
|
+
|
|
37
|
+
机器人使用原资产第 1 帧的静态姿态,视频展示新布景与相机运动。**CHARGE Packbot © Blender Studio / Blender Foundation — CC-BY**;新增场景与脚本为 MIT。推广版只增加标题和署名。0.8.1 安装包包含 `examples/charge-study/` 的场景、提示词与复现工具;指南固定本次已验证的 0.5.0 环境。
|
|
27
38
|
|
|
28
39
|
|
|
29
40
|
## 可以怎样使用
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
CHARGE Packbot © Blender Studio / Blender Foundation — CC-BY.
|
|
2
|
+
Source: https://www.blender.org/download/demo-files/
|
|
3
|
+
Original archive: https://download.blender.org/demo/splash/blender-3.4-splash.zip
|
|
4
|
+
Movie: https://studio.blender.org/projects/charge/
|
|
5
|
+
Modified for this case: frame-1 evaluated static mesh geometry, frozen transforms and packed used textures. Rig, character animation and controllers excluded. New set, lighting and camera motion made with the deep-blend plugin in DeepSeek Harness.
|
|
6
|
+
Official model/texture content retains CC-BY; do not relabel it MIT. New scene data and helper code are covered by the DeepBlend project's MIT license.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# 夜班 / Night Shift:用 DSH 的 deep-blend 插件复现
|
|
2
|
+
|
|
3
|
+
采用 Blender 官方 CHARGE 示例的 Packbot,在 **DeepSeek Harness(DSH)实际安装的 deep-blend 0.5.0 插件**里制作工业布景、灯光和六秒摄影机运动。最终案例以真实 DSH 会话的工具调用、保存版本与渲染作业为证据。
|
|
4
|
+
|
|
5
|
+
机器人来自官方资产。这里使用第 1 帧静态姿态,展示新增布景与摄影机运动,没有复现 CHARGE 原电影的角色动作、故事或特效。
|
|
6
|
+
|
|
7
|
+
[播放案例](https://pearjelly.github.io/deep-blend/charge-study/) · [下载复现素材包](https://github.com/pearjelly/deep-blend/releases/download/v0.8.1/night-shift-replay.zip) · [可编辑检查点](https://github.com/pearjelly/deep-blend/releases/download/v0.8.1/night-shift.blend) · [制作证据](https://github.com/pearjelly/deep-blend/blob/main/deepblend/docs/assets/showcase/charge-study/dsh-tool-events.json)
|
|
8
|
+
|
|
9
|
+
0.8.1 将已经完成的案例加入公开发行。以下验证记录对应实际制作的 **0.5.0** 环境;精确复现请固定该版本。
|
|
10
|
+
|
|
11
|
+
## 输入与环境
|
|
12
|
+
|
|
13
|
+
复现包包括 `packbot-static.blend`、`industrial-stage.json`、`replay-dsh-case.mjs`、`agent-prompt.zh.txt` 和来源说明。模型有 79 个网格部件、511,595 个面,保留原生材质、UV 与 19 张嵌入图片;布景有 105 个实体、5 盏灯、hero / detail 相机和 6 条摄影机运动轨道。
|
|
14
|
+
|
|
15
|
+
需要 DSH 0.1.5-rc.2、Node.js 22.23.3+、pnpm、Blender 5.2.1、FFmpeg / ffprobe,以及 DSH 中已配置的模型服务。首次配置见[快速开始](https://github.com/pearjelly/deep-blend/blob/v0.5.0/deepblend/docs/quick-start.md)。本次验证使用 Node 24.19.0、pnpm 11.25.0、macOS / Metal。
|
|
16
|
+
|
|
17
|
+
固定安装本次使用的插件版本:
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
dsh plugin --profile web add https://github.com/pearjelly/deep-blend/releases/download/v0.5.0/deepblend-bundle.tgz
|
|
21
|
+
dsh web
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
重启已运行的 DSH,在新会话选择 **DeepBlend Studio**,打开侧栏 **Blender**。确认 Blender 与编码器可用。本次会话沿用用户配置的 DeepSeek 兼容接口,模型显示为 DeepSeek-Flash;没有把它描述为 DeepSeek 官方直连接口。
|
|
25
|
+
|
|
26
|
+
## 复现步骤
|
|
27
|
+
|
|
28
|
+
1. 解压素材包,在该目录运行 `node replay-dsh-case.mjs http://127.0.0.1:PORT`,地址替换为 DSH 启动时显示的本地地址。帮助器只向已运行的插件提交完整布景数据,不导入 Host 实现、不调用 Blender、不运行建模脚本。插件编译场景并保存初始检查点,显示 projectId 和版本,保存创建回执。同一创建意图可恢复;若项目名占用,第二个参数指定新名字,并同步替换提示词中的 projectId。
|
|
29
|
+
2. 打开 `agent-prompt.zh.txt`,把 sourcePath 替换为解压后的 `packbot-static.blend` 绝对路径,粘贴到 DeepBlend Studio 对话。智能体使用实际 `blender_asset_ingest` 返回的路径与摘要,再通过 `blender_scene_patch` 保存机器人实例。长署名放 `license.attribution`,`license.source` 只放来源 URL。
|
|
30
|
+
3. 查看插件生成的 hero 第 1、72、144 帧和 detail 第 72 帧。原生 `.blend` 资产在 0.5.0 使用普通检查点预览;独立 `mode:beauty/clay` 路径不支持这种资产。模型没收到图片时,不能声称已看到图像。确认画面后请求完整渲染。
|
|
31
|
+
4. `blender_final_render` 使用 hero 相机、实际当前版本、profileName="final"、frameStart=1、frameEnd=144、samples=128。模板已固定 EEVEE 光线追踪、1920×1080、24 fps、AgX Medium High Contrast。144 帧逐帧实际渲染,耗时取决于设备。
|
|
32
|
+
5. 用 `blender_job_status` 查询同一 jobId;中断后用 `resumeJobId` 继续缺失帧。完成后用 `blender_export` 取得 `verified=true` 的交付清单。保留版本、jobId、MP4 和检查点。
|
|
33
|
+
|
|
34
|
+
也可让 Studio 调用 `blender_project_create`,把 `industrial-stage.json` 的完整内容作为 sceneSpec。仅凭一句“工业场景”不能保证复现同一构图。
|
|
35
|
+
|
|
36
|
+
同一输入可复现同一构图与运动;不同 GPU、Blender 或编码器可能产生少量像素差异,不承诺字节完全相同。原始视频由插件编码和核验,推广版只增加标题与署名并重新编码,不插帧、不替换三维画面。
|
|
37
|
+
|
|
38
|
+
## 真实制作证据
|
|
39
|
+
|
|
40
|
+
`dsh-tool-events.json`、`render-job.json`、`delivery.json`、`scene-spec.json`、`native-readback.json` 串联到同一版本和作业。`night-shift.blend` 是插件保存的检查点。另一个实际 DSH 项目的完整导入与补丁复现得到相同场景摘要;相同 960×540 / 64 samples 的第 72 帧预览,最大 RGB 通道差值为 1/255,比较记录为 `replay-check.json`。舞台由实际 DSH 插件的 `POST /deepblend/projects` 创建;机器人导入、补丁、预览和最终渲染由实际 Studio 模型调用插件工具完成。
|
|
41
|
+
|
|
42
|
+
自动视觉评审对 Packbot 给出了“缺失躯干”和零轮廓像素的争议结果,记录原样保留。操作者查看真实首、中、末帧与联系表,并独立重新打开检查点,核对完整的 79 个网格、面数、贴图和主相机投影边界后决定渲染。Packbot 的设计本身就是双轮底座与机械臂;不把自动评分说成验收通过。
|
|
43
|
+
|
|
44
|
+
## 官方资产许可
|
|
45
|
+
|
|
46
|
+
**CHARGE Packbot © Blender Studio / Blender Foundation — CC-BY。**
|
|
47
|
+
|
|
48
|
+
[官方示例入口](https://www.blender.org/download/demo-files/) · [原始 ZIP](https://download.blender.org/demo/splash/blender-3.4-splash.zip) · [电影与制作资料](https://studio.blender.org/projects/charge/)
|
|
49
|
+
|
|
50
|
+
对象库来自 `pro/lib/char/pack_bot/publish/pack_bot.v002.blend`。导入前的资产整理:采样第 1 帧可见网格、冻结变换、嵌入纹理、排除绑定与角色动画。它是输入转换步骤;新增场景和成片由 DSH 插件生成。用户用准备好的输入即可复现,无需运行转换脚本。
|
|
51
|
+
|
|
52
|
+
官方资产维持官网所标注的 CC-BY,不能改标为项目 MIT。新增布景、SceneSpec 与自编脚本遵循仓库 MIT。分享视频、截图或模型时保留作者、来源与修改说明;本案例不代表 Blender 官方认可。
|
|
53
|
+
|
|
54
|
+
原始 ZIP 本次实际下载 SHA-256:`24935766c9938686c092c094ffb8e0465955bfd7a05876113969d4776285029d`。准备好的模型 SHA-256:`d9d52c9a2d179172b3a725fb4dda087c92e81b1e2153f96f9b1746572bdc7247`。这两项是实际字节的校验记录,不是另一个官方公布的摘要。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
只使用 DeepBlend Studio 的 blender_* 工具制作真实镜头,不使用 Shell、Python 或其他场景脚本。
|
|
2
|
+
|
|
3
|
+
项目 charge-night-shift 已用随包提供的 industrial-stage.json 在当前 DSH 的 deep-blend 工作台创建。请先用 blender_capabilities 和 blender_scene_get 确认项目、当前版本以及 hero / detail 相机。
|
|
4
|
+
|
|
5
|
+
使用 blender_asset_ingest 导入素材包中的 packbot-static.blend。
|
|
6
|
+
sourcePath = 请替换为解压后 packbot-static.blend 的绝对路径
|
|
7
|
+
projectId = charge-night-shift
|
|
8
|
+
assetId = official-charge-packbot
|
|
9
|
+
type = blend
|
|
10
|
+
license = CC-BY — CHARGE Packbot © Blender Studio / Blender Foundation. Source: https://www.blender.org/download/demo-files/ . Modified: frame-1 static geometry, packed textures; original rig and character animation excluded.
|
|
11
|
+
|
|
12
|
+
用返回的真实 assetId、path、sha256 做 blender_scene_patch,baseRevision 使用当前版本,saveCheckpoint=true。两项操作:
|
|
13
|
+
1. asset.add,asset 为 {id:返回的assetId,type:"blend",path:返回的path,sha256:返回的sha256,license:{source:"https://www.blender.org/download/demo-files/",attribution:"CC-BY — CHARGE Packbot © Blender Studio / Blender Foundation. Modified: frame-1 static geometry and packed textures; original rig and animation excluded."}}。
|
|
14
|
+
2. entity.add,entity 为 {id:"packbot",type:"asset-instance",assetId:"official-charge-packbot",transform:{location:[0,0,0],rotationEuler:[0,0,-0.08],scale:[1,1,1]},tags:["hero-product"]}。
|
|
15
|
+
注意:license.source 最多 200 字符,署名放 attribution 字段。保留工业布景、灯光、原生材质、UV、相机与动画轨道。
|
|
16
|
+
|
|
17
|
+
使用普通 blender_preview_render 渲染当前保存版本的 hero 相机,帧 1、72、144,samples=64;再渲染 detail 相机第 72 帧。原生 .blend 资产在 0.5.0 中应使用检查点预览,不能使用 mode:beauty/clay 的独立检查路径。展示真实 PNG 给用户检查轮廓、落地与高光;若模型没有收到图片,不要声称已看到或已完成美术评审。
|
|
18
|
+
|
|
19
|
+
用户确认预览后,使用 blender_final_render,明确 projectId、revision、cameraId="hero"、profileName="final"、frameStart=1、frameEnd=144、samples=128。这是 1920×1080、24fps、6 秒、144 个实际渲染帧,渲染需要持续一段时间。只报告真实 jobId 和状态;未完成前不要宣称成片已交付。
|
|
20
|
+
|
|
21
|
+
使用 blender_job_status 查询实际作业。中断时用 blender_final_render 的 resumeJobId 续渲缺失帧,不重复新建同一个交付任务。作业完成后用 blender_export 明确同一 projectId、jobId、revision,取得 verified=true 的交付清单。保留工具调用记录、场景版本、检查点和许可署名。
|