Syntopia
(Syntopia)
August 2, 2017, 12:44pm
1
Hello,
I want to share an example of how to use diamond square algorithm in Unreal Engine.
The diamond-square algorithm is the one that allows you to get “real” fractal landscapes.
The diamond-square algorithm is a method for generating heightmaps for computer graphics. It is a slightly better algorithm than the three-dimensional implementation of the midpoint displacement algorithm which produces two-dimensional landscapes. It is also known as the random midpoint displacement fractal, the cloud fractal or the plasma fractal, because of the plasma effect produced when applied.
The idea was first introduced by Fournier, Fussell and Carpenter at SIGGRAPH 1982.
The diamond-...
Source code: