home *** CD-ROM | disk | FTP | other *** search
- %
- /*--------------------------------------------------------------------*\
- |
- | 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.v08
- | 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 pseudo_color;
- Read_geometry_file "backface.d05";
- Specify_report_file "backface.r08";
- 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 ;
-
-
- Define_color
- 8 1 0 0 % Red %
- 9 0 1 0 % Greeen %
- 10 0 0 1 % Blue %
- 11 1 1 0 % Yellow %
- 12 0 1 1 % Cyan %
- 13 1 0 1 % Majenta %
- 14 1 1 1 % White %
- 15 0 0 0 % Black %
- 16 0.300000 0.300000 0.800000
- 17 1 0.800000 0.600000
-
- 20 0.000000 0.000000 1.000000 21 0.250000 0.000000 0.750000
- 22 0.500000 0.000000 0.500000 23 0.750000 0.000000 0.250000
- 24 1.000000 0.000000 0.000000
-
- 25 1.000000 1.000000 0.000000 26 0.750000 1.000000 0.250000
- 27 0.500000 1.000000 0.500000 28 0.250000 1.000000 0.750000
- 29 0.000000 1.000000 1.000000
- ;
- Text_color_index 14;
- Background_color_index 16 ;
- Edge_color_index 17 ;
-
- 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: POLY3 pseudo perspective";
- Text3 -450 -495 0 "backface.v08";
-
- % *********************************************************************** %
- % Row 1 Column 1 %
- % *********************************************************************** %
- HLHS_Removal hlhs_disable;
-
- Interior_color_index 20;
- Backface_interior_color_index 25;
- Backface_processing 0 0;
-
- Apply_to_global3 0 ;
- Execute_structure 20 ;
-
-
- % *********************************************************************** %
- % Row 1 Column 2 %
- % *********************************************************************** %
- HLHS_Removal hlhs_enable;
-
- Interior_color_index 20;
- Backface_interior_color_index 25;
- 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_index 20;
- Backface_interior_color_index 25;
- 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_index 20;
- Backface_interior_color_index 25;
- 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_index 20;
- Backface_interior_color_index 25;
- 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_index 20;
- Backface_interior_color_index 25;
- 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_index 21;
- Backface_interior_color_index 26;
- 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_index 21;
- Backface_interior_color_index 26;
- 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_index 21;
- Backface_interior_color_index 26;
- 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_index 21;
- Backface_interior_color_index 26;
- 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_index 21;
- Backface_interior_color_index 26;
- 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_index 21;
- Backface_interior_color_index 26;
- 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_index 22;
- Backface_interior_color_index 27;
- 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_index 22;
- Backface_interior_color_index 27;
- 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_index 22;
- Backface_interior_color_index 27;
- 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_index 22;
- Backface_interior_color_index 27;
- 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_index 22;
- Backface_interior_color_index 27;
- 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_index 22;
- Backface_interior_color_index 27;
- 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_index 23;
- Backface_interior_color_index 28;
- 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_index 23;
- Backface_interior_color_index 28;
- 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_index 23;
- Backface_interior_color_index 28;
- 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_index 23;
- Backface_interior_color_index 28;
- 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_index 23;
- Backface_interior_color_index 28;
- 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_index 23;
- Backface_interior_color_index 28;
- 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_index 24;
- Backface_interior_color_index 29;
- 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_index 24;
- Backface_interior_color_index 29;
- 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_index 24;
- Backface_interior_color_index 29;
- 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_index 24;
- Backface_interior_color_index 29;
- 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_index 24;
- Backface_interior_color_index 29;
- 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_index 24;
- Backface_interior_color_index 29;
- Backface_processing 1 2;
-
- Concat_matrix3 1 0 postconcat ; % Move over one column %
- Apply_to_global3 0 ;
- Call_structure 20 ;
-
- End_test ;
- Sleep 5 ;
-