mlsanityData to 7 Oct 2026

DiffCSG: Differentiable CSG via Rasterization

arXiv 2409.01421 ↗First posted 2 Sep 2024cs.GR cs.CVcited by 6

Not on the map. Why?

Abstract (arXiv)

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/.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 20 of its 44 references that are in the map. First posted on arXiv 2 Sep 2024.

Builds on

20 of 44 references.

References · 20

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2020Modular Primitives for High-Performance Differentiable Renderingcited by 439
  3. 2019Soft Rasterizer: A Differentiable Renderer for Image-based 3D Reasoningcited by 420
  4. 2023TADA! Text to Animatable Digital Avatarscited by 109
  5. 2017CSGNet: Neural Shape Parser for Constructive Solid Geometrycited by 106
  6. 2019Write, Execute, Assess: Program Synthesis with a REPLcited by 92
  7. 2020UCSG-Net -- Unsupervised Discovering of Constructive Solid Geometry Treecited by 77
  8. 2021CSG-Stump: A Learning Friendly CSG-Like Representation for Interpretable Shape Parsingcited by 51
  9. 2022Reconstructing editable prismatic CAD from rounded voxel modelscited by 41
  10. 2020Fusion 360 Gallery: A Dataset and Environment for Programmatic CAD Construction from Human Design Sequencescited by 36
  11. 2021Differentiable Surface Rendering via Non-Differentiable Samplingcited by 28
  12. 2022Differentiable Rendering of Neural SDFs through Reparameterizationcited by 26
8 more
  1. 2023ShapeCoder: Discovering Abstractions for Visual Programs from Unstructured Primitivescited by 22
  2. 2021Differentiable 3D CAD Programs for Bidirectional Editingcited by 13
  3. 2024Diffusion On Syntax Trees For Program Synthesiscited by 10
  4. 2024Transforming a Non-Differentiable Rasterizer into a Differentiable One with Stochastic Gradient Estimationcited by 5
  5. 2022Interactive and Robust Mesh Booleanscited by 3
  6. 2024Introducing Bidirectional Programming in Constructive Solid Geometry-Based CADcited by 2
  7. 2024A Unified Differentiable Boolean Operator with Fuzzy Logiccited by 1
  8. 2024Understanding the Challenges of OpenSCAD Users for 3D Printingcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 0; 2026: 5.

6 papers.