% /*--------------------------------------------------------------------*\ | | 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.v30 | Date : Thu Sep 27 17:23:13 MDT 1990 | Project : Picture Level Benchmark | Description : See backface.doc | Status : Version 1.00 | Revisions : Rev 1.00 by HP/DAC | \*--------------------------------------------------------------------*/ % Configuration rgb double_buffer true_color; Read_geometry_file "backface.d29"; Specify_report_file "backface.r30"; 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 ; Surface_approximation_criteria 1 1.00000 1.00000 ; 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: NURB true perspective"; Text3 -450 -495 0 "backface.v30"; % *********************************************************************** % % 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 ;