A simple commandline utility to generate grid-based signed distance field (level set) generator from triangle meshes, using code from Robert Bridson's website.
I ran into some problems using the output vtkXMLImageData file - The values are correct, but the locations don't match the original mesh vertices. This seems to fix the problem.
…point
I ran into some problems using the output vtkXMLImageData file - The values are correct, but the locations don't match the original mesh vertices. This seems to fix the problem.