home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
No Fragments Archive 10: Diskmags
/
nf_archive_10.iso
/
MAGS
/
ST_USER
/
1992
/
USERJN92.MSA
/
LANDGEN_LANDGEN.DOC
< prev
next >
Wrap
Text File
|
1992-04-10
|
6KB
|
169 lines
The 'ISOMETRIC LAND GENERATOR'
version 2.5 by Simon Carter 1991
copyright.
512k/Colour/Ste compatible.
Upon loading you are presented with
the editing screen. In the top left-
hand corner is the top view map. At
first this is just a dark blue
square with a few dots scattered
over it. These are the 'seed'
points - they shall be explained
below. Flashing above this map is a
large cursor - this shows the area
that may be zoomed in upon.
Blow the map are the cursors' x
and y coordinates. Under this is the
'Set Height'. This shows the height
of the point below the cursor, but
only in the zoomed up map. Likewise,
below that is the 'New Height'. This
can be altered using the '+' and '-'
keys on the numeric keypad. It shows
what height may be designated to a
particular point on the map.
Pressing '0' on the numeric keypad
actually sets the point to that
height, though once again, only in
the zoomed view. '4','8','6' and '2'
move both the editing and zoom
cursors left, right, up and down
respectively.
On the right hand side of the
screen, the display is once more
split up into two. At the top we
have the processes, each surrounded
in a yellow box. 'Zoom/Unzoom'
changes the mode of the top view
map. It toggles between a view of
the whole map and a view magnified
by eight times. It is only on the
zoomed up map that any manual
editing may be performed. The area
to be zoomed in upon can be moved
about (see above). As with all
processes it is accessed by clicking
on it with the left mouse button.
Underneath this is the 'Clear
Map' box. Clicking on this quite
simply clears out the map! Well, in
actual fact it sets the whole map to
the height of 'Base Height', shown
on the bottom half of the screen. At
first 'Base Height' is set to zero,
so all of the heights are set to
zero if you select 'Clear Map'. If
you set 'Base Height' to another
number, between 0 (minimum height)
and 44 (maximum height), say 10, and
select 'Clear Map' and all of the
points on the map will be set to 10.
Amazing!
The next process down is
'Create Map'. All this does is
clears out the map (see above) and
sets out a number of random heights
(or seeds) on the map. There are a
number of values that will alter its
operation, but these are explained
below.
Next down is 'Smooth Map'. This
actually makes the map. What it
does is goes through the map, height
by height, point by point, and
depending on certain criteria being
filled, allocates the points around
the selected one a height lower than
the original. Do not worry about its
operation too much, it is easy to
use - honest! Again, there are
values that may be changed to alter
its exact operation that shall be
detailed a little later.
Finally 'Shade/Cont' changes
the way in which the normal
(unzoomed) map is viewed. It toggles
between a map that shows the heights
in similar way to a conventional
geographical map, and one that is
light-source shaded (the editing,
zoomed map is always in contour
mode.)
The right mouse button toggles
between the editing screen and the
3D screen, the real heart of the
program. On the 3D screen 'N', 'S',
'E' and 'W' changes the compass
direction from which the map is
viewed.
So in order to get your first
map up, click on 'Smooth Map' - the
random seeds have already been set.
Then, when it has finished
processing, click the right mouse
button to see it in 3D. Please note
that the smoothing process is fairly
complex, and thus may to a minute or
two to complete.
Below is a list of the values
that may be altered to change your
maps. Each may be changed by
clicking on the up and down arrows
next to each value.
Randomness (0-44) - Changes how
random or regular a map will become
through 'Smoothing' - the higher it
is the more irregular the map will
be.
Density (0-3599) - The number
of seeds created by 'Create Map'.
Severity (0-44) - The maximum
height of the seeds generated by
'Create Map'.
Base Height (0-44) - The height
the map will be cleared to - see
above.
Smooth Type (4 or 8) - The type
of smoothing performed by 'Smooth
Map'. A value of 4 is faster and
produces a more islandy effect. Set
it to 8 and you have to wait about 4
times as long - however, you get a
fuller, more thoroughly processed
landscape.
Smooth Chance (1-4) - The
likelihood of each point on the map
being processed by 'Smooth Map'. The
higher this is, the more likely each
will be smoothed.
Smooth Slope (0-44) - The
harshness of the smoothing process.
The higher it is, the more severe
the landscape will be.
Finally, pressing 'Help' will
access the file menu, which is self-
explanatory.
I hope that you enjoy this
program, it was originally my GCSE
computer studies project, but it
grew a little bit out of hand! I am
considering writing version 3 in 'C'
so as to be able to use real 3D and
Fractal routines.
If you like this program please
give me some feedback! Programmers
have egos as well!
Write to :- Simon Carter
9 Delius Walk
Purbrook
Hants
PO7 5HU
P.S ST USER is brill!