Dressi: A Hardware-Agnostic Differentiable Renderer with Reactive Shader Packing and Soft Rasterization

04/04/2022
by   Yusuke Takimoto, et al.
0

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.

READ FULL TEXT

page 1

page 8

page 9

page 11

page 12

page 13

page 22

page 23

research
07/16/2019

RayTracer.jl: A Differentiable Renderer that supports Parameter Optimization for Scene Reconstruction

In this paper, we present RayTracer.jl, a renderer in Julia that is full...
research
02/02/2022

Dr.Jit: A Just-In-Time Compiler for Differentiable Rendering

Dr.Jit is a new just-in-time compiler for physically based rendering and...
research
11/06/2020

Modular Primitives for High-Performance Differentiable Rendering

We present a modular differentiable renderer design that yields performa...
research
04/27/2019

Differentiable Visual Computing

Derivatives of computer graphics, image processing, and deep learning al...
research
03/21/2010

A Very Simple Approach for 3-D to 2-D Mapping

Many times we need to plot 3-D functions e.g., in many scientificc exper...
research
03/10/2023

Hardware Acceleration of Neural Graphics

Rendering and inverse-rendering algorithms that drive conventional compu...
research
08/17/2023

Dr.Bokeh: DiffeRentiable Occlusion-aware Bokeh Rendering

Bokeh is widely used in photography to draw attention to the subject whi...

Please sign up or login with your details

Forgot password? Click here to reset