#Why is are my surface nets (mesh) full of holes??

1 messages · Page 1 of 1 (latest)

tepid rain
#

hello! im currently working on a voxel terrain generator with naive surface nets.
my script is almost working but i keep getting holes in my mesh or sometimes too many vertices in one grid unit (theres supposed to be only one vertex per meter cubed)

does anyone know why? help would be verryy appreciated (ive been on this for hours😭 )

tepid rain
#

it only creates those holes on certain contour lines btw, very weird

naive island
#

Assuming the holes are deterministic, I'd add some condition just before the culprit vertices/triangles are generated, break inside with a debugger, and step through the code to make sure the data aligns with what you expect.