论文标题
dressi:一种具有反应性着色器包装和软栅格化的硬件敏捷的渲染器
Dressi: A Hardware-Agnostic Differentiable Renderer with Reactive Shader Packing and Soft Rasterization
论文作者
论文摘要
可区分渲染(DR)通过基于梯度的优化来实现各种计算机图形和计算机视觉应用程序,并具有渲染方程的衍生物。大多数基于栅格的方法都是建立在通用自动分化(AD)库和使用CUDA手工制作的DR特定模块上的。这样的系统设计将算法实现和算法构建块混合在一起,从而产生硬件依赖性和有限的性能。在本文中,我们提出了一个实用的硬件敏捷渲染器,称为Dressi,该渲染器基于新的完整广告设计。 Dressi的博士算法完全写在我们针对Drdersi-AD博士的基于Vulkan的广告中,该广告支持DR的所有原始操作。 Dressi-AD和我们内部的违反紫外线技术通过图形硬件带来了硬件独立性和加速性。阶段包装是我们的运行时优化技术,可以通过反应性缓存来调整硬件约束,并有效地执行DR的复杂计算图,并考虑到Vulkan的渲染通过层次结构。我们的新型渲染过程HardSoftras设计用于使用图形管道的逆渲染。在图形管道的有限功能下,硬丝带可以传播从屏幕空间到远程三角形属性的像素的梯度。我们的实验和应用表明,Dressi以快速的速度以及逼真的渲染建立了硬件独立性,高质量和强大的优化。
Differentiable rendering (DR) enables various computer graphics and computer vision applications through gradient-based optimization with derivatives of the rendering equation. Most rasterization-based approaches are built on general-purpose automatic differentiation (AD) libraries and DR-specific modules handcrafted using CUDA. Such a system design mixes DR algorithm implementation and algorithm building blocks, resulting in hardware dependency and limited performance. In this paper, we present a practical hardware-agnostic differentiable renderer called Dressi, which is based on a new full AD design. The DR algorithms of Dressi are fully written in our Vulkan-based AD for DR, Dressi-AD, which supports all primitive operations for DR. Dressi-AD and our inverse UV technique inside it bring hardware independence and acceleration by graphics hardware. Stage packing, our runtime optimization technique, can adapt hardware constraints and efficiently execute complex computational graphs of DR with reactive cache considering the render pass hierarchy of Vulkan. HardSoftRas, our novel rendering process, is designed for inverse rendering with a graphics pipeline. Under the limited functionalities of the graphics pipeline, HardSoftRas can propagate the gradients of pixels from the screen space to far-range triangle attributes. Our experiments and applications demonstrate that Dressi establishes hardware independence, high-quality and robust optimization with fast speed, and photorealistic rendering.