We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.GR

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Graphics

Title: Transforming a Non-Differentiable Rasterizer into a Differentiable One with Stochastic Gradient Estimation

Abstract: We show how to transform a non-differentiable rasterizer into a differentiable one with minimal engineering efforts and no external dependencies (no Pytorch/Tensorflow). We rely on Stochastic Gradient Estimation, a technique that consists of rasterizing after randomly perturbing the scene's parameters such that their gradient can be stochastically estimated and descended. This method is simple and robust but does not scale in dimensionality (number of scene parameters). Our insight is that the number of parameters contributing to a given rasterized pixel is bounded. Estimating and averaging gradients on a per-pixel basis hence bounds the dimensionality of the underlying optimization problem and makes the method scalable. Furthermore, it is simple to track per-pixel contributing parameters by rasterizing ID- and UV-buffers, which are trivial additions to a rasterization engine if not already available. With these minor modifications, we obtain an in-engine optimizer for 3D assets with millions of geometry and texture parameters.
Comments: Proceedings of 2024 ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games
Subjects: Graphics (cs.GR)
DOI: 10.1145/3651298
Cite as: arXiv:2404.09758 [cs.GR]
  (or arXiv:2404.09758v2 [cs.GR] for this version)

Submission history

From: Laurent Belcour [view email]
[v1] Mon, 15 Apr 2024 13:00:09 GMT (46334kb,D)
[v2] Wed, 17 Apr 2024 10:32:01 GMT (46334kb,D)

Link back to: arXiv, form interface, contact.