home *** CD-ROM | disk | FTP | other *** search
/ 3D Madness! Companion CD / 3DMADNESS.iso / vistapro / wininst / manual / tutor1.txt < prev    next >
Text File  |  1993-08-03  |  15KB  |  340 lines

  1. _____________________________
  2.  
  3. Tutorial #1
  4. Vistapro User Manual
  5. _____________________________
  6.  
  7. TUTORIAL #1 - THE BASICS
  8.  
  9.  
  10. To use the following tutorials, Vistapro must be installed on 
  11. your hard drive. If this has not been done then refer to the 
  12. Installation instructions in Chapters 1 and 2.These tutorials 
  13. have been written with the idea that you will start at the 
  14. beginning and work your way down to the end. Descriptions will 
  15. be more extensive earlier on and become less extensive. The 
  16. idea being that the reader, through the use of Vistapro, is 
  17. increasingly familiar with the program. If you skip sections 
  18. and find something unclear, you will most likely find 
  19. clarification in an earlier section.
  20.  
  21.  
  22. RUNNING VISTAPRO
  23. ----------------
  24. To run Vistapro you will need to be at the DOS prompt. Change 
  25. to the hard drive that Vistapro was installed on by typing the 
  26. drive reference letter. For example:
  27.  
  28. C:
  29.  
  30. followed by pressing the ENTER key. Change to the Vistapro 
  31. directory by typing:
  32.  
  33. CD\VISTAPRO
  34.  
  35. followed by pressing the ENTER key. Next run Vistapro by 
  36. typing:
  37.  
  38. VISTAPRO
  39.  
  40. followed by pressing the ENTER key. You will be ready to start 
  41. when you see a screen with the gray Control Panels on the right 
  42. hand side and the empty green topographical map on the left.
  43.  
  44. A QUICK INTRODUCTION
  45. --------------------
  46. When Vistapro is first loaded, it starts out with a flat 
  47. landscape. Although it's not very interesting, let's take a 
  48. quick look at it. Locate the Render button at the lower left 
  49. hand corner of the Lower Control Panel. Move the mouse pointer 
  50. to the Render button. Press and release the left mouse button 
  51. to activate the Render button.
  52.  
  53. You should now see a sequence of status messages on the screen 
  54. in the blue area immediately above the topographic map. Exactly 
  55. what these messages mean is documented in Chapter 5 of this 
  56. manual -- for now just note that Vistapro needs to make some 
  57. calculations before drawing. 
  58.  
  59. After a few seconds you should see the screen switch to the 
  60. View screen. At first it will be black, then you will see 
  61. Vistapro draw the sky and ground. Then it will draw the 
  62. landscape. If you look closely, off in the distance, you will 
  63. see a small pyramid. At the current settings (assuming you 
  64. haven't changed anything) the pyramid will be barely 
  65. discernible.
  66.  
  67. Well, it's not much too look at, but you just rendered your 
  68. first Vistapro image. To switch back to the Control Panels and 
  69. topographical map, just click on the left mouse button. Let's 
  70. go on to something more interesting.
  71.  
  72. LOADING A DEM LANDSCAPE
  73. -----------------------
  74. To load a landscape, position the mouse pointer over the Load 
  75. button at the top of the screen. Press and hold the left mouse 
  76. button. The Load Menu will drop down to reveal several options. 
  77. Move the mouse pointer (while still holding the left button) to 
  78. the first option, Load DEM, and release the button.
  79.  
  80. Now you should see the Vistapro Load DEM File Requestor. The 
  81. Vistapro File Requestor is used anytime a file is to be loaded 
  82. or saved. At the top of the Load DEM File Requestor is a button 
  83. labeled Load Vista DEM and a button labeled Abort.The Load 
  84. Vista DEM button is this File Requestor's confirm button. 
  85. Clicking on it means to go ahead and load the file. The label 
  86. on the confirm button varies depending on the File Requestor. 
  87.  
  88. For example, if you were saving a DEM instead of loading it, 
  89. the button would read Save Vista DEM.The Abort button is used 
  90. to exit the File Requestor without taking an action. Clicking 
  91. on this with the mouse pointer means no file will be loaded (or 
  92. saved depending on the File Requestor).
  93.  
  94. Immediately below the confirm and Abort buttons are the 
  95. Directory:, Filename:, and Spec: text gadgets. The gadget is 
  96. the black box to the right of the description.The terms text 
  97. gadget and numerical gadget will be used throughout this 
  98. tutorial. A text gadget is a field that accepts text entered 
  99. using the keyboard and a numerical gadget accepts numbers. To 
  100. start entering information in a text or numerical gadget, click 
  101. on it with the mouse pointer. To end and have the information 
  102. accepted, press the ENTER key. To abort, press the ESC key. You 
  103. will not need to enter anything into these particular text 
  104. gadgets for this tutorial.
  105.  
  106. At the center bottom of the File Requestor is the Filename 
  107. Window. It will currently be displaying a list of directories 
  108. (the names with "(DIR)" in the right hand column) and possibly 
  109. some files ending with ".DEM". Look through the list until you 
  110. find the DEM directory. If there are more files than fit in the 
  111. window use the buttons to the right of the Filename Window to 
  112. scroll up and down the list. 
  113.  
  114. The single up arrow button scrolls up one line and the single 
  115. down arrow button scrolls down one line. The three up arrows 
  116. scroll up one page and the three down arrows scroll down one 
  117. page.After you have located the DEM directory, position the 
  118. mouse pointer over it and click the left mouse button. You will 
  119. now be presented with a list of the DEM directory. You should 
  120. see a list of files ending with .DEM. You can scroll up and 
  121. down the list of files by using the up and down arrow buttons 
  122. as described earlier.
  123.  
  124. Find the file TUTORIAL.DEM and click on it. Notice that above, 
  125. in the Filename text gadget, is the name TUTORIAL.DEM. We could 
  126. have typed the file name directly into this filename text 
  127. gadget, but for small lists it's much faster to click on the 
  128. name with the mouse pointer. Click on the confirm button, which 
  129. is the button labeled Load Vista DEM at the top left of the 
  130. File Requestor.
  131.  
  132. The screen will switch back to the topographical map and 
  133. Control Panel and Vistapro will begin loading the landscape. It 
  134. could take several seconds to complete.
  135.  
  136. Once Vistapro is finished loading the landscape, you will see a 
  137. topographical view of the landscape in the box near the left 
  138. side of the screen.
  139.  
  140. The topographic map is colored by elevation. Dark greens 
  141. represent the lowest altitudes, browns represent the middle 
  142. altitudes, and gray-whites are the highest. Move your mouse 
  143. pointer over the landscape. Notice that the X, Y, and Z figures 
  144. in the Status Window (located above the topographical map) 
  145. change. The X and Y values represent the location of the 
  146. pointer on the map, and the Z value represents the elevation of 
  147. the terrain under the pointer.
  148.  
  149. SETTING CAMERA AND TARGET LOCATIONS
  150. -----------------------------------
  151. When you first rendered the flat landscape at the beginning of 
  152. this tutorial, you used the default camera and target position. 
  153. Let's take a look at moving your viewpoint.
  154.  
  155. If you look at the very top of the topographical map, you will 
  156. see a little black box. This is your camera position on the 
  157. landscape. At the very bottom of the map you will see a little 
  158. black plus (+). This is your target position (the point your 
  159. camera will be aimed at).
  160.  
  161. Look at the X, Y, and Z gadgets located below the Camera button 
  162. on the Upper Control Panel. The values in these gadgets 
  163. represent the location of your camera on the landscape.
  164.  
  165. To move the Camera position, click on the Camera button. Move 
  166. the mouse pointer over to the topographic map to where you 
  167. would like to be standing if you were taking a picture. When 
  168. you have found this point, click once with the left mouse 
  169. button to set the camera location. You will notice that the 
  170. little black box is now at the location you selected.
  171.  
  172. If you would like to be above the surface, as if on a tall 
  173. ladder, click on the numerical gadget below the Camera button 
  174. and to the right of the Z button. Enter the altitude (height of 
  175. your camera on the ladder) and press the ENTER key. This raises 
  176. you up off of the surface, but leaves you in the same location. 
  177. You may also lower the camera by entering a smaller value.
  178.  
  179. Now you need to tell the camera which way to be pointing when 
  180. taking the picture. This is done by clicking on the Target 
  181. button with the left mouse button, and then positioning the 
  182. mouse to the point at which you want to aim the camera, and 
  183. clicking the left mouse button again. You can change the 
  184. vertical position of the target in the same way you did with 
  185. the camera.
  186.  
  187. Let's pick a point to look at. If you have been following this 
  188. tutorial from the beginning, the landscape TUTORIAL.DEM should 
  189. already be loaded and displayed in the topographical map.
  190.  
  191. This landscape has five distinctive objects. Two at the top, 
  192. one in the middle, and two at the bottom. Most landscape will 
  193. not look like this, but this landscape was made especially for 
  194. this tutorial. Also the sky color has been turned off in order 
  195. to speed up rendering time.
  196.  
  197. Click on the Camera button. Now click on the blue square in the 
  198. middle of the landscape. Your camera X, Y, and Z position are 
  199. set.
  200.  
  201. Look at the Z value under the Camera button. You'll notice that 
  202. it is 30. When setting a camera location, Vistapro will set the 
  203. Z value to 30 meters above the landscape. In this case the 
  204. landscape under the camera was 0 meters (above sea level). 
  205. Let's lift the camera up a bit higher. Click on the Z numerical 
  206. gadget under the Camera button and press the number 5 followed 
  207. by pressing the ENTER key. The Z position of the camera should 
  208. now be 530.
  209.  
  210. To set the target, click on the Target button and then click on 
  211. the oddly shaped object at the top left hand corner. You are 
  212. now ready to produce your initial rendering.
  213.  
  214. VIEWING FROM YOUR CAMERA POSITION
  215. ---------------------------------
  216. Right below the word "Poly" on the Middle Control Panel you 
  217. will find four buttons. They are "1", "2", "4", "8". These 
  218. buttons are used by Vistapro to determine the size of the 
  219. polygons used to draw the landscape. Only one can be selected 
  220. at a time. If you just want to get an idea of your camera 
  221. position, click on the "8" button. This will cause Vistapro to 
  222. use large polygons and fewer of them. As you can see, the 
  223. larger the "Poly" setting, the less detail the image will have. 
  224. The advantage of less detail is more speed.
  225.  
  226. Another way to decrease rendering time is to click on the 
  227. LckPal button located on the Middle Control Panel. This will 
  228. prevent Vistapro from calculating a new color palette (which 
  229. can be time consuming) each time it renders a picture. Before 
  230. rendering your final image, you will want to unlock the color 
  231. palette (click on LckPal again) so that Vistapro will calculate 
  232. the best colors to use for the image.
  233.  
  234. Let's take a quick look at the landscape, click on the "8" 
  235. button. Click on the LckPal button, just to speed things up. 
  236. Now click on the Render button, and wait while Vistapro renders 
  237. the landscape.
  238.  
  239. As you can see, the landscape looks very blocky, but it gives 
  240. you an idea of your camera position. Return to the 
  241. topographical map and Control Panel screen by clicking the left 
  242. mouse button. At this point, you can change your camera and 
  243. target positions as outlined above, and re-render until you 
  244. have the camera position that you like. Once you like the 
  245. camera position, select a smaller "Poly" setting and then click 
  246. on the Render button.
  247.  
  248. Try rendering using each of the "Poly" settings. You will 
  249. notice that a "Poly" setting of "1" can take a bit of time to 
  250. render. That's why it's a good idea to use the larger and 
  251. faster setting to fine tune your camera position.
  252.  
  253. If you want to abort a rendering in progress, simply press the 
  254. ESC key.
  255.  
  256. ADJUSTING THE CAMERA LENS
  257. -------------------------
  258. Your imaginary camera also has an imaginary lens. To zoom in, 
  259. or out, click on the Lens button on the Middle Control Panel. 
  260. Once you click on the Lens button, you will notice that the 
  261. Lower Control Panel switches to become the Lens Lower Control 
  262. Panel. There are two buttons located on this Panel: 
  263.  
  264.    * Wide
  265.    * Zoom
  266.  
  267. The Wide button is the default selection and has a focal length 
  268. similar to a wide angle lens on a real camera.
  269.  
  270. Click on the Zoom button. Now click on the Main button to get 
  271. the Lower Control Panel back. Click on the Render button. 
  272. Notice that the object (mound) is now larger.
  273.  
  274. Click the left mouse button to return to the Control Panels. 
  275. Click on the Lens button again. At the bottom of the Lens 
  276. Control Panel, you'll notice a numeric gadget. This contains 
  277. the zoom value. This value can be changed for a custom zoom 
  278. value. The larger the number, the greater the magnification.
  279.  
  280. MAKING A "SMOOTHER" IMAGE
  281. -------------------------
  282. When rendering a landscape, even at Polygon size "1", you will 
  283. often see small triangles in the close up portions of the 
  284. picture. This is because the USGS data used to make the 
  285. Vistapro DEM files is made up of elevation points that are 
  286. about 30 meters apart. When that distance is more than 1 pixel 
  287. wide, then that point in the landscape will render as a 
  288. triangular block. There are several methods of hiding these 
  289. blocks when rendering.
  290.  
  291. Blend
  292. -----
  293. Blending smooths the changes in color from polygon to polygon, 
  294. causing the small polygons to be less apparent, especially in 
  295. the distance. To use blending, click on the Blend button, on 
  296. the Middle Control Panel, before you render a picture. The 
  297. button will remain depressed until you again click on it to 
  298. disable it.
  299.  
  300. Gouraud Shading
  301. ---------------
  302. Gouraud Shading smooths the boundary between polygons, making 
  303. it much less apparent that they are even there. It also 
  304. eliminates sharp transitions from one color to another, giving 
  305. the image more of the quality of an artist's rendition. Gouraud 
  306. Shading may be enabled by pressing the GShade button, in the 
  307. Main Lower Control Panel, before rendering a picture. The 
  308. button will remain depressed until you again click on it to 
  309. disable it.
  310.  
  311. Dither
  312. ------
  313. There are two methods of dithering available with Vistapro. The 
  314. first, using the Dither button causes a blending of the 
  315. elevation colors, reducing the sharpness of the snow and tree 
  316. lines. This can be changed by clicking on the numerical gadget 
  317. below the word Dither in the Middle Control Panel, and entering 
  318. a new value. Larger values result in more dithering, smaller 
  319. values result in less dithering.
  320.  
  321. The second method is called pixel dithering, mixing slightly 
  322. different colored pixels to simulate more colors. This can be 
  323. set by clicking on the numerical gadget below the PDthr button 
  324. on the Main Lower Control Panel, and entering a new value. 
  325. Larger values result in more dithering, smaller values result 
  326. in less dithering. You can add so much dithering so as to make 
  327. the image entirely unrecognizable.
  328.  
  329. EXPERIMENT
  330. ----------
  331. Spend some time experimenting with the features we have 
  332. discussed. Try changing your camera and target location and 
  333. rendering at different "Poly" levels with the different 
  334. blending features. After you have a good feel for the operation 
  335. of the program, go on to the next tutorial.
  336.  
  337.  
  338. *** End of Tutorial #1 ***
  339.  
  340.