Voxels.ProjectZSlice create degenerate signed distance field
LinKayser opened this issue · comments
The Voxels.ProjectZSlice function creates a degenerate signed distance field, because the signed distance values further away from the last slice are not updated accordingly. This needs a bit more elaborate solution.
If you are using ProjectZSlice to build a base for your object (which is the most common use), you can work around this, by projecting down below zero and then performing a boolean operation, cutting off the degenerate base.
See Ex_PrepForPrint.cs for a good example.
Fixed, at least for now. The SDF is not perfect, but good enough for practical purposes.