home *** CD-ROM | disk | FTP | other *** search
/ 3D Madness! Companion CD / 3DMADNESS.iso / vistapro / vp1 / manual / ch3.txt < prev    next >
Text File  |  1993-08-02  |  20KB  |  465 lines

  1. _____________________________
  2.  
  3. Chapter 3
  4. Vistapro User Manual
  5. _____________________________
  6.  
  7. VISTAPRO MENUS
  8.  
  9.  
  10. Vistapro's menus are accessed via the buttons at the top left 
  11. of the main screen. To see the menus, place the mouse cursor 
  12. over one of the buttons and press the left mouse button. A menu 
  13. with several selections appears immediately below the button. 
  14. This menu will remain on the screen as long as the left mouse 
  15. button is held down. To select a menu item, move the mouse 
  16. pointer down over the menu and release it when the cursor is 
  17. over the desired item. For more general information on using 
  18. the menus see the Graphical User Interface section located in 
  19. Chapter 2 of the manual.
  20.  
  21. There are five menus in Vistapro:
  22.  
  23. * The Project Menu allows access to DOS, information about 
  24.   Vistapro, information about the currently loaded landscape, and 
  25.   the quit Vistapro function. 
  26.  
  27. * The Load Menu allows loading of landscapes, colormaps and pictures. 
  28.  
  29. * The Save Menu saves landscapes, colormaps and pictures. 
  30.  
  31. * The GrMode Menu is used for selecting graphics and animation modes. 
  32.  
  33. * The Script Menu is for creating and executing Scripts.
  34.  
  35. Many of the Menu items involve the use of Vistapro's File 
  36. Requestor. The File Requestor indicates file names for those 
  37. functions which require file names - loading and saving files 
  38. for example. The File Requestor allows easy navigation through 
  39. drives and directories to find files. See the section titled 
  40. Vistapro File Requestor for more details on how to use the File 
  41. Requestor.
  42.  
  43. Project       Load       Save       GrMode         Script
  44. -------       ----       ----       ------         ------
  45. Spawn DOS     Load DEM   Save DEM   VGA 320x200    Generate
  46.  
  47. About Vista   Load CMAP  Save CMAP  VANIM 320X200  Create
  48.  
  49. About DEM     Load PCX   Save PCX   VESA 640x400   Open
  50.  
  51. Quit                                VESA 640X480   Add
  52.  
  53.                                     VESA 800X600   Preview
  54.  
  55.                                     VESA 1024x768  Execute
  56.  
  57. PROJECT MENU
  58. ------------
  59. The Project Menu allows temporary transfer to DOS, retrieves 
  60. the information about the current landscape, and allows you to 
  61. quit Vistapro.
  62.  
  63. Spawn DOS
  64. ---------
  65. Spawn DOS temporarily transfers you to the DOS command line. 
  66. Spawn DOS is useful to format a diskette, delete files, view an 
  67. animation, or perform other DOS tasks. When Spawn DOS is 
  68. requested, Vistapro returns the screen to the starting mode. It 
  69. frees about 256K of memory and then attempts to run 
  70. COMMAND.COM. If an attempt is made to run a program that 
  71. requires more than 256K of memory, it may not succeed. After 
  72. the DOS excursion is completed, type EXIT to exit DOS and 
  73. return to Vistapro. Vistapro returns to the state that it was 
  74. in when the DOS excursion was initiated.
  75.  
  76. About Vista
  77. -----------
  78. About Vista opens a window with information about Vistapro, its 
  79. authors, and its publisher. While this window is visible, none 
  80. of the other Vistapro menus and buttons will be active even 
  81. though they are still visible. To shut this window click the 
  82. button labeled OK at the top left corner of the window.
  83.  
  84. About Landscape
  85. ---------------
  86. About Landscape opens a window with information about the 
  87. current landscape. The file name of the landscape and other 
  88. information from the landscape header file will appear. While 
  89. this window is visible, none of the other Vistapro menus and 
  90. buttons are active even though they are still visible. To shut 
  91. this window click the button labeled OK at the top left corner 
  92. of the window.
  93.  
  94. Quit
  95. ----
  96. Quit causes Vistapro to clean up after itself and return to DOS 
  97. or the program from which you started Vistapro. Vistapro will 
  98. delete all its temporary files, restore the screen to the mode 
  99. that it was in when Vistapro was started, and free the memory 
  100. it was using.
  101.  
  102. LOAD MENU
  103. ---------
  104. Load Menu loads landscapes, colormaps, and picture (PCX format) 
  105. files into Vistapro. The File Requestor is used for all these 
  106. functions. See the File Requestor section for details on its 
  107. use.
  108.  
  109. Load DEM
  110. --------
  111. DEM is an acronym for Digital Elevation Model - a format used 
  112. to represent landscape data. Load DEM loads a landscape into 
  113. Vista. Each Vistapro landscape has elevation data, color data, 
  114. and usually, some textual information (which can be read via 
  115. the About Landscape Menu item). All of this information is 
  116. loaded by Load DEM. Many of the internal settings of Vistapro 
  117. will be reset to some default values when a landscape is loaded 
  118. - for instance, the camera is placed at the top center of the 
  119. contour map and the target is placed at the bottom center. 
  120. Vistapro recalculates all of its coloring and shading 
  121. information when rendering starts.
  122.  
  123. When installing Vistapro, all landscapes are placed in the DEM 
  124. subdirectory in the Vistapro directory. For example, if 
  125. Vistapro was installed in C:\VISTAPRO then all its landscapes 
  126. will be found in C:\VISTAPRO\DEM.
  127.  
  128.  
  129. Load CMAP
  130. ---------
  131. The CMAP, or colormap, is the group of colors, contrast 
  132. setting, and exposure setting used to color the landscape and 
  133. render the picture. (You can see and alter these colors and 
  134. settings by using the Color Control Panel.) After loading a new 
  135. CMAP, Vistapro will need to recalculate the color palette used 
  136. for drawing pictures, and the shading information. By default, 
  137. when you install Vistapro, the CMAP files will be in a 
  138. subdirectory called CMA located in your Vistapro directory. 
  139.  
  140. If Vistapro was installed in C:\VISTAPRO then all your CMAP 
  141. files will be found in C:\VISTAPRO\CMA\. Colormap files are 
  142. actually DEM files with elevation data for a flat landscape 
  143. (flat landscapes compress very well and only require about 4K 
  144. of disk space). Since each DEM file also has a colormap, you 
  145. can load colormaps from other landscapes. To do this, simply 
  146. look in the DEM directory instead of the CMA directory and 
  147. select the DEM file. Only the colormap portion of the DEM file 
  148. will be loaded.
  149.  
  150. Load PCX
  151. --------
  152. Vistapro can load and save pictures in PCX format. Use this 
  153. menu item to view previously saved pictures. Use the File 
  154. Requestor to select the desired PCX file. If the PCX image is a 
  155. different size than the current GrMode, Vistapro gives you the 
  156. option of changing the GrMode for displaying the image. If you 
  157. don't change the GrMode and the picture is larger than the 
  158. current GrMode setting loaded, you will see only the top left 
  159. corner of the picture. 
  160.  
  161. If the picture is smaller than the current GrMode, the picture 
  162. will be at the top left corner of the screen. Vistapro pictures 
  163. are saved in the PCX subdirectory, in the Vistapro directory. 
  164. This is C:\VISTAPRO\PCX. Vistapro only supports the 256 color 
  165. PCX format. Pictures created by other programs in the 16 color 
  166. PCX format (usually EGA programs) cannot be loaded. Vistapro 
  167. continues to display a loaded PCX file until either mouse 
  168. button is clicked or the ESCAPE key is pressed.
  169.  
  170. SAVE MENU
  171. ---------
  172. Save Menu items are the opposite of the Load Menu items. They 
  173. allow saving landscapes, colormaps, and pictures (PCX format) 
  174. files from Vistapro. The File Requestor is used for all these 
  175. functions. See the File Requestor section for details on its 
  176. use.
  177.  
  178. Save DEM
  179. --------
  180. If a landscape has been modified, or a new fractal landscape 
  181. created, it can be saved as a landscape file. The elevation 
  182. data, textual information, and colormap (CMAP) are saved to the 
  183. file. The color of each polygon is not saved - this means that 
  184. rivers, lakes and seas will be lost. The DEM subdirectory is 
  185. recommended for saving landscapes. Subdirectories should be 
  186. made if a large number of landscapes are planned.
  187.  
  188. Save CMAP
  189. ---------
  190. If you have modified a colormap and wish to save it for quick 
  191. access later on (you may want to use the same colormap for 
  192. another landscape) you should use this function. Each CMAP is 
  193. about 5,000 bytes. You could also save the entire landscape and 
  194. later load the CMAP from the landscape file, but this would 
  195. create much larger files (usually about 60,000 bytes). We 
  196. recommend that you save your CMAP files in the CMA 
  197. subdirectory, especially since they have the same default 
  198. filename extension as DEM files.
  199.  
  200. Save PCX
  201. --------
  202. Vistapro pictures may be saved with Save PCX. (Many other 
  203. programs also use pictures in this format.) They may be viewed 
  204. again using the Load PCX function of Vistapro.
  205.  
  206. The picture is displayed on the screen as it is being saved. 
  207. After the picture is saved the screen returns to the main 
  208. control panel. The PCX subdirectory is recommended for saving 
  209. picture files. Created when Vistapro was installed, the 
  210. directory will usually be C:\VISTAPRO\PCX.. PCX files range in 
  211. size from a few thousand to about 700,000 bytes depending on 
  212. the amount of detail and the GrMode in which the picture was 
  213. rendered.
  214.  
  215. GRMODE MENU
  216. -----------
  217. GrMode Menu selects the graphics mode for rendering pictures or 
  218. viewing PCX files. Only one of the modes can be selected at a 
  219. time and its selection is indicated by the "*" next to the menu 
  220. item. Nothing is seen when one of these items is selected, but 
  221. subsequent images are rendered in the selected GrMode.
  222.  
  223. For VESA modes, a VESA driver must be installed before running 
  224. Vistapro. Some Extended VGA (EVGA) or Super VGA (SVGA) cards 
  225. have the VESA modes implemented in ROM. A VESA driver may have 
  226. come with your VGA card. 
  227.  
  228. Note: You'll find VESA drivers for many common video cards in the
  229.       \VISTAPRO\VESA directory. There is a text file that accompanies 
  230.       each of the drivers, explaining how to install the driver. Look 
  231.       in the directory that describes your graphics adapter. For 
  232.       example, if you have an ATI brand card, look in the 
  233.       VISTAPRO\VESA\ATI directory. For the most up-to-date drivers, 
  234.       contact the manufacturer of your card. Many on-line services 
  235.       (like CompuServe) have updated drivers available for downloading. 
  236.  
  237. Not all VESA drivers implement all the VESA modes. In 
  238. particular, the drivers cannot produce modes which require more 
  239. memory than is installed on the VGA card. Most 256K VGA cards 
  240. can display up to 640x400 pixels in 256 colors; 512K cards can 
  241. usually display up to 800x600 pixels, and 1024K (1M) cards can 
  242. usually display 1024x768 pixels. Some drivers do not support 
  243. certain modes even though there is sufficient memory. 
  244.  
  245. Finally, some drivers report to Vistapro that modes are 
  246. supported even though the driver does not generate them 
  247. properly. In this case a black or gray screen with vertical 
  248. lines will appear when a picture is rendered or displayed. If 
  249. this happens, select another mode.
  250.  
  251. Not all VGA monitors can display all the VESA modes. If the 
  252. picture appears to roll, try adjusting the vertical hold on 
  253. your monitor. If the screen will not sync, the monitor probably 
  254. can't support the high refresh and scan rates needed for those 
  255. VESA modes. Vertical and horizontal size and position settings 
  256. may require adjustment on older multi-sync monitors. 
  257.  
  258. IF A MONITOR DOES NOT SUPPORT THE HIGHER RESOLUTION MODES , 
  259. DON'T USE THEM. DOING SO CAN DAMAGE THE MONITOR.
  260.  
  261. Vistapro only renders images in the 256 color modes available 
  262. on VGA and SVGA cards.
  263.  
  264. VGA 320x200
  265. -----------
  266. VGA 320x200 is the 256 color mode available on all VGA 
  267. adaptors. If a VGA card is present, this mode should work. If a 
  268. Script is executed while in this mode, Vistapro will save a 
  269. sequence of PCX files in 320x200 mode.
  270.  
  271. VANIM 320x200
  272. -------------
  273. This is actually the same graphics mode as VGA 320x200 but is 
  274. used to create animations in Vistapro's VANIM format. If a 
  275. Script is executed while in this mode, Vistapro will save the 
  276. animation in VANIM format (one large file). All VGA cards 
  277. should be able to display this format.
  278.  
  279. VESA 640x400
  280. ------------
  281. This is the 640x400 256 color VESA format available on many VGA 
  282. and SVGA cards. This mode requires 256K of video memory to be 
  283. installed on the VGA card. Some VESA drivers do not support 
  284. this mode even though the VGA card has enough memory.
  285.  
  286. VESA 640x480
  287. ------------
  288. VESA 640x480 allows use of the 640x480 256 color VESA format 
  289. available on many VGA and SVGA cards. This mode requires 256K 
  290. of video memory to be installed on your SVGA card. Most VESA 
  291. drivers for SVGA cards with more than 512K or more of memory 
  292. support this mode.
  293.  
  294. VESA 800x600
  295. ------------
  296. This is the 800x600 256 color VESA format available on many VGA 
  297. and SVGA cards. It requires 512K of video memory to be 
  298. installed on the SVGA card. Most VESA drivers for SVGA cards 
  299. with 512K or more of memory support this mode. The monitor must 
  300. also be able to support VESA 800x600 mode. Some standard VGA 
  301. monitors will not be able to sync to this mode. Try adjusting 
  302. the vertical hold, vertical size, and horizontal size settings 
  303. of your monitor if the screen appears to roll or if it isn't 
  304. centered. Most Multi-sync or Multi-scan monitors support this 
  305. resolution.
  306.  
  307. VESA 1024x768
  308. -------------
  309. This is the 1024x768 256 color VESA format available on many 
  310. VGA and SVGA cards with 1024K (1M) of video memory. Most VESA 
  311. drivers for SVGA cards with 1024K (1M) of memory support this 
  312. mode. A monitor capable of handling this mode is required. 
  313. Standard VGA monitors do not support this mode. Many Multi-sync 
  314. or Multi-scan monitors do not support this mode.
  315.  
  316. SCRIPT MENU
  317. -----------
  318. The Scripting functions allow generation of a series of images 
  319. without having to attend to the computer for each image. There 
  320. are two uses for Scripts. One generates a sequence of images 
  321. unattended. The second generates animations. Actually both uses 
  322. are the same except that the succession of camera positions is 
  323. more ordered for animations.
  324.  
  325. Vistapro Scripts can only control the camera location and 
  326. direction. Lighting, or any of the other settings of Vistapro, 
  327. can't be controlled from script functions.
  328.  
  329. Vistapro Script files are plain ASCII text files. You can use 
  330. any text editor that saves files in ASCII to change them. It is 
  331. important the first line of the Script file be: Vista Script 
  332. File. The text must appear exactly as depicted here with no 
  333. leading or trailing spaces. The second line may have any text 
  334. or may be left blank - when Vistapro creates a Script file the 
  335. second line is just a reminder of the order of the data on each 
  336. line of the Script CamX, CamY, CamZ, Bank, Hdng, Ptch,.
  337.  
  338. The subsequent lines are a sequence of Camera X, Y, and Z 
  339. coordinates and Banks, Headings, and Pitches. There is one line 
  340. for each frame of the animation. The first value on the line is 
  341. the Camera X position. The second value is the Camera Y 
  342. position, and the third value is the Camera Z position. The 
  343. following values are the Camera, Bank, Heading, and Pitch 
  344. settings. These values are similar to the corresponding values 
  345. that appear in Vistapro's Control Panel. Leading or trailing 
  346. spaces are allowed on these lines. Each value must be separated 
  347. by a comma. Text may be included after the six required values. 
  348. The values may be either in integer or floating point format. 
  349. For example, the following constitutes a valid Script file:
  350.  
  351. Vista Script File
  352. CamX, CamY, CamZ, Bank, Hdng, Ptch, 
  353. 0, 0, 1234, -20, +30, 17,
  354.     1000, 1000, 2000, 0, 0, 0
  355. 1234.56, -2345.67, .34, 0.27, -.123, 3, "Comment"
  356.  
  357. Note that leading spaces are valid.
  358.  
  359. The simplest way to start a new Vistapro Script file is to use 
  360. Vistapro's Create Script function. This will create a Script 
  361. file with the first two lines filled out. Append each of the 
  362. camera positions to the file.
  363.  
  364. Generate
  365. --------
  366. This option creates a quick linear path from the current camera 
  367. position to the current target position. Generate is most 
  368. useful for generating simple straight-line paths for 
  369. animations. When this option is selected, Vistapro asks for the 
  370. name of the Script file to generate. Then it asks for the 
  371. number of frames. If the camera is 1000 meters from the target 
  372. and 100 frames are selected, the camera will be 10 meters 
  373. closer to the target in each subsequent frame. The Bank, 
  374. Heading, and Pitch will remain constant (the camera will 
  375. continue to point at the target). 
  376.  
  377. If the name of an existing file is selected, Vistapro will ask 
  378. you if you want to delete the file or abort the operation. 
  379. Putting Script files in the SCRIPT subdirectory, usually 
  380. C:\VISTAPRO\SCRIPT, is recommended.
  381.  
  382. Create
  383. ------
  384. Create is used to create a new Script file. The new file will 
  385. have the appropriate first line to identify it as a valid 
  386. Vistapro Script file. The second line shows the order of the 
  387. arguments for the subsequent lines. If you select a file name 
  388. that already exists, Vistapro will ask if you want to delete it 
  389. or abort the operation. Putting Script files in the SCRIPT 
  390. subdirectory, usually C:\VISTAPRO\SCRIPT, is recommended.
  391.  
  392. Open
  393. ----
  394. Open simply selects a file name for use with the Add function 
  395. described below. Open a file when you want to append camera 
  396. positions to an old Script file. If the name of a file that 
  397. doesn't exist is selected, Vistapro will complain and then do 
  398. nothing. Script files default to the C:\VISTAPRO\SCRIPT 
  399. subdirectory.
  400.  
  401. Add
  402. ---
  403. This function adds the current camera position, Bank, Heading, 
  404. and Pitch to the current Script file. You must first select the 
  405. script file with either the Generate, Create, or Open Script 
  406. functions.
  407.  
  408. Preview
  409. -------
  410. Preview depicts the path specified by a Script file. It appears 
  411. as a series of black dots on the contour map. Each dot 
  412. represents one Camera position.
  413.  
  414. Execute
  415. -------
  416. This function executes a script. Vistapro asks for the name of 
  417. the script to execute and the name of the image or animation 
  418. file(s) to output. Vistapro has two Execute modes that are set 
  419. by the GrMode (Graphics Mode) Menu items.
  420.  
  421. If the graphics mode is VANIM 320x200 Vistapro will produce a 
  422. VANIM animation file which can be viewed with the Viewer 
  423. utility. In any other graphics mode Vistapro will produce a 
  424. sequence of PCX files. The PCX files are named: ABCxxxxx.PCX 
  425. where ABC is the filename that you supplied via the File 
  426. Requestor, xxxxx is a five digit number indicating the frame 
  427. number, and .PCX is the standard extension. For example, if you 
  428. picked PIC as the filename the output files will be:
  429.  
  430. PIC00000.PCX
  431. PIC00001.PCX
  432. PIC00002.PCX
  433. etc....
  434.  
  435. If you picked a filename longer than three characters only the 
  436. first three characters will be used; if you selected 
  437. PICTURE.XYZ the same sequence of picture names are generated as 
  438. with PIC.If you select a name shorter than three characters 
  439. Vistapro will just append the five digit value to the name you 
  440. selected. A filename of P will generate the following output 
  441. files:
  442.  
  443. P00000.PCX
  444. P00001.PCX
  445. P00002.PCX
  446. etc....
  447.  
  448. If you are generating an animation in VANIM mode the output 
  449. file name is exactly the name you specified with the exception 
  450. that if you didn't supply an extension Vistapro will 
  451. automatically append .VAN to the file name:
  452.  
  453. PIC -> PIC.VAN    ;  no extension specified
  454.  
  455. PIC. -> PIC.    ;  a blank extension specified
  456.  
  457. PIC.VNM -> PIC.VNM    ;  a different extension specified
  458.  
  459. We recommend that all your VANIM animations use the .VAN 
  460. extension.
  461.  
  462.  
  463. *** End of Chapter Three ***
  464.  
  465.