thegnarwhals
thegnarwhals
You might find this handy: https://github.com/marian42/mesh_to_sdf Once you have your sdf as a numpy array you can create a lookup function and decorate it with sdf.sdf3
@tjusxh hi, you will need to create a function that takes in the coordinates and returns the SDF value, and then decorate it with `@sdf.sdf3`. I’m on my phone right...
@tjusxh you may need to implement some tri-linear interpolation in your function.
Hi @marian42 - please could you merge and release this one-line change if you are happy with it?