norman784 / gaiku

3d agnostic framework (game engine) terrain engine
40 stars 1 forks source link

Duplicate vertex artifact #36

Open QuantumEntangledAndy opened 3 years ago

QuantumEntangledAndy commented 3 years ago

mostly copied form the discussion in #34

This is another issue with unnecessarily duplicated vertices which causes this artifact:

Screenshot 2021-01-19 at 18 10 12

There are two verticies at this point:

Screenshot 2021-01-19 at 18 10 32

It seems the deduplication step of the meshing algorithm is not tolerant enough

I think it is caused here, which I was thinking of when I wrote this part:

cx - sx * (1. + EPSILON),
cy - sy * (1. + EPSILON),
cz - sz * (1. + EPSILON),
norman784 commented 3 years ago

This artifact happens in amethyst too or just blender?

Also I want to work tomorrow in merging #35, so if you can wait until this PR lands before submitting new ones.