arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.01421cs.GRcs.CV
收藏

DiffCSG:通过光栅化实现可微 CSG

DiffCSG: Differentiable CSG via Rasterization

The University of Edinburgh(爱丁堡大学);Inria(法国国家信息与自动化研究所);Microsoft Research Asia(微软亚洲研究院);Nanjing University(南京大学);University College London(伦敦大学学院);Adobe Research(奥多比研究院)

Haocheng Yuan, Adrien Bousseau, Hao Pan, Chengquan Zhang, Niloy J. Mitra, Changjian Li

AI总结:

本文提出 DiffCSG,利用无需生成结果网格的 CSG 光栅化和交线抗锯齿实现可微渲染,支持 CSG 图元的直接与基于图像编辑。

摘要:

可微渲染是逆向渲染和机器学习的关键组成部分,因为它允许优化场景参数(形状、材质、光照),以最佳拟合目标图像。可微渲染要求每个场景参数都通过可微操作与像素值关联。尽管三维网格渲染算法已经以可微方式实现,但这些算法不能直接扩展到 Constructive-Solid-Geometry(CSG,构造实体几何)这种流行的形状参数化表示,因为其底层布尔运算通常借助复杂的黑盒网格处理库完成。我们提出了一种以可微方式渲染 CSG 模型的算法 DiffCSG。该算法建立在 CSG 光栅化之上:它显示图元之间布尔运算的结果,而无需显式计算所得网格,因此绕开了黑盒网格处理。我们描述了如何在可微渲染管线中实现 CSG 光栅化,并特别注意沿图元交线应用抗锯齿,以便在这些关键区域获得梯度。该算法简单快速,可轻松集成到现代机器学习环境中,并支持一系列计算机辅助设计应用,包括对 CSG 图元进行直接编辑和基于图像的编辑。代码与数据:https://yyyyyhc.github.io/DiffCSG/。

英文摘要:

Differentiable rendering is a key ingredient for inverse rendering and machine learning, as it allows to optimize scene parameters (shape, materials, lighting) to best fit target images. Differentiable rendering requires that each scene parameter relates to pixel values through differentiable operations. While 3D mesh rendering algorithms have been implemented in a differentiable way, these algorithms do not directly extend to Constructive-Solid-Geometry (CSG), a popular parametric representation of shapes, because the underlying boolean operations are typically performed with complex black-box mesh-processing libraries. We present an algorithm, DiffCSG, to render CSG models in a differentiable manner. Our algorithm builds upon CSG rasterization, which displays the result of boolean operations between primitives without explicitly computing the resulting mesh and, as such, bypasses black-box mesh processing. We describe how to implement CSG rasterization within a differentiable rendering pipeline, taking special care to apply antialiasing along primitive intersections to obtain gradients in such critical areas. Our algorithm is simple and fast, can be easily incorporated into modern machine learning setups, and enables a range of applications for computer-aided design, including direct and image-based editing of CSG primitives. Code and data: https://yyyyyhc.github.io/DiffCSG/.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑