This is a preprocessing code for generating ground truth signed distance function and sampling points with correct normals from mesh surface.

The code is a fork of [DeepSDF's preprocessing code](https://github.com/facebookresearch/DeepSDF).

## Building

### Local environment

```
git submodule update --init
mkdir build
cd build
cmake ..
make -j 8
```

### Docker

```
git submodule update --init
docker build -t IMAGE_NAME .
```
