This is our implementation of the paper Differentiable Surface Triangulation that enables optimization for any per-vertex or per-face differentiable objective function over the space of underlying surface triangulations.
This code was written by Marie-Julie Rakotosaona.
- CUDA and CuDNN (changing the code to run on CPU should require few changes)
- Python 3.6
- Tensorflow 1.15
Install required python packages, if they are not already installed:
pip install numpy
pip install scipy
pip install trimeshClone this repository:
git clone https://github.com/mrakotosaon/diff-surface-triangulation.git
cd dse-meshingTo run the optimization on the given pre-processed patches for the curvature alignment experiment:
python optimize_curvature.pyfor the triangle size experiment:
python optimize_triangle_size.pyIf you use our work, please cite our paper.
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. For any commercial uses or derivatives, please contact us.
