- Implement sync_models.py for preparing and uploading ONNX artifacts. - Create build_node.py for building and validating Blender scripts. - Add docs.py for building and previewing documentation with Mike or MkDocs. - Introduce model_exports.py for exporting PyTorch models to ONNX format. - Develop pack.py for packaging the project with dependencies for different platforms. - Add test_sync_models.py to validate sync_models functionality. - Add test_tool_commands.py to ensure repository tools have correct command scripts. - Initialize tools package with __init__.py.
34 lines
1.2 KiB
Markdown
34 lines
1.2 KiB
Markdown
# 五分钟上手
|
||
|
||
这个流程会把一张静态图片转换为可继续编辑的 Depth Plane。
|
||
|
||
## 1. 导入图片
|
||
|
||
在 3D View 中选择 **Add > Image > Reference**,导入一张主体清晰、前后关系明确的图片。Blender 会创建一个 Image Empty。
|
||
|
||
## 2. 检查深度设置
|
||
|
||
打开 **Edit > Preferences > Extensions > AnyImage**。第一次使用建议保持默认:
|
||
|
||
- **Depth & Normal Model**:MoGe-2 ViT-S Normal
|
||
- **MoGe Resolution Level**:5
|
||
- **Device**:使用自动列出的首选设备
|
||
|
||
转换直接使用这些扩展级默认值。
|
||
|
||
## 3. 开始转换
|
||
|
||
选中 Image Empty,在 3D View 中右键选择 **AnyImage > Convert to Depth Plane**。如果环境或必需模型尚未就绪,AnyImage 会先引导完成安装或下载。
|
||
|
||
任务运行时,状态栏会显示准备输入、模型推理和结果导入进度。转换完成后,源 Image Empty 会被新的网格对象替代。
|
||
|
||
## 4. 调整结果
|
||
|
||
打开对象的 `O Image Depth Plane` Geometry Nodes 修改器:
|
||
|
||
- **Subdivide** 控制网格密度;
|
||
- **Thickness** 增加背面和侧壁,`0` 保持单面;
|
||
- **Depth Amount** 控制深度位移强度。
|
||
|
||
建议先用较低 Subdivide 调整 Depth Amount,再按成品需要增加细分。
|