Files
AnyImage/docs/guide-depth-plane.md
nan 4a69d162a0
Some checks failed
构建扩展 / build (push) Failing after 24s
Add comprehensive documentation for SnapForm features and workflows
- Introduced new guides for Depth Plane, Surface, and animation workflows.
- Added installation instructions and FAQs to assist users in setup and troubleshooting.
- Created a quick-start guide for first-time users to convert images to Depth Planes.
- Documented the process for removing backgrounds from images.
- Established a models and storage section to clarify data management.
- Included a stylesheets file for improved documentation styling.
- Updated mkdocs configuration for better navigation and theme settings.
2026-08-19 16:02:40 +08:00

58 lines
2.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Depth Plane
Depth Plane 将图片转换为带位移的立体面片。它适合快速场景搭建、2.5D 合成、立体插画以及视频素材。
## 创建 Depth Plane
1. 选中 Image Empty。
2. 在 3D View 中右键,选择 **SnapForm > Convert to Depth Plane**。
3. 选择深度来源和需要的选项。
4. 确认后等待任务完成。
## 选择 Depth From
### MoGe-2
默认推荐。MoGe-2 会估算尺度一致的深度、法线和有效区域,通常适合单张图片和逐帧动画。模型越大,细节潜力和资源占用通常越高。
- **Resolution Level** 越高,处理更细致,也会更慢并占用更多内存。
- 第一次使用建议保持默认值 `5`。
### DA3
适合尝试不同的深度估算结果。DA3 使用 **Resolution Scale** 控制处理尺寸;界面会显示实际 Process Res。
- 较低比例适合预览和显存有限的设备。
- 较高比例可能保留更多细节,但不保证每张图片都更好。
### Original
直接把原图亮度作为深度来源,不运行深度估算模型。它适合已经准备好灰度高度图或手绘深度图的情况。
## 转换选项
- **Remove Background**:转换期间使用 BEN2 去除背景,让 Alpha 同时控制可见区域和背景深度。
- **Shadeless**:让贴图颜色不受场景灯光影响,适合插画、合成和需要保持原图观感的场景。
- **Keep Original**:保留源 Image Empty。默认关闭,转换成功后由新网格替代原对象。
## 调整结果
生成对象的 Geometry Nodes 修改器提供以下常用参数:
- **Displacement**:`Geometry` 直接移动网格;`Material` 保持平面并使用材质置换。
- **Subdivision**:控制网格密度。数值越高,深度细节越多,场景也越重。
- **Background Depth**:设置背景区域的位置。
- **Depth Scale**:控制深度强度;负值可以反转前后关系。
调整时建议先降低 Subdivision 提高交互速度,确定 Depth Scale 后再提高细分。
## 动画输入
Depth Plane 支持视频和序列帧。处理范围跟随 Image Empty 的 **Image Frames** 与 **Offset**,生成后的颜色和深度会随场景帧播放。
动画结果会引用任务目录中的图片序列。移动工程或清理磁盘前,请先阅读[视频与序列帧](animation.md)和[模型、设备与存储](models-and-storage.md)。
## 进一步了解
需要查看节点、数据字段、色彩空间和位移计算方式时,请阅读[Depth Plane 实现参考](depth-plane.md)。