home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / z / zed3dpcx / Figures < prev    next >
Text File  |  1995-04-07  |  7KB  |  376 lines

  1.  
  2.           _,-'xxx
  3.     ,,--''   xxxxx
  4.  <)-,,       xxxxx things we're
  5. eye   --,_   xxxxx looking at
  6.           '-,_xxx
  7.     projection
  8.       rays
  9.  
  10. Figure 1
  11. =======================================
  12.  
  13.         |
  14.         |
  15.         |
  16.        a| _,-'xxx
  17.     ,,--+'   xxxxx
  18.  <)-,,  |    xxxxx things we're
  19. eye   --+_   xxxxx looking at
  20.        b| '-,_xxx
  21.         |      
  22.         |      
  23. a and b are the projection points.
  24.  
  25. Figure 2
  26. =======================================
  27.  
  28.  
  29.                
  30.               - - - - - - -
  31.              |            |
  32.             /|            |
  33.            / |            |
  34.           /  |    _-| |   |
  35.          /   |  _-  | |   |
  36.         /    |_-    | |   y'
  37.        /    _+      | |   |
  38.       /   _- |      | y   |
  39.      /  _-   |      | |   |
  40.     /b_-     |      | |   |
  41.    /_-a      |      | |   |
  42.    ------------------ - - -
  43.    <---x'---->
  44.    <--------x------->
  45.  
  46. Figure 3
  47. =======================================
  48.  
  49.  
  50.  
  51. World "y"
  52. Coordinate
  53.         .
  54.        /|\          -+Eye "y" unit vector
  55.         |           /|
  56.         |          /
  57.         |       / /
  58.         |      a /\
  59.         |     / /  \
  60.         |      /    \
  61.         |     O\     \
  62.         |    \  \     o Point
  63.         |     \  \   /
  64.         |      b  \ /
  65.         |       \  \
  66.         |        \  \|
  67.         |           -+Eye "x" unit vector
  68.         |
  69.         |
  70.         ----------------------->
  71.       World            World "x" coordinate
  72.       origin
  73.  
  74. O is eye origin
  75. a is EyeY dot R
  76. b is EyeX dot R
  77.  
  78. Figure 3a
  79. =======================================
  80.  
  81.  
  82.       a
  83.     <---. X
  84.     .  /|\
  85.         |
  86.     .   |
  87.        |
  88.     .  |.
  89.        |
  90.     . | .
  91.       | 
  92.     . | .
  93.      |  
  94.     .|  .
  95.      |  
  96.     |   .
  97.     |   
  98.     |   .
  99.     ----------------------->
  100.                             Y
  101.  
  102.  
  103. a has a length of X dot Y
  104.  
  105. Figure 3b
  106.  
  107. =======================================
  108.  
  109.  
  110.           |
  111.          |x|
  112.          |x|
  113.         |xxx|
  114.   ------+---+-------
  115.     xxx|     |xxx-
  116.       x|     |x-
  117.       |x-_  _-|
  118.       |xxx_-xx|
  119.      |xxx-  -xx|
  120.      |x-      -x|
  121.      '          '
  122. Figure 4
  123. =======================================
  124.  
  125.         m
  126.         /\
  127.        /  \
  128.       /    \
  129.      /      \
  130.    n/        \
  131.     \         \
  132.      \         \
  133.       \         \
  134.        \         \p
  135.         \        /
  136.          \      /
  137.           \    /
  138.            \  /
  139.             \/
  140.              o
  141.  
  142. Note: this figure should be 3 figures. In part a, you only see the above
  143. polygon, filled. In part b, you see the polygon described as vectors.
  144. E.G. I represented the polygon as vectors mn, then no, then op, then pm.
  145. In c, I represented the polygon as vectors mn, no, mp and po.
  146.  
  147. Figure 5
  148. =======================================
  149.  
  150. Figure 6 is a bit hard to draw (it's 3d)
  151. =======================================
  152.  
  153. ....    ...-
  154. ...#    .--#
  155. .##.    -##+
  156. #...    #+-.
  157.  a       b
  158.  
  159. Figure 7
  160. =======================================
  161.  
  162.     _______
  163.    |  i   /
  164.    |     /
  165.    |i  i/
  166.    |   /
  167.    |  /
  168.    | <
  169.    | i\
  170.    |   \
  171.    | i  \
  172.    -------
  173.  
  174. The i's mark where the in side of an edge is.
  175. This figure is a bit different from the original one, but it's
  176. good anyway.
  177.  
  178. Figure 8
  179. =======================================
  180.  
  181.  
  182. Figure 9 a bit hard to draw because of the circle
  183. =======================================
  184.  
  185.  
  186.    outside
  187.  
  188.       /\              /\             /\
  189.      /  \            /  \           /| \
  190.     /    \          /    \         / |  \
  191.    /      \        /      \       /  |   \
  192.   / inside \     |/        \|   |/   |    \|
  193.  /          \    +-        -+   +-   |    -+
  194.                                  .   |    .
  195.                                   .  |   .
  196.       a              b             . |  .
  197.                                     .| .   c
  198.                                      \/
  199.  
  200.  
  201. Figure 10
  202. =======================================
  203.  
  204.      ________
  205.      |       \
  206.      |        \
  207.      |->      /                   |
  208.      |       /                    | in    /
  209.      |  +-  /                     |      /
  210.      |  |\ /                      |     /
  211.      |    /                       |    /
  212.      |   /                        |   /
  213.      |  /                         |  /
  214.      | /                  "mixed" | /
  215.      |/                           |/            
  216.                                   .
  217.                                 ..
  218.                                 . .    "mixed"
  219.                                .  .
  220.                               .   .
  221.                              .    .
  222.                             .  out.
  223. Figure 11
  224. =======================================
  225.  
  226.  
  227.  
  228.  
  229.          a_,-'\
  230.       _,-'     \b
  231.      |          \
  232.      |           \
  233.      |           |   1
  234.      |           |
  235.      |           |
  236.      |___________|
  237.  
  238.  
  239.          a_,-'\
  240.       _,-'     \b
  241.      |'--,      \
  242.      |    '--,,__\
  243.      |           |
  244.      |           |   2
  245.      |           |
  246.      |___________|
  247.  
  248.  
  249.                  
  250.                    
  251.      |'--,       
  252.      |    '--,,__ 
  253.      |           |
  254.      |           |   3
  255.      |           |
  256.      |___________|
  257.  
  258. Note: edges a and b are the "green" edges of the text.
  259. Figure 12
  260. =======================================
  261.  
  262.  
  263.          /                \
  264.         /                  \
  265.        /                    \ -+
  266.       /\|                    \/|
  267.      / -+                     \
  268.     /                          \
  269.    /                            \
  270.    \                            /
  271.     \                          /
  272.      \ -+                     /
  273.       \/|                    /
  274.        \                    /\|
  275.         \                  / -+
  276.          \                /
  277.  
  278. Figure 13
  279. =======================================
  280.  
  281.         c
  282.        /\
  283.       /  \
  284.      /    \
  285.     /      \
  286.    /        \
  287.   /          \
  288. b/            \
  289.  '-,_      P   \
  290.      '+----+----+n
  291.      m   '-,_    \
  292.              '-,_ \
  293.                  '-+a
  294.  
  295. (A simplified version of the real figure)
  296. Figure 14
  297. =======================================
  298. c
  299.  \   .
  300.  |\  .
  301.  | \ .<--- clipping plane
  302.  |  \.
  303.  |   +m
  304.  |   .\
  305.  |   . \
  306.  \   .  \
  307. d \  .   \b
  308.    \ .   |
  309.     \.   |
  310.     n+   | <----- polygon
  311.      .\  |
  312.      . \ |
  313.      .  \|
  314.      .   |a
  315.  
  316.  
  317. (A simplified version of the real figure)
  318.  
  319. Start with point a. Trivially accept vector ab (it's on the correct
  320. side of the clipping plane). bc is cut to becom bm. cd is trivially
  321. rejected. da is clipped at n and na is kept. Since we just
  322. re-entered the acceptance region, link m and n to form the vector mn.
  323. The complete clipped polygon is mnba.
  324.  
  325. Figure 15
  326. =======================================
  327.        
  328. This:
  329.        .
  330.        .
  331.        . /
  332.        ./|
  333.        / |<---- polygon
  334.       /.|
  335.      / .|
  336.     /  | 
  337.    /   |
  338.   /   |.
  339.  /    |.
  340.  \   | .<---- clipping plane
  341.   \   |.
  342.    \  |.
  343.     \  | 
  344.      \ |  
  345.       \.|  
  346.        \|   
  347.        .\    
  348.        .
  349.        .
  350.  
  351.  
  352. clips to:
  353.         
  354.         
  355.          /
  356.         /|
  357.        / |                 
  358.        ||
  359.        ||
  360.        | 
  361.        |
  362.        .
  363.        .
  364.        .<---- there is a degenerate edge here
  365.        .
  366.        .
  367.        | 
  368.        |  
  369.        ||  
  370.        \|   
  371.         \    
  372.         
  373. Figure 16
  374. =======================================
  375.  
  376.