home *** CD-ROM | disk | FTP | other *** search
/ Inside Multimedia 1995 December / IMM1295.ISO / share / grafik / graver / howtodo.dat < prev    next >
Text File  |  1994-03-28  |  7KB  |  156 lines

  1. Graver Help File:  HOWTODO.DAT
  2.  
  3.  
  4. QUICK START GUIDE _______________________________________________
  5.  
  6. 1)  Load a BMP file to be converted from the File Open dialog 
  7.     box, or paste an image from the Windows clipboard using the
  8.     Edit Paste menu command.
  9.  
  10. 2)  Click the RIGHT mouse button on an image area you wish to 
  11.     engrave. The Options dialog box will appear with the key
  12.     color of your selected engraving areas shown. Click "OK" to
  13.     accept the selected color and the default options.
  14.  
  15. 3)  Double-click the LEFT mouse button anywhere on the image 
  16.     to begin pixel conversion. Conversion will take a moment or 
  17.     two, depending on the size of your image and engraving areas.
  18.  
  19. 4)  When conversion is complete, a gray scale image will appear.
  20.     Save the image with the File Save As dialog box, or Copy it
  21.     to the clipboard.
  22.  
  23. 5)  Use your favorite BMP-to-GIF utility to generate a GIF file  
  24.     for use as a height field or bump map.
  25.  
  26. That's all, except for a few helpful hints...
  27.  
  28.  
  29. INPUT IMAGE HINTS _______________________________________________
  30.  
  31. Graver will accept and process any Windows BMP file up to the 
  32. size and resolution of your full screen. For best quality, use 
  33. the highest resolution you can with the Smoothing option on.
  34. Smoothing can be turned off for applications where roughness is
  35. desirable, such as in simulating tool marks on wood.
  36.  
  37. Both 16-color and 256-color BMPs work as input files. However,
  38. since Graver needs the system palette, 256-color images will be 
  39. displayed in shades of gray rather than in the original colors.
  40. This has no effect on image processing.  
  41.  
  42. The entire input image must be displayed on the screen during 
  43. processing, so if you move Graver's window or cover the input
  44. image with another application's window, image conversion may be
  45. incomplete.
  46.  
  47. Selecting a key color defines the regions of the input image to  
  48. be engraved. All areas containing the key color you select will
  49. be converted to shades of gray representing depth. Input image
  50. pixels that are not in the engraved areas are converted to a  
  51. single shade of gray whose value depends on the Concave/Convex
  52. Option setting.
  53.  
  54. The Concave option is the mode for normal engraving where 
  55. pixels in engraved areas grow darker (lower) toward the center.
  56. The Convex option is the reverse with engraved areas lightest 
  57. at the center.  
  58.  
  59. Graver assigns a gray shade to each engraved pixel in proportion 
  60. to its distance from the nearest edge of the engraved area, as 
  61. defined by the the nearest pixel whose color is not the selected
  62. key color. To simulate the engraving style commonly found in 
  63. stonecutting, Graver explores a square search region centered on 
  64. each pixel to be engraved. The search algorithm uses information
  65. from prior searches to speed calculations.  
  66.  
  67. Engraving areas up to 50 x 50 pixels can be processed with 
  68. Smoothing set to On, while areas up to 450 x 450 pixels can be 
  69. handled with Smoothing set to Off. Any contiguous area larger 
  70. than these limits will be clipped by assigning a single floor or
  71. ceiling gray value to pixels in the central part of the engraved 
  72. area.
  73.  
  74. The Edit Undo command can be used to restore display of the input
  75. image after processing so you can experiment with several option 
  76. settings.
  77.  
  78.   
  79. OUTPUT IMAGE HINTS ______________________________________________
  80.  
  81. At the completion of processing, a preview display of the output
  82. image appears. This display is useful for viewing the results of
  83. the conversion process, but some images and option settings will 
  84. produce display contrast that is too low to be viewed directly. 
  85. This is more often the case when Smoothing is off.
  86.  
  87. The File Save As and Edit Copy commands are active when an out-
  88. put picture is visible. Undo can toggle between output and input
  89. pictures until you load a new image or start another conversion. 
  90.  
  91. Graver uses a special palette of 256 gray shades corresponding
  92. to 256 palette index values. To avoid Windows system palette 
  93. conflicts, only the palette index values 10 to 235 are used in 
  94. image conversions. The conversion options affect palette index
  95. values as follows:
  96.  
  97. 1) When Concave is selected, the palette index of non-engraved
  98.    areas is set to 235. Engraved area pixels are assigned 
  99.    decreasing values until the minimum index 10 is reached.
  100.  
  101. 2) When Convex is selected, the palette index of non-engraved 
  102.    areas is set to 10. Engraved area pixels are assigned
  103.    increasing values until the maximum index 235 is reached.
  104.  
  105. 3) When Smoothing is on, the palette index steps 9 units for each
  106.    unit of engraved area depth change. This allows averaging of
  107.    3x3 pixel regions to smooth the surface of engraved areas.
  108.  
  109. 4) When Smoothing is off, the palette index steps 1 unit for each
  110.    unit of depth change. This allows larger areas to be engraved
  111.    without depth clipping. 
  112.  
  113. Windows file conversion utilities such as Paint Shop Pro nicely 
  114. handle the translation of output files to GIF format without
  115. disturbing the palette.  
  116.  
  117.  
  118. POV-RAY RENDERING HINTS _________________________________________ 
  119.    
  120. When rendering height fields:
  121.  
  122. 1)  Smoothing by Graver exaggerates depth (the y-dimension). Try
  123.     scaling to restore normal engraving proportions. Scale values
  124.     of .1 to .3 seem to work well.
  125.  
  126. 2)  Even with smoothing by Graver, some height fields will have
  127.     noticeable jaggies. POV-Ray's own 'smooth' keyword helps,
  128.     though sometimes at the cost of fine details. Rendering with
  129.     anti-aliasing is often the best solution.
  130.  
  131. 3)  Intersection operations between, say, a box and a height 
  132.     field allow you to use different textures for the flat surface
  133.     and the engraving. See HELLO.POV for an example of gold
  134.     lettering on stone.
  135.  
  136. When rendering bump maps:
  137.  
  138. 1)  Bump maps are a good way to simulate engraving on a variety
  139.     of solid objects. Unfortunately, the simulation is imperfect
  140.     because the illusion of concave vs. convex varies with 
  141.     lighting angle and surface orientation. Experiment with 
  142.     Graver's Concave and Convex options to find the bump map
  143.     that works best in your situation.    
  144.  
  145. 2)  The 'interpolate 2' keyword works well with bump maps to 
  146.     reduce jaggies.
  147.       
  148. 3)  Large bump size values may be needed to create contrast with 
  149.     bump maps created by Graver. Try bump size values around 100 
  150.     for bump maps created with Smoothing Off, and values around 
  151.     10 for those created with Smoothing On.
  152. _________________________________________________________________
  153.  
  154. Richard LeVitt (c)1994
  155.  
  156.