Skip to content

computational-imaging/hsplat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hsplat

An open-source library for computer-generated holography using primitives.

Associated paper

Gaussian wave splatting for computer-generated holography | SIGGRAPH 2025

Project Page | Paper

Suyeon Choi*, Brian Chao*, Jacqueline Yang, Manu Gopakumar, Gordon Wetzstein
*denotes equal contribution

Getting Started

Install PyTorch first, and then load the submodules in the gsplat folder with:

git submodule init
git submodule update

Download Mip-NeRF 360 and NeRF synthetic dataset in hsplat/data folder.

Using gsplat, you can generate new scenes and store Gaussians in the hsplat/models folder, but we also provide pre-optimized Gaussians so that you can run the code out of the box. Download them from here and place them in the hsplat/models folder.

Overview

The code is organized as follows:

  • The dsplat folder contains the phase encoding function (e.g., DPAC) for the SLMs, from the complex-valued wavefront output of hsplat.
  • The gsplat folder contains the gsplat library.
  • The hsplat folder contains CGH algorithm implementations using primitives.

Running the Code

To run our Gaussian Wave Splatting algorithm, run:

bash scripts/main_gws_light.sh

To run CGH algorithms for other primitives, run

bash scripts/main_pc.sh  # point cloud
bash scripts/main_meshes.sh  # polygon-based CGH
bash scripts/main_gws.sh  # GWS matcinhg number of primitives

Citation

If you find our work useful in your research, please cite:

@article{choi2025gaussian,
  title={Gaussian wave splatting for computer-generated holography},
  author={Choi, Suyeon and Chao, Brian and Yang, Jacqueline and Gopakumar, Manu and Wetzstein, Gordon},
  journal={ACM Transactions on Graphics (TOG)},
  volume={44},
  number={4},
  pages={1--13},
  year={2025},
  publisher={ACM New York, NY, USA}
}

Contact

If you have any questions, please feel free to email Suyeon Choi and Brian Chao.

About

An open-source library for computer-generated holography using primitives.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published