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

  1. begin_structure 1 ;        % Static structure 1 %
  2.     Apply_to_global3  0  ; 
  3.     Polygon
  4.           1     -1
  5.           1      1
  6.          -1      1
  7.          -1     -1
  8.     ;
  9.         Call_structure  10 ;
  10. end_structure ;            % Structure 1  %
  11.  
  12. begin_structure 2 ;        % Static structure 2 %
  13.     Apply_to_global3  0  ; 
  14.     Polygon3
  15.           1     -1     0
  16.           1      1     0
  17.          -1      1     0
  18.          -1     -1     0
  19.     ;
  20.         Call_structure  10 ;
  21. end_structure ;            % Structure 2  %
  22.  
  23. begin_structure 3 ;        % Static structure 3 %
  24.     Apply_to_global3  0  ; 
  25.     Fill_area_set
  26.     {
  27.           1     -1
  28.           1      1
  29.          -1      1
  30.          -1     -1
  31.     }
  32.     ;
  33.         Call_structure  10 ;
  34. end_structure ;            % Structure 3  %
  35.  
  36. begin_structure 4 ;        % Static structure 4 %
  37.     Apply_to_global3  0  ; 
  38.     Fill_area_set3
  39.     {
  40.           1     -1     0
  41.           1      1     0
  42.          -1      1     0
  43.          -1     -1     0
  44.     }
  45.     ;
  46.         Call_structure  10 ;
  47. end_structure ;            % Structure 4  %
  48.  
  49. begin_structure 5 ;        % Static structure 5 %
  50.     Apply_to_global3  0  ; 
  51.     Triangle3
  52.           1     -1     0
  53.           1      1     0
  54.          -1     -1     0
  55.          -1      1     0
  56.     ;
  57.         Call_structure  10 ;
  58. end_structure ;            % Structure 5  %
  59.  
  60. begin_structure 6 ;        % Static structure 6 %
  61.     Apply_to_global3  0  ; 
  62.     Quad_mesh3
  63.      2  2
  64.          -1      1     0
  65.           1      1     0
  66.          -1     -1     0
  67.           1     -1     0
  68.     ;
  69.         Call_structure  10 ;
  70. end_structure ;            % Structure 6  %
  71.  
  72. begin_structure 7 ;        % Static structure 7 %
  73.     Apply_to_global3  0  ; 
  74.     Index_polygons3
  75.           1     -1     0
  76.           1      1     0
  77.          -1      1     0
  78.          -1     -1     0
  79.         Facet_connectivity
  80.         {
  81.             {  0  1  2  3 }
  82.         }
  83.     ;
  84.         Call_structure  10 ;
  85. end_structure ;            % Structure 7  %
  86.  
  87. begin_structure 8 ;        % Static structure 8 %
  88.     Apply_to_global3  0  ; 
  89.     Non_uniform_bspline_surface
  90.     non_rational
  91.      2  2
  92.      2  2
  93.          -1     -1     0
  94.           1     -1     0
  95.          -1      1     0
  96.           1      1     0
  97.     ;
  98.         Call_structure  10 ;
  99. end_structure ;            % Structure 8  %
  100.  
  101. begin_structure 10 ;        % Static structure 10 %
  102.         
  103.     Text  -0.750000  -0.900000
  104.     "This is a text"
  105.     ;
  106.     Text3  -0.750000   0.100000  0
  107.     "This is a text3"
  108.     ;
  109.     Line   1  -1     -1   1 ;
  110.     Line3  1   1   0  -1  -1   0 ;
  111. end_structure ;            % Structure 10  %
  112.  
  113.