- Implemented the Image Perspective tool for editing image corners in Blender. - Created a new operator `EditImagePerspective` to handle the perspective transformation. - Added a preview feature for the perspective adjustment. - Introduced the `ImagePolylineTool` for editing image masks with polylines. - Developed backend support for Real-ESRGAN model inference, including ONNX integration. - Added functionality for image masking and background removal. - Created unit tests for the Real-ESRGAN ONNX model to ensure correct preprocessing and inference.
2.2 KiB
2.2 KiB
AnyImage
把图片里的空间感带进 Blender。
AnyImage 是一款 Blender 扩展,可以把照片、视频或序列帧转换为带真实深度变化的立体面片。你只需导入图片、选中 Image Empty,然后从右键菜单选择需要的结果。
- 按 Ctrl+V(macOS 为 Cmd+V)把剪贴板图片直接粘贴到当前编辑器
- 用 Mesh Plane 无需 AI 地创建可调厚度和细分的图片网格
- 用 Depth Plane 快速得到可调节的浮雕式面片
- 用 Surface 从单张图片生成透视纹理网格
- 用 Remove Background 一键获得透明前景
- 用 Image Box / Lasso / Line / Polyline 直接清理图片,或用 Image Perspective 做四点透视矫正
- 处理视频和序列帧,生成可随时间播放的 Depth Plane
- 使用 Geometry Nodes 继续调整深度、细分、重拓扑与平滑效果
!!! info "运行环境与 Blender 分离" AnyImage 的 AI 计算运行在独立环境中,不会把 ONNX Runtime 等计算依赖装进 Blender Python。首次配置完成后,日常操作都可以从 Image Empty 的右键菜单完成。
从这里开始
使用要求
- Blender 4.5 或更高版本
- Windows x64、macOS Apple Silicon 或 Linux x64
- 首次安装环境与模型时需要网络连接
- Depth Plane、Surface、Remove Background 与 Balloon 的 AI 增强需要独立 Environment,以及默认的 MoGe-2 和 BEN2 模型;Balloon 基础功能无需安装
!!! tip 不确定从哪里开始时,先使用默认设置将一张人物或物体照片转换为 Depth Plane。它速度快、参数直观,也最适合熟悉 AnyImage 的基本工作方式。