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

  1.   NAME:         interior
  2.   
  3.   CELL CONTENTS:
  4.       Each cell contains a single facet.  The facet contains no
  5.       per-vertex or per-facet attributes.  Of the 28 variations
  6.       of this test the output primitive used to create the facet is:
  7.   
  8.       (interior.v01 - interior.v04) use "Polygon" as the facet.
  9.       (interior.v05 - interior.v04) use "Polygon3" as the facet.
  10.       (interior.v09 - interior.v10) use "Fill_area_set" as the facet.
  11.       (interior.v13 - interior.v16) use "Fill_area_set3" as the facet.
  12.       (interior.v17 - interior.v20) use "Triangle3" as the facet.
  13.       (interior.v21 - interior.v24) use "Quad_mesh3" as the facet.
  14.       (interior.v25 - interior.v28) use "Index_polygon3" as the facet.
  15.  |     (interior.v29 - interior.v32) use "Non_uniform_bspline_surface" as the facet.
  16.   
  17.   CELL LAYOUT:
  18.       Cells are arranged on the screen in a matrix of 5 rows and
  19.       8 columns.
  20.   
  21.   CONSTANTS:
  22.       Background_color        .3 .3 .8
  23.       Background_color_index        16
  24.       Interior_shading        1
  25.       Interior_lighting         1
  26.       Backface_processing         0 0
  27.       Define_color %  i     red    green    blue             %
  28.                    8     1    0    0    % Red     %
  29.                    9     0    1    0    % Green  %
  30.                    10     0    0    1    % Blue     %
  31.                    11     1    1    0    % Yellow %
  32.                    12     0    1    1    % Cyan     %
  33.                    13     1    0    1    % Magenta%
  34.                    14     1    1    1    % White     %
  35.                    15     0    0    0    % Black     %
  36.                    16     0.3    0.3    0.8
  37.               20    0.000000    0.000000    1.000000
  38.               21    0.000000    0.142857    1.000000
  39.               22    0.000000    0.285714    1.000000
  40.               23    0.000000    0.428571    1.000000
  41.               24    0.000000    0.571429    1.000000
  42.               25    0.000000    0.714286    1.000000
  43.               26    0.000000    0.857143    1.000000
  44.               27    0.000000    1.000000    1.000000
  45.               28    0.250000    0.000000    0.750000
  46.               29    0.250000    0.142857    0.750000
  47.               30    0.250000    0.285714    0.750000
  48.               31    0.250000    0.428571    0.750000
  49.               32    0.250000    0.571429    0.750000
  50.               33    0.250000    0.714286    0.750000
  51.               34    0.250000    0.857143    0.750000
  52.               35    0.250000    1.000000    0.750000
  53.               36    0.500000    0.000000    0.500000
  54.               37    0.500000    0.142857    0.500000
  55.               38    0.500000    0.285714    0.500000
  56.               39    0.500000    0.428571    0.500000
  57.               40    0.500000    0.571429    0.500000
  58.               41    0.500000    0.714286    0.500000
  59.               42    0.500000    0.857143    0.500000
  60.               43    0.500000    1.000000    0.500000
  61.               44    0.750000    0.000000    0.250000
  62.               45    0.750000    0.142857    0.250000
  63.               46    0.750000    0.285714    0.250000
  64.               47    0.750000    0.428571    0.250000
  65.               48    0.750000    0.571429    0.250000
  66.               49    0.750000    0.714286    0.250000
  67.               50    0.750000    0.857143    0.250000
  68.               51    0.750000    1.000000    0.250000
  69.               52    1.000000    0.000000    0.000000
  70.               53    1.000000    0.142857    0.000000
  71.               54    1.000000    0.285714    0.000000
  72.               55    1.000000    0.428571    0.000000
  73.               56    1.000000    0.571429    0.000000
  74.               57    1.000000    0.714286    0.000000
  75.               58    1.000000    0.857143    0.000000
  76.               59    1.000000    1.000000    0.000000
  77.       Text_prec            Stroke
  78.       Char_exp            1
  79.       Char_height            30
  80.       Text_color            1 1 1
  81.       Text_color_index        14
  82.   
  83.   PER FILE VARIABLES:    ( See also Appendix B )
  84.       Default_view_specification    parallel/perspective
  85.       Configuration            true_color/pseudo_color
  86.   
  87.   COLUMN VARIABLES:
  88.                       Collumn
  89.           1    2    3    4    5    6    7    8
  90.     Variable:     ____    ____    ____    ____    ____    ____    ____    ____ 
  91.     Interior_st hollow    solid    pattern    empty    hollow    solid    pattern    empty
  92.     Edge_type    0    1    2    3    0    1    2    3
  93.     HLHS_Remov  disable enable    disable    enable    disable    enable    disable    enable
  94.     Call/Execu  Exec    Call    Exec    Call    Exec    Call    Exec    Call
  95.       
  96.   ROW VARIABLES:
  97.   
  98.     Row    Interior_pattern_index    Edge_flag    Edge_width
  99.   
  100.     1    0            disabled    1
  101.     2    1            enabled        1
  102.     3    2            enabled        2
  103.     4    3            enabled        3
  104.     5    4            enabled        4
  105.   
  106.   
  107.   ROW/COLUMN VARYING VARIABLES:
  108.     Interior_color:    A gouraud shaded styled ramp between:
  109.              (row 1, col 1) = 0 0 1    (row 1, col 8) = 0 1 1
  110.              (row 5, col 1) = 1 0 0    (row 5, col 8) = 1 1 0
  111.   
  112.     Interior_color_index: Increment by 1 from left to right, top to bottom,
  113.              starting at (row 1, col 1) = 20 and 
  114.              ending   at (row 5, col 8) = 59.
  115.              The colors the indices reference should be identical 
  116.              to those used in true_color mode by Interior_color.
  117.   
  118.      Edge_color:        A gouraud shaded styled ramp between:
  119.              (row 1, col 1) = 1 1 0    (row 1, col 8) = 1 0 0
  120.              (row 5, col 1) = 0 1 1    (row 5, col 8) = 0 0 1
  121.   
  122.      Edge_color_index:     Decrement by 1 from left to right, top to bottom,
  123.              starting at (row 1, col 1) = 59 and 
  124.              ending   at (row 5, col 8) = 20.
  125.              The colors the indices reference should be identical to
  126.              those used in true_color mode by Edge_color.
  127.   
  128.   COMMENTS ON PHOTOGRAPHS:
  129.   
  130.       *  Edge color and interior color ARE exactly correct on the
  131.           photographs.  Note that in the top row in columns 1 and 5
  132.           the edge color is the same as the polygon color.  This IS
  133.           correct because those polygons are "Interior_style hollow"
  134.           and "Edge_flag disable"(d).
  135.   
  136.   
  137.       *  Edge type had no effect in the photographs.  They should be:
  138.           Column 1:    _____    (solid  )
  139.           Column 2:    _ _ _     (dash   )
  140.           Column 3:    .....    (doted  )
  141.           Column 4:    _._._    (dashdot)
  142.           Column 5:    _____    (solid  )
  143.           Column 6:    _ _ _     (dash   )
  144.           Column 7:    .....    (doted  )
  145.           Column 8:    _._._    (dashdot)
  146.   
  147.       *  Interior_pattern_index type had no effect in the photographs.  
  148.           They should be:
  149.           Row 1:        |||||    (vertical lines                )
  150.             Row 2:        -----    (horizontal lines              )
  151.             Row 3:        /////    (diagonal lines, wide   spacing)
  152.             Row 4:        / / /    (diagonal lines, medium spacing)
  153.             Row 5:        \\\\\    (diagonal lines, wide   spacing)
  154.   
  155.           (NOTE:  The default patterns were not defined in the BIF
  156.               manual, and are not defined in PHIGs.  These are
  157.               therefor proposals only ).
  158.   
  159.       *  Edge_width type had no effect in the photographs.
  160.   
  161.       *  The text size (for the text at toe bottom of the screen )
  162.           was reduced from the size on the photograph.  Additional
  163.           information has been added to that text.
  164.