Papers › Soft Rasterizer: A Differentiable Renderer for Image-based 3D Reasoning

Soft Rasterizer: A Differentiable Renderer for Image-based 3D Reasoning

3 Apr 2019ICCV 2019 10arXiv:1904.01786archive 2025-07-28

Shichen Liu, Tianye Li, Weikai Chen, Hao Li

Rendering bridges the gap between 2D vision and 3D scenes by simulating the physical process of image formation. By inverting such renderer, one can think of a learning approach to infer 3D information from 2D images. However, standard graphics renderers involve a fundamental discretization step called rasterization, which prevents the rendering process to be differentiable, hence able to be learned. Unlike the state-of-the-art differentiable renderers, which only approximate the rendering gradient in the back propagation, we propose a truly differentiable rendering framework that is able to (1) directly render colorized mesh using differentiable functions and (2) back-propagate efficient supervision signals to mesh vertices and their attributes from various forms of image representations, including silhouette, shading and color images. The key to our framework is a novel formulation that views rendering as an aggregation function that fuses the probabilistic contributions of all mesh triangles with respect to the rendered pixels. Such formulation enables our framework to flow gradients to the occluded and far-range vertices, which cannot be achieved by the previous state-of-the-arts. We show that by using the proposed renderer, one can achieve significant improvement in 3D unsupervised single-view reconstruction both qualitatively and quantitatively. Experiments also demonstrate that our approach is able to handle the challenging tasks in image-based shape fitting, which remain nontrivial to existing differentiable renderers.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1904.01786")

Code

Syntology Ran 1 of 11 code samples harvested from 2 repositories linked to this paper; 10 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: official repository: 9 samples from 1 repository, 1 ran; community (archive-listed): 2 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ShichenLiu/SoftRas officialmentioned in papermentioned on GitHubpytorchMIT report
kach/softraxterizer mentioned on GitHubjaxMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 1 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran
10unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

face_vertices ShichenLiu/SoftRas/soft_renderer/functional/face_vertices.py official repository ran fingerprinted MIT (permissive) · 42d983df1501fbb5 · report
ambient_lighting ShichenLiu/SoftRas/soft_renderer/functional/ambient_lighting.py official repository unverified MIT (permissive) · 7ffb516ee103321a · report
directional_lighting ShichenLiu/SoftRas/soft_renderer/functional/directional_lighting.py official repository unverified MIT (permissive) · 74684204a6a3b4c6 · report
get_points_from_angles ShichenLiu/SoftRas/soft_renderer/functional/get_points_from_angles.py official repository unverified MIT (permissive) · 8497e22d3575f176 · report
load_mtl ShichenLiu/SoftRas/soft_renderer/functional/load_obj.py official repository unverified MIT (permissive) · 158489df7e42d7e0 · report
look ShichenLiu/SoftRas/soft_renderer/functional/look.py official repository unverified MIT (permissive) · e13da960399c788d · report
look_at ShichenLiu/SoftRas/soft_renderer/functional/look_at.py official repository unverified MIT (permissive) · d7e7c5fad58018a4 · report
orthogonal ShichenLiu/SoftRas/soft_renderer/transform.py official repository unverified MIT (permissive) · e26d5f3fd5f9dd7c · report
perspective ShichenLiu/SoftRas/soft_renderer/transform.py official repository unverified MIT (permissive) · be8ae6f86624b34a · report
get_pixel kach/softraxterizer/softraxterizer.py community (archive-listed) unverified MIT (permissive) · 01749edd95bc6e58 · report
softras kach/softraxterizer/softraxterizer.py community (archive-listed) unverified MIT (permissive) · b8b5518bfb5539c8 · report

Tasks

3D Object ReconstructionSingle-View 3D Reconstruction

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
3D Object Reconstruction ShapeNet SoftRas (full) 3DIoU 0.6464 #1 of 1 Archive leaderboard report
Single-View 3D Reconstruction ShapeNet SoftRas (full) 3DIoU 0.6464 #3 of 7 Archive leaderboard report
Single-View 3D Reconstruction ShapeNet NMR [19] 3DIoU 0.6015 #5 of 7 Archive leaderboard report
Single-View 3D Reconstruction ShapeNet voxel [47] 3DIoU 0.5736 #6 of 7 Archive leaderboard report
Single-View 3D Reconstruction ShapeNet retrieval [47] 3DIoU 0.4766 #7 of 7 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections