About
RXMesh is a surface triangle mesh data structure and programming model for processing static meshes on the GPU. RXMesh aims at provides a high-performance, generic, and compact data structure that can handle meshes regardless of their quality (e.g., non-manifold). The programming model helps to hide the complexity of the data structure and provides an intuitive access model for different use cases. For more details, please check out our paper:
RXMesh: A GPU Mesh Data Structure
Ahmed H. Mahmoud, Serban D. Porumbescu, and John D. Owens
ACM Transaction on Graphics (Proceedings of SIGGRAPH 2021)
This repository provides 1) source code to reproduce the results presented in the paper (git tag v0.1.0
) and 2) ongoing development of RXMesh. For 1), all input models used in the paper can be found here. Models were collected from Thingi10K and Smithsonian 3D repository.
A Quick Glance
RXMesh is a CUDA/C++ header-only library. All unit tests are under tests/
folder. This includes the unit test for some basic functionalities along with the unit test for the query operations. All applications are under apps/
folder.
Compilation
The code can be compiled on Ubuntu (GCC 9) and Windows (Visual Studio 2019) providing that CUDA (>=11.1.0) is installed. To run the executable(s), an NVIDIA GPU should be installed on the machine.
Dependencies
- OpenMesh to verify the applications against reference CPU implementation
- RapidJson to report the results in JSON file(s)
- GoogleTest for unit tests
- spdlog for logging
All the dependencies are installed automatically! To compile the code:
> git clone https://github.com/owensgroup/RXMesh.git
> cd RXMesh
> mkdir build
> cd build
> cmake ../
Depending on the system, this will generate either a .sln
project on Windows or a make
file for a Linux system.
Replicability
This repo was awarded the replicability stamp by the Graphics Replicability Stamp Initiative (GRSI).
The scripts used to generate the data shown in the paper can be found under
Each script should be run from the script's containing directory after compiling the code in build/
directory. The only input parameter needed is the path to the input OBJ files. The resulting JSON files will be written to output/
directory.
Bibtex
@article{Mahmoud:2021:RAG,
author = {Mahmoud, Ahmed H. and Porumbescu, Serban D. and Owens, John D.},
title = {{RXM}esh: A {GPU} Mesh Data Structure},
journal = {ACM Transactions on Graphics},
year = 2021,
volume = 40,
number = 4,
month = aug,
issue_date = {August 2021},
articleno = 104,
numpages = 16,
pages = {104:1--104:16},
url = {https://escholarship.org/uc/item/8r5848vp},
full_talk = {https://youtu.be/Se_cNAol4hY},
short_talk = {https://youtu.be/V_SHMXnCVws},
doi = {10.1145/3450626.3459748}
}