cs.CVOct 27, 2026

GraftRay: Physically Based Mesh Insertion into Gaussian Splatting Scenes via Path Tracing

Authors: Jinxin Ai, Matthias Niessner

Organizations: Technical University of Munich

Abstract

Inserting virtual objects into scenes reconstructed via 2D or 3D Gaussian Splatting (2DGS/3DGS) is a key capability for content creation, AR, and synthetic data generation. However, realistic insertion requires the object to be seamlessly lit by the scene and, conversely, to cast physically plausible shadows onto it. Existing approaches either harmonize appearance in image space, sacrificing multi-view consistency, or approximate scene illumination with an environment map at the insertion point, which cannot represent near-field area lights such as windows and lamps that dominate indoor lighting. To address this, we present GraftRay, a unified method for physically consistent insertion of mesh objects into indoor scenes represented by either 2D or 3D Gaussians. We recover scene materials and surface normals with diffusion-based priors, and explicitly model spatially-extended emitters, solving their radiance in closed form. A hybrid renderer then jointly path-traces the scene Gaussians and inserted meshes, producing view-consistent shading, interreflections, and soft shadows. On FIPT, GraftRay sets a new state of the art, outperforming recent baselines such as ComGS and EAG-PT in rendering fidelity and shadow accuracy, while maintaining highly competitive rendering efficiency.

Figures & tables

Explore similar work

CardsList
  1. LightHarmony3D: Harmonizing Illumination and Shadows for Object Insertion in 3D Gaussian Splatting

    Mar 31, 2026Tianyu Huang, Zhenyang Ren, Zhenchen Wan +53D Scene Editing3D Gaussian Splatting

  2. VisibilitySplat: Ray-Traced Occlusion for Relighting with 3D Gaussian Splatting

    Oct 14, 2026Sven Kluge, Oliver StaadtInverse Rendering3D Gaussian Splatting

  3. Stochastic Ray Tracing for the Reconstruction of 3D Gaussian Splatting

    Mar 24, 2026Peiyu Xu, Xin Sun, Krishna Mullia +33D Gaussian SplattingDifferentiable Ray Tracing