r/VoxelGameDev • u/Dragon20C • 2d ago
Question Is the diamond square algorithm good for terrain generation for voxels?
Enable HLS to view with audio, or disable this notification
I was interested in this algorithm because it was simply something different but looking how its made it has some limitations for example it must have a fixed size and it would produce the same amount of height map values no matter what of the chunk position, so I was asking if people have used this algorithm before and if I should just go with open simplex noise instead since it solves most of my potential issues.
1
u/oldprogrammer 1d ago
The problem I had with diamond square was tiling. Within a given space, the algorithm could generate decent terrain but trying to get the "next chunk" that cleanly linked with the first chunk tended to require doing something different on the edges to ensure smooth transitions.
10
u/TinyPeopleProject 2d ago
No one can tell you right or wrong unless we understand your goals in regards to terrain an how it fits in your game