L3DT documentation
Large 3D terrain generator

The fractal algorithm

L3DT uses the 'diamond-square' fractal algorithm to generate terrain. For a basic outline of how the DS algorithm works, please refer to the very useful GameProgrammer tutorial by Paul Martz.

There are a lot of post-processing algorithms for making fractal maps look more like real terrain. L3DT includes none of them. I have spent much more time/thought developing the design/inflate heightfield routine.

 
l3dt/algorithms/hf/fractal.txt · Last modified: 2017/08/31 06:52 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki