#  Normal-Driven Spherical Shape Analogies

Implementation of Normal-Driven Spherical Shape Analogies [paper](https://arxiv.org/pdf/2104.11993.pdf).

## Dependencies

External libraries:
* [eigen 3.4](https://eigen.tuxfamily.org/index.php?title=Main_Page)
* [libigl](https://libigl.github.io/)
* [polyscope](https://polyscope.run/)

## Building

```
cd normal_driven_spherical_shape_analogies
mkdir build && cb build
cmake -DLIBIGL_DIR=<PATH_TO/libigl> -DPOLYSCOPE_DIR=<PATH_TO/polyscope>  ..
make -j4
```

## Usage

* Printing the help:
```
ndssa --help
```

* Running an example:
```
ndssa --gui ../mesh/bunny.obj ../mesh/cube.obj
```
