Mail Archives: djgpp/1998/01/25/06:02:18
Andrew Deren wrote in message ...
>Does anyone know where to find some tutorials or sample code on how to
>generate random maps with varying conditions (heights, whether etc).
>Thanks in advance.
Check out the Genesis03 thingy at David Jenkins home page
http://www.jenkinsdavid.demon.co.uk ). This will generate a 3D map, it
could be done multiple times to generate different properties of each point.
It is fairly simple. For each point in a 2D rectangle, you add the heights
of the eight surrounding points and divide by about 7, depending on how flat
you want it. You can check it out at the link above, anyway.
HTH!
Tom Cook
- Raw text -