EUVIMEDEUVIMED entdecken
Crossref

Automatic Sampling for Discontinuities in Differentiable Shaders

Yash Belhe, Ishit Mehta, Wesley Chang, Iliyan Georgiev, Michael Gharbi, Ravi Ramamoorthi, Tzu-Mao Li

ACM Transactions on Graphics · 2025-12 · 44 (6) · 1-19

DOI: 10.1145/3763291 ↗

Kurz gefasst

Fachartikel in der Zeitschrift ACM Transactions on Graphics, online erschienen am 04.12.2025. Verfasst von Yash Belhe und 6 weiteren Autor:innen. Die Arbeit wurde bisher 2-mal zitiert (Crossref) und nennt 58 Literaturangaben. Gefördert von: NSF.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

We present a novel method to differentiate integrals of discontinuous functions, which are common in inverse graphics, computer vision, and machine learning applications. Previous methods either require specialized routines to sample the discontinuous boundaries of predetermined primitives, or use reparameterization techniques that suffer from high variance. In contrast, our method handles general discontinuous functions, expressed as shader programs, without requiring manually specified boundary sampling routines. We achieve this through a program transformation that converts discontinuous functions into piecewise constant ones, enabling efficient boundary sampling through a novel segment snapping technique, and accurate derivatives at the boundary by simply comparing values on both sides of the discontinuity. Our method handles both explicit boundaries (polygons, ellipses, Bézier curves) and implicit ones (neural networks, noise-based functions, swept surfaces). We demonstrate that our system supports a wide range of applications, including painterly rendering, raster image fitting, constructive solid geometry, swept surfaces, mosaicing, and ray marching.

Förderung

  • NSF

Zitieren

APA

Belhe, Y., Mehta, I., Chang, W., Georgiev, I., Gharbi, M., Ramamoorthi, R., & Li, T. (2025). Automatic Sampling for Discontinuities in Differentiable Shaders. ACM Transactions on Graphics, 44(6), 1-19. https://doi.org/10.1145/3763291

Vancouver

Belhe Y, Mehta I, Chang W, Georgiev I, Gharbi M, Ramamoorthi R, et al. Automatic Sampling for Discontinuities in Differentiable Shaders. ACM Transactions on Graphics. 2025;44(6):1-19. doi:10.1145/3763291

BibTeX
@article{Belhe2025,
  author = {Belhe, Yash and Mehta, Ishit and Chang, Wesley and Georgiev, Iliyan and Gharbi, Michael and Ramamoorthi, Ravi and Li, Tzu-Mao},
  title = {Automatic Sampling for Discontinuities in Differentiable Shaders},
  journal = {ACM Transactions on Graphics},
  year = {2025},
  volume = {44},
  number = {6},
  pages = {1--19},
  doi = {10.1145/3763291}
}
Kostenlos starten →