nireco@343: In texture generation is used random fractal terrain generation algorithm nireco@343: [http://www.gameprogrammer.com/fractal.html]. nireco@343: nireco@343: In 1 dimension algorithm starts with one straight line. Then it affects to that nireco@343: line's midpoint with some random multiplied with H-value. After those first steps nireco@343: it simply calls itself to both parts of line changing H-value smaller. nireco@343: nireco@343: Two dimensional version (programmed to the code) needs step for point's between nireco@343: last density and step diagonal to last density's points, otherwise quite similar nireco@343: to 1 dimensional version. nireco@343: nireco@343: Version of algorithm in our code is decided to be coded as iterative. nireco@343: nireco@343: nireco@343: nireco@343: