https://github.com/GavinBarill/fast-winding-number-soups
Raw File
Tip revision: ca7b4552c3265020f9c568fe90b38255a927f815 authored by Alec Jacobson on 19 December 2018, 16:48:27 UTC
revert; this made things worse on elf
Tip revision: ca7b455
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