marian42 / mesh_to_sdf

Calculate signed distance fields for arbitrary meshes
https://pypi.org/project/mesh-to-sdf/
MIT License
1.03k stars 109 forks source link

Gradients of SDF value #36

Open 1999kevin opened 2 years ago

1999kevin commented 2 years ago

I notice that your algorithm would return a gradient if setting return_gradients=True. Could you please give an explanation for what this gradients mean for a SDF. Does it mean the tangent of the query point to its nearest surface?