home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d0xx / d099 / a-render.lha / A-Render / DOC / DIGI.DOC < prev    next >
Encoding:
Text File  |  1987-03-22  |  4.0 KB  |  184 lines

  1.  
  2. Digitizer / Extruder instructions:
  3. ----------------------------------
  4.  
  5.  
  6. What is a Digitizer / Extruder, you ask ?
  7. The Digitizer program allows you to draw around the edge of an object.  The
  8. outline is then EXTRUDED to make the edges into sides.  This means the 
  9. object now has depth.  
  10.  
  11.  
  12. I'm reminded of a clay toy I had as a young'n. This toy had a number of 
  13. flat pieces of plastic, each with a differently shaped hole.  You would put
  14. a piece on a pump, load the clay, and pump the clay through the hole in the
  15. plastic.  This creates a piece of spaghetti-like clay with the shape of the
  16. outline in the plastic piece.  This is an extrusion.
  17.  
  18.  
  19. We will make an extrusion of a heart because it is easy and will allow me
  20. to demonstrate many things.
  21.  
  22.  
  23. To start the Digitizer program, type 'Digi <Return>'.
  24. You may choose GRID LOCK in the menu if you wish, it will lock all mouse
  25. picks to the nearest grid crossing.  
  26. AXIS LOCK is for describing objects with edges directly left-right and 
  27. up-down, don't pick it for the heart object because it has diagonal edges.
  28.  
  29.  
  30.  
  31.  
  32.  
  33. !!!  You can't back up if you make a mistake, so don't make ANY  !!!
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68. How to digitize (draw) the heart:   (Refer to Figure 1)
  69.  
  70.  
  71.   The point order was chosen with the following restrictions in mind:
  72.   a.  ClockWise direction.
  73.   b.  No two points in the contour at the same place.
  74.   c.  Don't repick first point as last!
  75.  
  76.  
  77. Pick the first point close to the center of the screen left-to-right, and 
  78. about 3 grid squares up from the bottom.
  79.  
  80.  
  81. To get to point 2 from point 1:
  82.   go 4 grid squares left, and 3 up.
  83. to 3:
  84.   go 3 left, 5 up.
  85. 4:
  86.   0, 2 up.
  87. 5:
  88.   1 right, 2 up.
  89. 6:
  90.   2 right, 1 up.
  91. 7:
  92.   2 right, 0.
  93. 8:
  94.   2 right, 2 down.
  95.  
  96.  
  97. Now mirror these moves for points 9 - 14.
  98.  
  99.  
  100.  
  101.  
  102.  
  103.                        6.   .7            9.    .10
  104.                      .              8              .
  105.                     5               .               11 
  106.                    .                                 .
  107.                   4                                   12
  108.                    .                                 .
  109.                   3                                  13
  110.                     
  111.  
  112.  
  113.                               .           .
  114.                              2             14
  115.  
  116.                                     .
  117.                                     1
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.                    ********      Figure 1      ********
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134. Now we must define polygons for the front face, the polygons on the side
  135. are defined automatically.  You will pick from the existing points on the 
  136. screen when doing this.
  137.  
  138.  
  139. The polygon points must be chosen with the following restrictions in mind:
  140.    a.  Pick the vertice points in a ClockWise direction.
  141.    b.  The polygons must be convex, no internal angles greater than 180.
  142.        See the appendix 'CONVEX_POLYGONS.DOC', for a better explanation.
  143.    c.  Yes, now you must repick first point as last!
  144.  
  145.  
  146. We're trying to minimize the number of convex polygons needed to 
  147. represent a concave polygon ( like the heart! ).  When you pick the first
  148. point, watch carefully, it will turn purple.  When you pick the next 
  149. points, a gray line is drawn between the points.  See 
  150. CONVEX_POLYGONS.DOC for more info on what they are.
  151.  
  152.  
  153. I have broken the concave shape of the polygon on the front of the heart
  154.   into two convex polygons.
  155.  
  156. This is the first polygon.
  157. To do this, up in a menu, pick 'DEFINE POLY'.
  158. PICK POINTS ->  1, 2, 3, 4, 5, 6, 7, 8, 1
  159. Now you must pick  DEFINE POLY again to end the polygon.
  160.  
  161. This is the second.
  162. PICK DEFINE POLY.
  163. PICK POINTS ->  9, 10, 11, 12, 13, 14, 1, 8 ,9
  164. REPICK DEFINE POLY
  165.  
  166.  
  167.  
  168. Now pick 'PICK ORIGIN' in a menu
  169. Pick the origin of the object.  We do rotations around the origin, so 
  170. pick a point as close as possible to the center of the heart.  Watch
  171. here for a small red dot at the point.
  172.  
  173.  
  174. Pick 'SAVE to Db' in a menu to save this object to digi.obj .  DIGI always
  175. saves to digi.obj . 
  176.  
  177.  
  178. Pick the closewindow gadget to exit the digitizer, or use the menu bar.
  179.  
  180.  
  181. Don't pick any menu items not described, they are nonfunctional and may
  182. crash the computer.
  183.  
  184.