home *** CD-ROM | disk | FTP | other *** search
- %
- /*--------------------------------------------------------------------*\
- |
- | 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 : text.v04
- | Date : Tue Jul 10 16:43:18 PDT 1990
- | Project : Picture Level Benchmark
- | Description : See text.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 text.d02 text.d03 text.d04
- | have been replaced with file text.d01
- |
- \*--------------------------------------------------------------------*/
- %
-
- Configuration rgb double_buffer pseudo_color;
- Read_geometry_file "text.d01";
- Specify_report_file "text.r04";
- Default_view_specification 1 500 perspective;
- Active_view 1 ;
-
- % ****************************************************************** %
- % Set up static attributes %
- % ****************************************************************** %
- Text_prec Stroke ;
- Char_exp 1 ;
- char_height 30 ;
-
- 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 ;
- Text_color_index 14 ;
- Background_color_index 16 ;
-
- % ****************************************************************** %
- % Set up matrix for position geometry on the screen %
- % ****************************************************************** %
- Identity3 1 ;
- Apply_to_global3 1 ;
- Scale3 0 100 100 1 Replace ;
- Translate3 0 -333 333 0 Postconcat ; % Set Initial position %
- Translate3 1 333 0 0 Replace ; % Set Column offset %
- Translate3 2 0 -333 0 Replace ; % Set Row offset %
- Push_matrix3 ; % Push Initial position %
-
- % *********************************************************************** %
- % %
- % %
- % Begin Test Loop %
- % %
- % *********************************************************************** %
- Begin_test 1 ;
- Text3 -450 -450 0 "Text Test: pseudo_color perspective";
- Text3 -450 -495 0 "text.v04";
- % *********************************************************************** %
- % Row 1 Column 1 %
- % *********************************************************************** %
-
- Text_color_index 8;
-
- Char_height 0.140000;
- Char_exp 1.000000;
- Char_space 0;
- Char_up_vector 0 1;
- Apply_to_global3 0 ;
- Call_structure 20 ;
- % *********************************************************************** %
- % Row 1 Column 2 %
- % *********************************************************************** %
-
- Text_color_index 9;
-
- Char_height 0.160000;
- Char_exp 1.000000;
- Char_space 0.500000;
- Char_up_vector 0 1;
- Concat_matrix3 1 0 postconcat ; % Move over one column %
- Apply_to_global3 0 ;
- Call_structure 20 ;
- % *********************************************************************** %
- % Row 1 Column 3 %
- % *********************************************************************** %
-
- Text_color_index 14;
-
- Char_height 0.180000;
- Char_exp 1.000000;
- Char_space 0;
- Char_up_vector 0 1;
- Concat_matrix3 1 0 postconcat ; % Move over one column %
- Apply_to_global3 0 ;
- Call_structure 20 ;
- % *********************************************************************** %
- % Row 2 Column 1 %
- % *********************************************************************** %
-
- Text_color_index 12;
-
- Char_height 0.200000;
- Char_exp 1.600000;
- Char_space 0;
- Char_up_vector 0.700000 0.700000;
- Pop_matrix3 ;
- Concat_matrix3 2 0 postconcat ; % Move down one row %
- Push_matrix3 ;
- Apply_to_global3 0 ;
- Call_structure 20 ;
- % *********************************************************************** %
- % Row 2 Column 2 %
- % *********************************************************************** %
-
- Text_color_index 13;
-
- Char_height 0.220000;
- Char_exp 1.800000;
- Char_space -0.500000;
- Char_up_vector 0 1;
- Concat_matrix3 1 0 postconcat ; % Move over one column %
- Apply_to_global3 0 ;
- Call_structure 20 ;
- % *********************************************************************** %
- % Row 2 Column 3 %
- % *********************************************************************** %
-
- Text_color_index 11;
-
- Char_height 0.240000;
- Char_exp 2.000000;
- Char_space 0;
- Char_up_vector -0.700000 0.700000;
- Concat_matrix3 1 0 postconcat ; % Move over one column %
- Apply_to_global3 0 ;
- Call_structure 20 ;
- End_test ;
- Sleep 5 ;
-