This set includes three tools for generating approximately realistic-looking terrain and other phenomena that might be mapped across a two dimensional surface, such as population density, corrosion, air pollution, or wildlife distribution. The methods, variations on proposals by Benoît Mandelbrot, are very simple, and yet result in significant, "life-like" complexity.
A document is included that describes how the methods work and how they can be used for various purposes. From MATLAB, open readme.html or navigate to the HTML subdirectory.
Other names for these types of techniques include midpoint displacement, fractional Brownian motion, and fractal landscape.
Tucker McClure (2020). Automatic Terrain Generation (https://www.mathworks.com/matlabcentral/fileexchange/39559-automatic-terrain-generation), MATLAB Central File Exchange. Retrieved .
Awesome contribution. Exactly what I was looking for.
Nice work. A flat surface appears here and there but otherwise the terrain looks incredibly realistic.
I want to know how I can use it in my quadruped simulation. Thank you
Hi Josh. I would think so, or at least that it would be easy to convert the DEM to the a regularly-spaced square mesh representing height and then convert back. I haven't worked with DTED and can't speak to that one.
Can your generate_terrain_colors.m be used or modified to work over DTED or DEM data with Z instead of (hm)
Hello, Can I use this terrain in a vreal simulation?
MathWorks update: Added Live Script.