# jaxsplat ![](./jaxsplat.gif) jaxsplat is a port of 3D Gaussian Splatting to [JAX](https://github.com/google/jax). Fully differentiable, CUDA accelerated. ## Installation Requires a working CUDA toolchain to install. Simply `pip install`ing directly from source should build and install jaxsplat: ```shell $ python -m venv venv && . venv/bin/activate $ pip install git+https://github.com/yklcs/jaxsplat ``` ## Usage The primary function of jaxsplat is `jaxsplat.render`, which renders 3D Gaussians to a 2D image differentiably. View [the rendering API docs](./render/index) for more complete docs. ```python img = jaxsplat.render( means3d, scales, quats, colors, opacities, viewmat=viewmat, background=background, img_shape=img_shape, f=f, c=c, glob_scale=glob_scale, clip_thresh=clip_thresh, block_size=block_size, ) ``` ## Bibliography - [3D Gaussian Splatting for Real-Time Radiance Field Rendering](https://repo-sam.inria.fr/fungraph/3d-gaussian-splatting/) (Kerbl et al., SIGGRAPH 2023) - [gsplat](https://github.com/nerfstudio-project/gsplat) ```{eval-rst} .. toctree:: :maxdepth: 1 :hidden: self GitHub .. toctree:: :maxdepth: 2 :hidden: :caption: API Reference: render/index .. toctree:: :maxdepth: 2 :hidden: :caption: Examples: Single image ```