christopherbatty / SDFGen

A simple commandline utility to generate grid-based signed distance field (level set) generator from triangle meshes, using code from Robert Bridson's website.
www.cs.columbia.edu/~batty
758 stars 127 forks source link

set the origin in the VTK xml ImageData file to the bounding box min … #3

Open decrispell opened 9 years ago

decrispell commented 9 years ago

…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.