用扩散模型自动添加材料磨损细节,无需训练
Generative Detail Enhancement for Physically Based Materials
- 用多视角图像和文本提示控制扩散模型生成细节
- 通过可微逆渲染将生成细节反向优化到材质参数
- 支持艺术家后续编辑,适合影视游戏材质制作
我们提出一种工具,利用现成的扩散模型与逆渲染技术,增强基于物理的材质细节。目标是自动添加磨损、老化、风化等视觉细节,这些细节通常难以手动创作。由于这些外观特征源于真实世界过程,我们使用在大量自然图像及其上下文视觉数据上训练的生成模型。给定几何形状、UV映射和基础外观后,渲染多个视角的物体图像。利用这些图像及定义外观的文本提示,对扩散模型进行条件控制。生成的细节通过可微逆渲染从增强图像反向传播至材质参数。为确保多视角一致性,我们提出两种先验:一是从视图无关的UV空间生成初始噪声以保持一致性;二是通过投影约束调整注意力机制,使像素关注其他视角中的对应位置。本方法无需训练或微调扩散模型,与材质模型无关,生成的2D PBR纹理可由艺术家进一步编辑。项目地址:https://generative-detail.github.io。
原文摘要 · Abstract (English)
We present a tool for enhancing the detail of physically based materials using an off-the-shelf diffusion model and inverse rendering. Our goal is to enhance the visual fidelity of materials with detail that is often tedious to author, by adding signs of wear, aging, weathering, etc. As these appearance details are often rooted in real-world processes, we leverage a generative image model trained on a large dataset of natural images with corresponding visuals in context. Starting with a given geometry, UV mapping, and basic appearance, we render multiple views of the object. We use these views, together with an appearance-defining text prompt, to condition a diffusion model. The details it generates are then backpropagated from the enhanced images to the material parameters via inverse differentiable rendering. For inverse rendering to be successful, the generated appearance has to be consistent across all the images. We propose two priors to address the multi-view consistency of the diffusion model. First, we ensure that the initial noise that seeds the diffusion process is itself consistent across views by integrating it from a view-independent UV space. Second, we enforce geometric consistency by biasing the attention mechanism via a projective constraint so that pixels attend strongly to their corresponding pixel locations in other views. Our approach does not require any training or finetuning of the diffusion model, is agnostic of the material model used, and the enhanced material properties, i.e., 2D PBR textures, can be further edited by artists. This project is available at https://generative-detail.github.io.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。