java – Terraced terrain generation artifacting

This is for procedural mesh generation. I have a heightmap of points in a square grid, forming what could be considered standard heightmapped terrain. I want to take this terrain and divide it vertically into terraces. I have done some work on implementing the algorithm described in https://icospheric.com/blog/2016/07/17/making-terraced-terrain/ To sum up: For each triangle in … Read more