% /*--------------------------------------------------------------------*\ | | Copyright (c)1989,1990,1991 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 : backface.v26 | Date : Tue Jul 10 16:43:18 PDT 1990 | Project : Picture Level Benchmark | Description : See backface.doc | Status : Version 1.02 | Revisions : 1.01: Apply_to_global3 removed from data file | and moved to inside test loop. This eased | problems for PHIGS ports. | | 1.02: | Files backface.d02 backface.d03 backface.d04 | have been replaced with file backface.d01 | | Files backface.d06 backface.d07 backface.d08 | have been replaced with file backface.d05 | | Files backface.d10 backface.d11 backface.d12 | have been replaced with file backface.d09 | | Files backface.d14 backface.d15 backface.d16 | have been replaced with file backface.d13 | | Files backface.d18 backface.d19 backface.d20 | have been replaced with file backface.d17 | | Files backface.d22 backface.d23 backface.d24 | have been replaced with file backface.d21 | | Files backface.d26 backface.d27 backface.d28 | have been replaced with file backface.d2r5 | \*--------------------------------------------------------------------*/ % Configuration rgb double_buffer true_color; Read_geometry_file "backface.d25"; Specify_report_file "backface.r26"; Default_view_specification 1 500 perspective; Active_view 1 ; % *********************************************************************** % % Set up static attributes % % *********************************************************************** % Text_prec Stroke ; Char_exp 1 ; char_height 30 ; Interior_style solid ; Edge_flag enable ; Edge_type 0 ; Edge_width 1 ; Interior_shading 1 ; Interior_lighting 1 ; Background_color 0.300000 0.300000 0.800000 ; Edge_color 1 0.800000 0.600000 ; Text_color 1 1 1 ; Identity3 0 ; Identity3 1 ; Apply_to_global3 1 ; Identity3 2 ; % Set Initial position % Translate3 0 -416.660004 416.660004 0 Postconcat ; % Set Column offset % Translate3 1 166.660004 0 0 Postconcat ; % Set Row offset % Translate3 2 0 -166.660004 0 Postconcat ; % Push Initial position % Push_matrix3 ; % *********************************************************************** % % % % % % Begin Test Loop % % % % *********************************************************************** % Begin_test 1 ; Text3 -450 -450 0 "Backface Test: IPOLY true perspective"; Text3 -450 -495 0 "backface.v26"; % *********************************************************************** % % Row 1 Column 1 % % *********************************************************************** % HLHS_Removal hlhs_disable; Interior_color 0.000000 0.000000 1.000000; Backface_interior_color 1.000000 1.000000 0.000000; Backface_processing 0 0; Apply_to_global3 0 ; Execute_structure 20 ; % *********************************************************************** % % Row 1 Column 2 % % *********************************************************************** % HLHS_Removal hlhs_enable; Interior_color 0.000000 0.000000 1.000000; Backface_interior_color 1.000000 1.000000 0.000000; Backface_processing 0 1; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Call_structure 20 ; % *********************************************************************** % % Row 1 Column 3 % % *********************************************************************** % HLHS_Removal hlhs_disable; Interior_color 0.000000 0.000000 1.000000; Backface_interior_color 1.000000 1.000000 0.000000; Backface_processing 0 2; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Execute_structure 20 ; % *********************************************************************** % % Row 1 Column 4 % % *********************************************************************** % HLHS_Removal hlhs_enable; Interior_color 0.000000 0.000000 1.000000; Backface_interior_color 1.000000 1.000000 0.000000; Backface_processing 1 0; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Call_structure 20 ; % *********************************************************************** % % Row 1 Column 5 % % *********************************************************************** % HLHS_Removal hlhs_disable; Interior_color 0.000000 0.000000 1.000000; Backface_interior_color 1.000000 1.000000 0.000000; Backface_processing 1 1; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Execute_structure 20 ; % *********************************************************************** % % Row 1 Column 6 % % *********************************************************************** % HLHS_Removal hlhs_enable; Interior_color 0.000000 0.000000 1.000000; Backface_interior_color 1.000000 1.000000 0.000000; Backface_processing 1 2; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Call_structure 20 ; % *********************************************************************** % % Row 2 Column 1 % % *********************************************************************** % HLHS_Removal hlhs_disable; Interior_color 0.250000 0.000000 0.750000; Backface_interior_color 0.750000 1.000000 0.250000; Backface_processing 0 0; Pop_matrix3 ; Concat_matrix3 2 0 postconcat ; % Move down one row % Push_matrix3 ; Apply_to_global3 0 ; Execute_structure 20 ; % *********************************************************************** % % Row 2 Column 2 % % *********************************************************************** % HLHS_Removal hlhs_enable; Interior_color 0.250000 0.000000 0.750000; Backface_interior_color 0.750000 1.000000 0.250000; Backface_processing 0 1; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Call_structure 20 ; % *********************************************************************** % % Row 2 Column 3 % % *********************************************************************** % HLHS_Removal hlhs_disable; Interior_color 0.250000 0.000000 0.750000; Backface_interior_color 0.750000 1.000000 0.250000; Backface_processing 0 2; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Execute_structure 20 ; % *********************************************************************** % % Row 2 Column 4 % % *********************************************************************** % HLHS_Removal hlhs_enable; Interior_color 0.250000 0.000000 0.750000; Backface_interior_color 0.750000 1.000000 0.250000; Backface_processing 1 0; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Call_structure 20 ; % *********************************************************************** % % Row 2 Column 5 % % *********************************************************************** % HLHS_Removal hlhs_disable; Interior_color 0.250000 0.000000 0.750000; Backface_interior_color 0.750000 1.000000 0.250000; Backface_processing 1 1; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Execute_structure 20 ; % *********************************************************************** % % Row 2 Column 6 % % *********************************************************************** % HLHS_Removal hlhs_enable; Interior_color 0.250000 0.000000 0.750000; Backface_interior_color 0.750000 1.000000 0.250000; Backface_processing 1 2; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Call_structure 20 ; % *********************************************************************** % % Row 3 Column 1 % % *********************************************************************** % HLHS_Removal hlhs_disable; Interior_color 0.500000 0.000000 0.500000; Backface_interior_color 0.500000 1.000000 0.500000; Backface_processing 0 0; Pop_matrix3 ; Concat_matrix3 2 0 postconcat ; % Move down one row % Push_matrix3 ; Apply_to_global3 0 ; Execute_structure 20 ; % *********************************************************************** % % Row 3 Column 2 % % *********************************************************************** % HLHS_Removal hlhs_enable; Interior_color 0.500000 0.000000 0.500000; Backface_interior_color 0.500000 1.000000 0.500000; Backface_processing 0 1; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Call_structure 20 ; % *********************************************************************** % % Row 3 Column 3 % % *********************************************************************** % HLHS_Removal hlhs_disable; Interior_color 0.500000 0.000000 0.500000; Backface_interior_color 0.500000 1.000000 0.500000; Backface_processing 0 2; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Execute_structure 20 ; % *********************************************************************** % % Row 3 Column 4 % % *********************************************************************** % HLHS_Removal hlhs_enable; Interior_color 0.500000 0.000000 0.500000; Backface_interior_color 0.500000 1.000000 0.500000; Backface_processing 1 0; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Call_structure 20 ; % *********************************************************************** % % Row 3 Column 5 % % *********************************************************************** % HLHS_Removal hlhs_disable; Interior_color 0.500000 0.000000 0.500000; Backface_interior_color 0.500000 1.000000 0.500000; Backface_processing 1 1; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Execute_structure 20 ; % *********************************************************************** % % Row 3 Column 6 % % *********************************************************************** % HLHS_Removal hlhs_enable; Interior_color 0.500000 0.000000 0.500000; Backface_interior_color 0.500000 1.000000 0.500000; Backface_processing 1 2; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Call_structure 20 ; % *********************************************************************** % % Row 4 Column 1 % % *********************************************************************** % HLHS_Removal hlhs_disable; Interior_color 0.750000 0.000000 0.250000; Backface_interior_color 0.250000 1.000000 0.750000; Backface_processing 0 0; Pop_matrix3 ; Concat_matrix3 2 0 postconcat ; % Move down one row % Push_matrix3 ; Apply_to_global3 0 ; Execute_structure 20 ; % *********************************************************************** % % Row 4 Column 2 % % *********************************************************************** % HLHS_Removal hlhs_enable; Interior_color 0.750000 0.000000 0.250000; Backface_interior_color 0.250000 1.000000 0.750000; Backface_processing 0 1; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Call_structure 20 ; % *********************************************************************** % % Row 4 Column 3 % % *********************************************************************** % HLHS_Removal hlhs_disable; Interior_color 0.750000 0.000000 0.250000; Backface_interior_color 0.250000 1.000000 0.750000; Backface_processing 0 2; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Execute_structure 20 ; % *********************************************************************** % % Row 4 Column 4 % % *********************************************************************** % HLHS_Removal hlhs_enable; Interior_color 0.750000 0.000000 0.250000; Backface_interior_color 0.250000 1.000000 0.750000; Backface_processing 1 0; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Call_structure 20 ; % *********************************************************************** % % Row 4 Column 5 % % *********************************************************************** % HLHS_Removal hlhs_disable; Interior_color 0.750000 0.000000 0.250000; Backface_interior_color 0.250000 1.000000 0.750000; Backface_processing 1 1; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Execute_structure 20 ; % *********************************************************************** % % Row 4 Column 6 % % *********************************************************************** % HLHS_Removal hlhs_enable; Interior_color 0.750000 0.000000 0.250000; Backface_interior_color 0.250000 1.000000 0.750000; Backface_processing 1 2; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Call_structure 20 ; % *********************************************************************** % % Row 5 Column 1 % % *********************************************************************** % HLHS_Removal hlhs_disable; Interior_color 1.000000 0.000000 0.000000; Backface_interior_color 0.000000 1.000000 1.000000; Backface_processing 0 0; Pop_matrix3 ; Concat_matrix3 2 0 postconcat ; % Move down one row % Push_matrix3 ; Apply_to_global3 0 ; Execute_structure 20 ; % *********************************************************************** % % Row 5 Column 2 % % *********************************************************************** % HLHS_Removal hlhs_enable; Interior_color 1.000000 0.000000 0.000000; Backface_interior_color 0.000000 1.000000 1.000000; Backface_processing 0 1; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Call_structure 20 ; % *********************************************************************** % % Row 5 Column 3 % % *********************************************************************** % HLHS_Removal hlhs_disable; Interior_color 1.000000 0.000000 0.000000; Backface_interior_color 0.000000 1.000000 1.000000; Backface_processing 0 2; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Execute_structure 20 ; % *********************************************************************** % % Row 5 Column 4 % % *********************************************************************** % HLHS_Removal hlhs_enable; Interior_color 1.000000 0.000000 0.000000; Backface_interior_color 0.000000 1.000000 1.000000; Backface_processing 1 0; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Call_structure 20 ; % *********************************************************************** % % Row 5 Column 5 % % *********************************************************************** % HLHS_Removal hlhs_disable; Interior_color 1.000000 0.000000 0.000000; Backface_interior_color 0.000000 1.000000 1.000000; Backface_processing 1 1; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Execute_structure 20 ; % *********************************************************************** % % Row 5 Column 6 % % *********************************************************************** % HLHS_Removal hlhs_enable; Interior_color 1.000000 0.000000 0.000000; Backface_interior_color 0.000000 1.000000 1.000000; Backface_processing 1 2; Concat_matrix3 1 0 postconcat ; % Move over one column % Apply_to_global3 0 ; Call_structure 20 ; End_test ; Sleep 5 ;