Photorealistic Object Insertion with Diffusion-Guided Inverse Rendering

Ruofan Liang, Zan Gojcic, Merlin Nimier-David, David Acuna, Nandita Vijaykumar +2 more
2/14/2026

No official code found. Best implementation: johndpope/DiPIR-hack (16 stars, MIT, last commit 2024-09-24).

Abstract

The correct insertion of virtual objects in images of real-world scenes requires a deep understanding of the scene's lighting, geometry and materials, as well as the image formation process. While recent large-scale diffusion models have shown strong generative and inpainting capabilities, we find that current models do not sufficiently"understand"the scene shown in a single picture to generate consistent lighting effects (shadows, bright reflections, etc.) while preserving the identity and details of the composited object. We propose using a personalized large diffusion model as guidance to a physically based inverse rendering process. Our method recovers scene lighting and tone-mapping parameters, allowing the photorealistic composition of arbitrary virtual objects in single frames or videos of indoor or outdoor scenes. Our physically based pipeline further enables automatic materials and tone-mapping refinement.

View on arXivView PDF

Code Implementations(1)

MIT

Photorealistic Object Insertion with Diffusion-Guided Inverse Rendering (nvidia)

163PythonSep 21, 20242 years agoMIT

Similar Papers

Cite this paper

@article{liang2026photorealistic,
  title  = {Photorealistic Object Insertion with Diffusion-Guided Inverse Rendering},
  author = {Ruofan Liang and Zan Gojcic and Merlin Nimier-David and David Acuna and Nandita Vijaykumar and Sanja Fidler and Zian Wang},
  year   = {2026},
  eprint = {2408.09702},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2408.09702},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.09702.svg)](https://codeofpaper.com/paper/2408.09702)

Discussion