Contained Within
Find More Documentation
Featured Support Resources
| PDF로 이 문서 다운로드
Transparency Test Descriptions
31
- This chapter describes the Transparency test programs. The following is defined for each test program:
-
- Name of the test program
- Test types (See the section "Denizen Test Types" on page 2 for the different test types.)
- Description of the test program
- Attributes tested by the program
- Operators tested by the program
- Output from the test program
· transp_blend_eq_mspg
-
| Test Types: | RGB, CM |
| Description: | For-loop four different transparency blending equations. For each blending equation, set surface transparency method to blended, and draw opaque and transparent multi simple polygons. |
- Attributes Tested: XGL_3D_CTX_SURF_TRANSP_METHOD
-
-
XGL_3D_CTX_SURF_TRANSP_BLEND_EQ
XGL_3D_CTX_SURF_FRONT_TRANSP
Operators Tested: xgl_object_set
xgl_multi_simple_polygon
-
| Output:· transp_blend_eq_mspg_draw_unblended | Two green solid rectangles partially covering two blue solid rectangles in the top left portion of the canvas. Two dark green transparent rectangles on top of two blue solid rectangles with different darkness of green in the top right, bottom left, and bottom right portions of the canvas. |
| Test Types: | RGB, CM |
| Description: | Sets HLHSR and to draw unblended. For-loop four different transparency blending equations. For each blending equation, set surface transparency method to blended, and draw opaque and transparent multi simple polygons. |
- Attributes Tested: XGL_3D_CTX_BLEND_DRAW_MODE
-
-
XGL_3D_CTX_SURF_TRANSP_METHOD
XGL_3D_CTX_SURF_TRANSP_BLEND_EQ
Operators Tested: xgl_object_set
xgl_multi_simple_polygon
Output: Two green solid rectangles partially covering two blue
- solid rectangles in the top left portion of the canvas. Two blue solid rectangles in the top right, bottom left and bottom right portions of the canvas.
· transp_blended_hollow_mspg
-
| Test Types: | RGB, CM |
| Description: | Sets HLHSR, hollow surface fill style, blended transparency method, and arbitrary background blending equation. Draws unblended opaque and transparent multi simple polygons. Draws blended opaque and transparent multi simple polygons. Draw all polygons. |
- Attributes Tested: XGL_CTX_SURF_FRONT_FILL_STYLE
-
-
XGL_3D_CTX_SURF_TRANSP_METHOD
XGL_3D_CTX_SURF_TRANSP_BLEND_EQ
XGL_3D_CTX_BLEND_DRAW_MODE
XGL_3D_CTX_SURF_FRONT_TRANSP
Operators Tested: xgl_object_set
xgl_multi_simple_polygon
-
| Output:· transp_blended_mspg | Two blue hollow rectangles in the top left portion of the canvas, two green hollow rectangles in the top right, and two blue rectangles and two green rectangles in the bottom left portion of the canvas. The bottom right is blank. |
| Test Types: | RGB, CM |
| Description: | Sets blended transparency method and arbitary background blending equation. Draws unblended opaque and transparent multi simple polygons. Draws blended opaque and transparent multi simple polygons. Sets edge flag. Draws unblended and blended opaque and transparent multi simple polygons. |
- Attributes Tested: XGL_3D_CTX_SURF_TRANSP_METHOD
-
-
XGL_3D_CTX_SURF_TRANSP_BLEND_EQ
XGL_3D_CTX_BLEND_DRAW_MODE
XGL_3D_CTX_SURF_FRONT_TRANSP
XGL_CTX_SURF_EDGE_FLAG
Operators Tested: xgl_object_set
xgl_multi_simple_polygon
Output: Two blue solid rectangles in the top left portion of the
- canvas, and in the bottom left portion of the canvas. Two dark green rectangles in the top right and two hollow (edges) rectangles and two dark green rectangles with edges in the bottom right portion of the canvas.
· transp_screen_door_circle
-
| Test Types: | RGB, CM |
| Description: | Sets screen door transparency. Draws unblended and blended opaque and transparent circles. Sets edge flag. Draws unblended and blended opaque and transparent circles. |
- Attributes Tested: XGL_3D_CTX_SURF_TRANSP_METHOD
-
-
XGL_3D_CTX_BLEND_DRAW_MODE
XGL_3D_CTX_SURF_FRONT_TRANSP
XGL_CTX_SURF_EDGE_FLAG
- Operators Tested: xgl_object_set
-
-
xgl_multicircle
Output: Two green transparent circles partially covering two blue
- solid circles in the top left and top right portions of the canvas. Two green transparent circles with edges on partially covering two blue solid circles with edges in the bottom left and bottom right portions of the canvas.
· transp_screen_door_mspg
-
| Test Types: | RGB, CM |
| Description: | Sets screen door transparency. Draws unblended and blended opaque and transparent multi simple polygons. Sets edge flag. Draws unblended and blended opaque and transparent multi simple polygons. |
- Attributes Tested: XGL_3D_CTX_SURF_TRANSP_METHOD
-
-
XGL_3D_CTX_BLEND_DRAW_MODE
XGL_3D_CTX_SURF_FRONT_TRANSP
XGL_CTX_SURF_EDGE_FLAG
Operators Tested: xgl_object_set
xgl_multi_simple_polygon
Output: A green transparent rectangle partially covering a blue
- solid rectangle in the top left and top right portions of the canvas. A green transparent rectangle with edges on partially on top of a blue solid rectangle with edges in the bottom left and bottom right portions of the canvas.
· transp_screen_door_pg
-
| Test Types: | RGB, CM |
| Description: | Sets screen door transparency. Draws unblended and blended opaque and transparent polygons. Sets edge flag. Draws unblended and blended opaque and transparent polygons. |
- Attributes Tested: XGL_3D_CTX_SURF_TRANSP_METHOD
-
-
XGL_3D_CTX_BLEND_DRAW_MODE
XGL_3D_CTX_SURF_FRONT_TRANSP
XGL_CTX_SURF_EDGE_FLAG
Operators Tested: xgl_object_set
xgl_polygon
-
| Output:· transp_screen_door_qm | Two green transparent rectangles partially on top of two blue solid rectangles in the top left and top right portions of the canvas. Two green transparent rectangles with edges on partially on top of two blue solid rectangles with edges in the bottom left and bottom right portions of the canvas. |
| Test Types: | RGB, CM |
| Description: | Sets screen door transparency. Draws unblended and blended opaque and transparent quadmeshes. Sets edge flag. Draws unblended and blended opaque and transparent quadmeshes. |
- Attributes Tested: XGL_3D_CTX_SURF_TRANSP_METHOD
-
-
XGL_3D_CTX_BLEND_DRAW_MODE
XGL_3D_CTX_SURF_FRONT_TRANSP
XGL_CTX_SURF_EDGE_FLAG
Operators Tested: xgl_object_set
xgl_quadrilateral_mesh
Output: Two green transparent quadmeshes partially on top of two
- red solid quadmeshes in the top left and top right portions of the canvas. Two green transparent quadmeshes with edges on partially on top of two red solid quadmeshes with edges in the bottom left and bottom right portions of the canvas.
· transp_screen_door_rect
-
| Test Types: | RGB, CM |
| Description: | Sets screen door transparency. Draws unblended and blended opaque and transparent rectangles. Sets edge flag. Draws unblended and blended opaque and transparent rectangles. |
- Attributes Tested: XGL_3D_CTX_SURF_TRANSP_METHOD
-
-
XGL_3D_CTX_BLEND_DRAW_MODE
XGL_3D_CTX_SURF_FRONT_TRANSP
XGL_CTX_SURF_EDGE_FLAG
Operators Tested: xgl_object_set
xgl_multirectangle
-
| Output:· transp_screen_door_tl | Two green transparent rectangles partially on top of two blue solid rectangles in the top left and top right portions of the canvas. Two green transparent rectangles with edges on partially on top of two blue solid rectangles with edges in the bottom left and bottom right portions of the canvas. |
| Test Types: | RGB, CM |
| Description: | Sets screen door transparency. Draws unblended and blended opaque and transparent triangle lists. Sets edge flag. Draws unblended and blended opaque and transparent triangle lists. |
- Attributes Tested: XGL_3D_CTX_SURF_TRANSP_METHOD
-
-
XGL_3D_CTX_BLEND_DRAW_MODE
XGL_3D_CTX_SURF_FRONT_TRANSP
XGL_CTX_SURF_EDGE_FLAG
Operators Tested: xgl_object_set
xgl_triangle_list
Output: A green transparent rhombus partially on top of a red
- solid rhombus in the top left and top right portions of the canvas. A green transparent rhombus with triangle edges on partially on top of a red solid rhombus with triangle edges in the bottom left and bottom right portions of the canvas.
· transp_screen_door_ts
-
| Test Types: | RGB, CM |
| Description: | Sets screen door transparency. Draws unblended and blended opaque and transparent triangle strip. Sets edge flag. Draws unblended and blended opaque and transparent triangle strip. |
- Attributes Tested: XGL_3D_CTX_SURF_TRANSP_METHOD
-
-
XGL_3D_CTX_BLEND_DRAW_MODE
XGL_3D_CTX_SURF_FRONT_TRANSP
XGL_CTX_SURF_EDGE_FLAG
Operators Tested: xgl_object_set
xgl_triangle_strip
-
| Output:· transp_screen_door_values_mspg | A green transparent triangle partially on top of a red solid triangle in the top left and top right portions of the canvas. A green transparent triangle with edges on partially on top of a red solid triangle with edges in the bottom left and bottom right portions of the canvas. |
| Test Types: | RGB, CM |
| Description: | Sets screen door transparency. Draws four opaque polygons. Draws 16 transparent polygons with varying degrees of transparency on top of the opaque polygons. |
- Attributes Tested: XGL_3D_CTX_SURF_TRANSP_METHOD,
-
-
XGL_3D_CTX_SURF_FRONT_TRANSP
Operators Tested: xgl_object_set
xgl_multi_simple_polygon
Output: Sixteen green polygons with varying degree of
- transparency on top of four blue solid polygons.
|
|