home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Madness
/
VRMAD96_ONE.ISO
/
vistapro
/
mcnv.txt
< prev
next >
Wrap
Text File
|
1992-07-16
|
4KB
|
110 lines
MCNV.EXE
This program loads several USGS ascii DEM files and displays a
topo map for the entire region. It Then allows you to clip out
VistaPro format landscapes.
Usage: CNV SOURCE1 SOURCE2 SOURCE3 SOURCE4....
Each source file should be a USGS ascii format DEM.
VistaPro will load each source file and then display a 16 color
topographic map. The topo map covers an area of 1024x1024 data
points, usualy 30720x30720 meters. The colors are similar to
those in VistaPro with the exception of blue which is used to
indicate areas not covered by the ascii DEM files.
The ascii DEMs are loaded such that the lower left hand corner
of the 1024x1024 topo area is globaly aligned with an even
multiple of small VistaPro size landscapes (an even multiple of
7620 UTM meters). This means that you should be able to load a
group of USGS DEMs and save out all the VistaPro pieces, load
another group and save out their pieces, and have all the
resulting VistaPro landscapes properly aligned. In any case,
you should usually be able to get out 16 256x256 aligned
landscapes from any group of USGS DEMs -- although some of the
small landscapes will not be "full".
Once the DEMs are loaded you can save out single small
(256x256) VistaPro landscapes by selecting the SaveDEM-->Single
menu option. You select a filename and then move about a
bounding box to select the region to be saved. Click the left
mouse button to save the landscape. Since the topographic map
of 1024x1024 points is represented on-screen as 256x256 pixels
you are limited to an accuracy of every 4th point, usually 120
meters.
You can also save out the entire 1024x1024 region as 16 256x256
landscapes. Select the SaveDEM-->Many menu option to do this.
You are allowed to select a filename for the 16 landscapes --
the first 5 letters of the name you specify are used (any
extension is removed and .DEM is appended). The individual
landscapes will also include and "_", a letter indicating which
row, and a number indicating which column the landscape
represents.
+------+------+------+------+
| | | | |
| X_D0 | X_D1 | X_D2 | X_D3 |
| | | | |
+------+------+------+------+
| | | | |
| X_C0 | X_C1 | X_C2 | X_C3 |
| | | | |
+------+------+------+------+
| | | | |
| X_B0 | X_B1 | X_B2 | X_B3 |
| | | | |
+------+------+------+------+
| | | | |
| X_A0 | X_A1 | X_A2 | X_A3 |
| | | | |
+------+------+------+------+
For example if you select the filename "X", the resulting files
will be X_A0.DEM, X_A1.DEM, .... X_D3.DEM.
Selected name Resulting form
---------------------------------------
X X_A0.DEM
XYZ ABC_A0.DEM
LONGNAME.EXT LONGN_A0
C:\DEMS\NAME.ABC C:\DEMS\NAME_A0.DEM
To create even larger areas you will need to load several
groups of USGS DEMs, save out the 16 VistaPro landscapes,
delete the "unfilled" ones, rename the remaining ones, load
in another group (probably overlapping) save out the entire
area etc... All this assumes that the USGS DEMs are smaller
than the 1024x1024 topo area the this program uses.
This program requires a 80386 or 80486 based IBM-PC compatible
computer with a VGA display and a microsoft compatible mouse
and mouse driver. The program will probably run on most
machines with 4MB of memory.
---------------------------------------------------------------
Known problems:
---------------------------------------------------------------
1) MCNV.EXE runs in 386 protected mode using a DOS extender
technology which may not be compatible with the
high memory manager "386 to the MAX". It is known
to work properly with QEMM and Microsoft's HIMEM
driver.
2) If you get the error message "Fatal error Previously
installed software is neither VCPI nor DPMI compatible"
You probably need to remove the switch "/NOEMS" from
your config.sys file. This switch will be found on the
line which loads your EMS driver. This problem may "go
away" in future versions of the program.