home *** CD-ROM | disk | FTP | other *** search
- NAME: depthcue
-
- CELL CONTENTS:
- Each facet is constructed in the z=0 plane to the dimensions
- shown below. HLHS_Removal is enabled when this cell is drawn
- in the first column (see CELL LAYOUT), and disabled when this
- cell is drawn in the second column. HLHS_Removal is then
- disabled and the line and text information is also constructed
- in the z=0 plane. This should cause them to be drawn on top
- of the facet with no z-buffer bleeding. This cell is then
- scaled and translated into the correct position as described
- in CELL LAYOUT.
-
- HLHS_Removal hlhs_disable ;
-
- -0.75x (begining of text and text3)
- |
- |
- ____________________________ ____ +1 y (top of facet)
- |\ /|
- | \ / | ____ +0.9y (top of text3)
- | \ / |
- | \ / |
- | \ / |
- | This is a text3 | ____ +0.1y (bottom of text3)
- | \ / |
- | / \ | ____ -0.1y (top of text)
- | / \ |
- | / \ |
- | / \ |
- | / \ |
- | / This is a text \ | ____ -0.9y (bottom of text)
- |/_________________________\| ____ -1 y (bottom of facet)
-
- | |
- | |
- -1 x +1 x
-
-
- CELL LAYOUT:
- Cells are arranged on the screen in two diagonal columns. Each
- column consists of 7 rows. The primitive used to construct the
- facet for each cell is listed below. The cells in column 1
- should appear to be depthcued correctly while the cells in
- column 2 should appear to be depthcued backwards (this is because
- HLHS_Removal is always disabled for this column. Note that
- perspective will also look funny for this column for the same
- reason. The cell in Column 1 Row 1 is the nearest. The cell
- in Column 2 Row 1 is the most distant.).
-
-
- Column 1 Column 2
-
- ________ ________
- | | | |
- | | | |
- | |__ ___| | : Row 1
- |_______| | | |_______|
- | | | |
- | |__ ___| | : Row 2
- |_______| | | |_______|
- | | | |
- | |__ ___| | : Row 3
- |_______| | | |_______|
- | | | |
- | |__ ___| | : Row 4
- |_______| | | |_______|
- | | | |
- | |__ ___| | : Row 5
- |_______| | | |_______|
- | | | |
- | |__ ___| | : Row 6
- |_______| | | |_______|
- | | | |
- | | | | : Row 7
- |_______| |_______|
-
-
- Column 1 row 1: uses "Polygon" as the facets z = 0.
- Column 1 row 2: uses "Polygon3" as the facets z = -50.
- Column 1 row 3: uses "Fill_area_set" as the facets z = -100.
- Column 1 row 4: uses "Fill_area_set3" as the facets z = -150.
- Column 1 row 5: uses "Triangle3" as the facets z = -200.
- Column 1 row 6: uses "Quad_mesh3" as the facets z = -250.
- Column 1 row 7: uses "Index_polygon3" as the facets z = -300.
-
- Column 1 row 7: uses "Polygon" as the facets z = -350.
- Column 1 row 6: uses "Polygon3" as the facets z = -400.
- Column 1 row 5: uses "Fill_area_set" as the facets z = -450.
- Column 1 row 4: uses "Fill_area_set3" as the facets z = -500.
- Column 1 row 3: uses "Triangle3" as the facets z = -550.
- Column 1 row 2: uses "Quad_mesh3" as the facets z = -600.
- Column 1 row 1: uses "Index_polygon3" as the facets z = -650.
-
- CONSTANTS:
- Background_color .1 .1 .3
- Interior_style solid
- Interior_color 1 1 1
- Backface_interior_color 1 1 1
- Interior_lighting 0
- Backface_processing 0 0
- Edge_flag enable
- Edge_color 1 0 0
- Define_depthcue
- 1 Enable
- {
- 0.5 0.825
- 1 0
- .1 .1 .3
- }
- Depthcue_index 1
-
- Text_prec Stroke
- Char_exp 0.166
- Text_color 1 0 0
- Line_color 0 0 0
- char_height .80
-
- PER FILE VARIABLES:
- Default_view_specification parallel/perspective
-
- RANDOM VARIABLES:
- NONE
-
- COLUMN VARIABLES:
- Column
- 1 2
- Variable: ____ ____
- HLHS_Removal hlhs_enable hlhs_disable
-
- ROW VARIABLES:
- NONE
-
- ROW/COLUMN VARYING VARIABLES:
- NONE
-
- COMMENTS ON PHOTOGRAPHS:
-
- * Depthcue is malfunctioning in the photographs.
- Column 1 Row 1 should have a white facet, black
- lines, and red text. This should fade toward the
- background color until Column 2 Row 1 is all in
- the background color and cannot be seen.
-
- * Text is not being displayed. See CELL CONTENTS for a
- description of the text.
-
- * The text size (for the text at toe bottom of the screen )
- was reduced from the size on the photograph. Additional
- information has been added to that text.
-