https://github.com/GavinBarill/fast-winding-number-soups
Raw File
Tip revision: a2713f8513787a79bfb95c9f8a89c19345be858e authored by Alec Jacobson on 19 December 2018, 00:09:10 UTC
use Alec's fork
Tip revision: a2713f8
README.md
# Fast Winding Numbers for Soups

Implementation of the _ACM SIGGRAPH_ 2018 paper, 

"Fast Winding Numbers for Soups and Clouds" 

Gavin Barill¹, Neil Dickson², Ryan Schmidt³, David I.W. Levin¹, Alec Jacobson¹

¹University of Toronto, ²SideFX, ³Gradient Space


_Note: this implementation is for triangle soups only, not point clouds._

## Get started with 

    git clone --recursive https://github.com/GavinBarill/fast-winding-number-soups.git

## Build the example with

    cd fast-winding-number-soups
    mkdir build
    cd build
    cmake ../
    make

## Run the example with

    ./fastwinding ../pig-head.ply ../pig-head-Q.dmat ../pig-head-W.dmat

This should create a [.dmat](http://libigl.github.io/libigl/file-formats/dmat/)
file `../pig-head-W.dmat'` containing the generalized winding number for each query
point in `../pig-head-Q.dmat`.

back to top