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

  1. %
  2. /*--------------------------------------------------------------------*\
  3. |
  4. |   Copyright (c)1989,1990 National Computer Graphics Association
  5. |
  6. |       Permission is granted to any individual or instititution 
  7. |  to use, copy, or redistribute this software so long as it is not
  8. |    sold for profit, provided this copyright notice is retained.
  9. |
  10. |                         Developed for the
  11. |               National Computer Graphics Association
  12. |                        2722 Merrilee Drive
  13. |                         Fairfax, VA  22031
  14. |                           (703) 698-9600
  15. |
  16. |                                 by
  17. |                SimGraphics Engineering Corporation
  18. |                   1137 Huntington Drive, Suite A
  19. |                      South Pasadena, CA  91030
  20. |                           (213) 255-0900
  21. |---------------------------------------------------------------------
  22. |
  23. | Author    :    SimGraphics Engineering Corporation
  24. | File          :    depthcue.v01
  25. | Date          :    Tue Jul 10 16:43:18 PDT 1990
  26. | Project       :    Picture Level Benchmark
  27. | Description    :    See depthcue.doc
  28. | Status    :    Version 1.02
  29. | Revisions     :    1.01: NONE
  30. |
  31. |            1.02:
  32. |            File depthcue.v02 has been replaced with file
  33. |            depthcue.d01
  34. |            DAC: Added NURB surface and single buffer
  35. |            for better visual resolution for <24 plane
  36. |            double buffered systems.
  37. |
  38. \*--------------------------------------------------------------------*/
  39. %
  40.  
  41.     Configuration rgb single_buffer true_color  ; 
  42.  
  43.     Read_geometry_file "depthcue.d01";
  44.     Specify_report_file "depthcue.r02";
  45.     Default_view_specification  1  500 perspective;
  46.     Active_view  1  ; 
  47.  
  48.  
  49.     Line_color  0  0  0;
  50.         Background_color    0.100000  0.100000  0.300000 ;
  51.         Define_depthcue 1 Enable 
  52.     {
  53.          0.500000  0.040000
  54.              1         0
  55.              0.100000  0.100000  0.300000 
  56.     } ;
  57.     Depthcue_index  1 ;
  58.     
  59.     Interior_color  1  1  1 ;
  60.     Backface_interior_color  1  1  1 ;
  61.     Interior_lighting  0 ;
  62.     Backface_processing  0  0 ;    
  63.  
  64.     Interior_style solid ;
  65.     Edge_flag enable ;
  66.     Edge_color  1  0  0 ;
  67.  
  68.     Surface_approximation_criteria 1 1.00000 1.00000 ;
  69.  
  70.     Identity3  1  ; 
  71.     Apply_to_global3  1  ; 
  72.     Scale3  0  100  100  1 Replace  ; 
  73.     Translate3  0  -350   390  0 Postconcat  ;     
  74.     Translate3  1  30  -100  -60 Replace  ;     
  75.     Translate3  2  30   100  -60 Replace  ;     
  76.     Translate3  3  330     0  -60 Replace  ;     
  77.  
  78.  
  79.     Begin_test  1  ; 
  80.     Text_prec Stroke ;
  81.     Char_exp  1 ;
  82.     Text_color  1  1  1 ;
  83.     char_height  30 ;
  84.  
  85.     Text3  -450  -450  0 "Depthcue Test: perspective";
  86.     Text3  -450  -495  0 "depthcue.v02";
  87.     Text_prec Stroke ;
  88.     Char_exp  0.166000 ;
  89.     char_height  0.800000 ;
  90.     Text_color  1  0  0 ;
  91.  
  92.         HLHS_Removal hlhs_enable ;
  93.         Call_structure  1 ;
  94.         HLHS_Removal hlhs_enable ;
  95.         Concat_matrix3  1  0 postconcat  ;         
  96.         Call_structure  2 ;
  97.         HLHS_Removal hlhs_enable ;
  98.         Concat_matrix3  1  0 postconcat  ;         
  99.         Call_structure  3 ;
  100.         HLHS_Removal hlhs_enable ;
  101.         Concat_matrix3  1  0 postconcat  ;         
  102.         Call_structure  4 ;
  103.         HLHS_Removal hlhs_enable ;
  104.         Concat_matrix3  1  0 postconcat  ;         
  105.         Call_structure  5 ;
  106.         HLHS_Removal hlhs_enable ;
  107.         Concat_matrix3  1  0 postconcat  ;         
  108.         Call_structure  6 ;
  109.         HLHS_Removal hlhs_enable ;
  110.         Concat_matrix3  1  0 postconcat  ;         
  111.         Call_structure  7 ;
  112.         HLHS_Removal hlhs_enable ;
  113.         Concat_matrix3  1  0 postconcat  ;         
  114.         Call_structure  8 ;
  115.         HLHS_Removal hlhs_enable ;
  116.  
  117.         Concat_matrix3  3  0 postconcat  ;         
  118.     
  119.         HLHS_Removal hlhs_disable ;
  120.         Call_structure  1 ;
  121.         HLHS_Removal hlhs_disable ;
  122.         Concat_matrix3  2  0 postconcat  ;         
  123.         Call_structure  2 ;
  124.         HLHS_Removal hlhs_disable ;
  125.         Concat_matrix3  2  0 postconcat  ;         
  126.         Call_structure  3 ;
  127.         HLHS_Removal hlhs_disable ;
  128.         Concat_matrix3  2  0 postconcat  ;         
  129.         Call_structure  4 ;
  130.         HLHS_Removal hlhs_disable ;
  131.         Concat_matrix3  2  0 postconcat  ;         
  132.         Call_structure  5 ;
  133.         HLHS_Removal hlhs_disable ;
  134.         Concat_matrix3  2  0 postconcat  ;         
  135.         Call_structure  6 ;
  136.         HLHS_Removal hlhs_disable ;
  137.         Concat_matrix3  2  0 postconcat  ;         
  138.         Call_structure  7 ;
  139.         HLHS_Removal hlhs_disable ;
  140.         Concat_matrix3  2  0 postconcat  ;         
  141.         Call_structure  8 ;
  142.  
  143. End_test  ; 
  144. Sleep 5 ;
  145.