- Added interaction helpers for cutout region validation and shape menu interaction. - Created main operator for converting image regions into cutout shapes, including AI artifact generation. - Introduced object creation logic for cutout shapes, handling depth and normal textures. - Defined cutout shape identifiers and node groups for various shape types. - Implemented depth texture writing and prediction artifact generation for MoGe-2. - Developed server jobs for generating cutout artifacts, depth planes, and refining image regions. - Added region refinement logic to enhance gesture masks using BEN2.
2.0 KiB
2.0 KiB
选择工作流
先确定需要的是图片数据、普通平面、整图深度,还是局部网格。
| 工作流 | 输入 | 结果 | AI |
|---|---|---|---|
| Clipboard Image | 剪贴板静态图 | Reference、Plane、节点或笔刷纹理 | 不需要 |
| Convert to Plane | 单图、Movie、Sequence | 带材质的普通网格 | 不需要 |
| Convert to Depth Plane | 静态图 | 带深度位移的整图面片 | MoGe-2 |
| Cutout | 静态图局部选区 | 四种局部 Shape | 按 Shape 与选项决定 |
| Remove Background | 单图、Movie、Sequence | 透明图片或序列 | BEN2 |
| Upscale | 单图、Movie、Sequence | 4× 图片或序列 | Upscale 模型 |
| Image Mask / Perspective | 静态图 | 原位更新的裁切或矫正图 | Fit to Foreground 时使用 BEN2 |
普通 Plane
只需要图片卡片、背景板或视频贴图时,选择 Convert to Plane。它不分析深度,Thickness 与 Subdivide 可以在 Geometry Nodes 中随时调整。
Depth Plane
需要把整张静态图快速变成可调浮雕时,选择 Convert to Depth Plane。深度模型与分辨率在扩展 Preferences 中设置。
Cutout
只需要图片局部,或希望按轮廓生成 Balloon / Depth Surface 时,使用工具栏中的 Cutout。普通 Surface 与 Balloon 可以完全在 Blender 内完成,Fit to Foreground、Generate Normal Map 与 Depth Shape 按需调用 AI。
图片处理
只想得到透明前景,不需要网格时使用 Remove Background。需要增加像素尺寸时使用 Upscale。两者都支持 Movie 和 Image Sequence。
Image 编辑
Box、Lasso、Line 和 Polyline 适合直接清理 Alpha;Perspective 适合把图片中的四边形内容矫正为矩形。结果都会写回当前 Image Empty,并保持对象 Transform。