home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / demos / gpc / tests / line.DOC < prev    next >
Encoding:
Text File  |  1991-02-13  |  2.8 KB  |  112 lines

  1.  NAME:             line
  2.  
  3.  CELL CONTENTS:
  4.      Each cell contains 3 line and 3 line3 entities (with per vertex 
  5.      color).  The 3 line primitives make a reversed Z shape of a 
  6.      solid color (given in a table in COLUMN VARIABLES).  The 3 line3 
  7.      primitives make up a 'Z'.  The first vertex color (given in a 
  8.      table in COLUMN VARIABLES).  The following three vertex colors 
  9.      are RED, WHITE, and BLUE respectively.
  10.                 _____    
  11.                \
  12.                 \
  13.                  \    line (solid color)
  14.                   \
  15.                    \
  16.                _____\
  17.                ______  
  18.      variable color       /  RED
  19.                /
  20.               /
  21.              /    line3
  22.                 /
  23.          WHITE /_____  BLUE
  24.  
  25.  CELL LAYOUT:
  26.      Cells are arranged on the screen in a matrix of 8 rows and
  27.      8 columns.
  28.  
  29.  CONSTANTS:
  30.      Background_color        .3 .3 .8
  31.      Background_color_index        16
  32.      Define_color %  i     red    green    blue             %
  33.                   8     1    0    0    % Red     %
  34.                   9     0    1    0    % Green  %
  35.                   10     0    0    1    % Blue     %
  36.                   11     1    1    0    % Yellow %
  37.                   12     0    1    1    % Cyan     %
  38.                   13     1    0    1    % Magenta%
  39.                   14     1    1    1    % White     %
  40.                   15     0    0    0    % Black     %
  41.                   16     0.3    0.3    0.8
  42.      Text_prec            Stroke
  43.      Char_exp            1
  44.      Char_height            30
  45.      Text_color            1 1 1
  46.      Text_color_index        14
  47.  
  48.  PER FILE VARIABLES:    ( See also Appendix B )
  49.      Default_view_specification    parallel/perspective
  50.      Configuration            true_color/pseudo_color
  51.  
  52.  COLUMN VARIABLES:
  53.                      Collumn
  54.          1    2    3    4    5    6    7    8
  55.    Variable:     ____    ____    ____    ____    ____    ____    ____    ____ 
  56.    Line_width    0.25    0.5     0.75    1.0    1.5    2    2.5    3
  57.    Line_color    100    010    001    110    011    101    111    000
  58. |  Line_shading    0    1    0    1    0    1    0    1    
  59.    Vertex_color    010    001    110    011    101    111    000    100
  60.      (for first vertex of each line3)
  61.    Line_color_
  62.        index    8    9    10    11    12    13    14    15
  63.    Vertex_color_
  64.        index    9    10    11    12    13    14    15    8
  65.      (for first vertex of each line3)
  66.    HLHS_Removal    disable enable    disable    enable    disable    enable    disable    enable
  67.      
  68.  ROW VARIABLES:
  69.  
  70.    Row    Line_type
  71.    1    0
  72.    2    1
  73.    3    2
  74.    4    3
  75.    5    0
  76.    6    1
  77.    7    2
  78.    8    3
  79.  
  80.  
  81.  ROW/COLUMN VARYING VARIABLES:
  82.      NONE
  83.  
  84.  COMMENTS ON PHOTOGRAPHS:
  85.  
  86.      *  Line width had no effect in photographs.
  87.  
  88.      *  Line type had no effect in the photographs.  They should be:
  89.          Row 1:    _____    (solid  )
  90.          Row 2:    _ _ _     (dash   )
  91.          Row 3:    .....    (doted  )
  92.          Row 4:    _._._    (dashdot)
  93.          Row 5:    _____    (solid  )
  94.          Row 6:    _ _ _     (dash   )
  95.          Row 7:    .....    (doted  )
  96.          Row 8:    _._._    (dashdot)
  97.  
  98. |    *  Line shading had no effect in the photographs (it was always
  99. |       on).  They should be:
  100. |        Row 1:  no line shading.
  101. |        Row 2:  line shading as shown.
  102. |        Row 3:  no line shading.
  103. |        Row 4:  line shading as shown.
  104. |        Row 5:  no line shading.
  105. |        Row 6:  line shading as shown.
  106. |        Row 7:  no line shading.
  107. |        Row 8:  line shading as shown.
  108.   
  109.      *  The text size (for the text at toe bottom of the screen )
  110.          was reduced from the size on the photograph.  Additional
  111.          information has been added to that text.
  112.