%
/*--------------------------------------------------------------------*\
|
|   Copyright (c)1989,1990 National Computer Graphics Association
|
|       Permission is granted to any individual or instititution 
|  to use, copy, or redistribute this software so long as it is not
|    sold for profit, provided this copyright notice is retained.
|
|                         Developed for the
|               National Computer Graphics Association
|                        2722 Merrilee Drive
|                         Fairfax, VA  22031
|                           (703) 698-9600
|
|                                 by
|                SimGraphics Engineering Corporation
|                   1137 Huntington Drive, Suite A
|                      South Pasadena, CA  91030
|                           (213) 255-0900
|---------------------------------------------------------------------
|
| Author	:	SimGraphics Engineering Corporation
| File          :	depthcue.v01
| Date          :	Tue Jul 10 16:43:18 PDT 1990
| Project       :	Picture Level Benchmark
| Description	:	See depthcue.doc
| Status	:	Version 1.02
| Revisions     :	1.01: NONE
|
|			1.02:
|			File depthcue.v02 has been replaced with file
|			depthcue.d01
|			DAC: Added NURB surface and single buffer
|			for better visual resolution for <24 plane
|			double buffered systems.
|
\*--------------------------------------------------------------------*/
%

    Configuration rgb single_buffer true_color  ; 

    Read_geometry_file "depthcue.d01";
    Specify_report_file "depthcue.r02";
    Default_view_specification  1  500 perspective;
    Active_view  1  ; 


	Line_color  0  0  0;
    	Background_color    0.100000  0.100000  0.300000 ;
    	Define_depthcue 1 Enable 
	{
		 0.500000  0.040000
    		 1         0
    		 0.100000  0.100000  0.300000 
	} ;
	Depthcue_index  1 ;
	
	Interior_color  1  1  1 ;
	Backface_interior_color  1  1  1 ;
	Interior_lighting  0 ;
	Backface_processing  0  0 ;	

	Interior_style solid ;
	Edge_flag enable ;
	Edge_color  1  0  0 ;

	Surface_approximation_criteria 1 1.00000 1.00000 ;

    Identity3  1  ; 
    Apply_to_global3  1  ; 
    Scale3  0  100  100  1 Replace  ; 
    Translate3  0  -350   390  0 Postconcat  ; 	
    Translate3  1  30  -100  -60 Replace  ; 	
    Translate3  2  30   100  -60 Replace  ; 	
    Translate3  3  330     0  -60 Replace  ; 	


    Begin_test  1  ; 
	Text_prec Stroke ;
	Char_exp  1 ;
	Text_color  1  1  1 ;
	char_height  30 ;

	Text3  -450  -450  0 "Depthcue Test: perspective";
	Text3  -450  -495  0 "depthcue.v02";
	Text_prec Stroke ;
	Char_exp  0.166000 ;
	char_height  0.800000 ;
	Text_color  1  0  0 ;

        HLHS_Removal hlhs_enable ;
        Call_structure  1 ;
        HLHS_Removal hlhs_enable ;
        Concat_matrix3  1  0 postconcat  ; 		
        Call_structure  2 ;
        HLHS_Removal hlhs_enable ;
        Concat_matrix3  1  0 postconcat  ; 		
        Call_structure  3 ;
        HLHS_Removal hlhs_enable ;
        Concat_matrix3  1  0 postconcat  ; 		
        Call_structure  4 ;
        HLHS_Removal hlhs_enable ;
        Concat_matrix3  1  0 postconcat  ; 		
        Call_structure  5 ;
        HLHS_Removal hlhs_enable ;
        Concat_matrix3  1  0 postconcat  ; 		
        Call_structure  6 ;
        HLHS_Removal hlhs_enable ;
        Concat_matrix3  1  0 postconcat  ; 		
        Call_structure  7 ;
        HLHS_Removal hlhs_enable ;
        Concat_matrix3  1  0 postconcat  ; 		
        Call_structure  8 ;
        HLHS_Removal hlhs_enable ;

        Concat_matrix3  3  0 postconcat  ; 		
    
        HLHS_Removal hlhs_disable ;
        Call_structure  1 ;
        HLHS_Removal hlhs_disable ;
        Concat_matrix3  2  0 postconcat  ; 		
        Call_structure  2 ;
        HLHS_Removal hlhs_disable ;
        Concat_matrix3  2  0 postconcat  ; 		
        Call_structure  3 ;
        HLHS_Removal hlhs_disable ;
        Concat_matrix3  2  0 postconcat  ; 		
        Call_structure  4 ;
        HLHS_Removal hlhs_disable ;
        Concat_matrix3  2  0 postconcat  ; 		
        Call_structure  5 ;
        HLHS_Removal hlhs_disable ;
        Concat_matrix3  2  0 postconcat  ; 		
        Call_structure  6 ;
        HLHS_Removal hlhs_disable ;
        Concat_matrix3  2  0 postconcat  ; 		
        Call_structure  7 ;
        HLHS_Removal hlhs_disable ;
        Concat_matrix3  2  0 postconcat  ; 		
        Call_structure  8 ;

End_test  ; 
Sleep 5 ;
