NOTE: this is a modified version to support Depth & Alpha & ObjectID rendering (both forward and backward) from the original repository.
git clone --recursive https://github.com/fusheng-ji/diff-gaussian-rasterization-modified.git
cd diff-gaussian-rasterization-modified
pip install .
rendered_image, radii, rendered_depth, rendered_alpha, rendered_objects = rasterizer(
means3D=means3D,
means2D=means2D,
shs=shs,
sh_objs = sh_objs,
colors_precomp=colors_precomp,
opacities=opacity,
scales=scales,
rotations=rotations,
cov3D_precomp=cov3D_precomp,
)
Used as the rasterization engine for the paper "3D Gaussian Splatting for Real-Time Rendering of Radiance Fields". If you can make use of it in your own research, please be so kind to cite us.
@Article{kerbl3Dgaussians,
author = {Kerbl, Bernhard and Kopanas, Georgios and Leimk{\"u}hler, Thomas and Drettakis, George},
title = {3D Gaussian Splatting for Real-Time Radiance Field Rendering},
journal = {ACM Transactions on Graphics},
number = {4},
volume = {42},
month = {July},
year = {2023},
url = {https://repo-sam.inria.fr/fungraph/3d-gaussian-splatting/}
}