|
| 以 PDF 格式下載這本書
Texture Mapping Test Descriptions
29
- This chapter describes the Texture Mapping 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
· texture_mipmap
-
| Test Types: | SM, RGB |
| Description: | Tests texture mipmap creation |
- Attributes Tested: XGL_MIPMAP_TEXTURE
- Operators Tested: xgl_mipmap_texture_build
-
| Output:· texture_mipmap_1 | Checker pattern textured polygon |
| Test Types: | SM, RGB |
- Description:...Tests texture operation
- Attributes Tested: XGL_MIPMAP_TEXTURE
- Operators Tested: xgl_mipmap_texture_build
-
| Output:· texture_mipmap_2 | Checker pattern textured polygon with BOUNDARY_WRAP |
| Test Types: | SM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_MIPMAP_TEXTURE
-
-
XGL_DMAP_TEXTURE
XGL_TEXTURE_OP_*
XGL_TEXTURE_BOUNDARY_CLAMP
Operators Tested: xgl_mipmap_texture_build
xgl_object_set
Output: Checker pattern textured quadmesh with
BOUNDARY_CLAMP
· texture_mipmap_3
-
| Test Types: | SM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_MIPMAP_TEXTURE
-
-
XGL_DMAP_TEXTURE
XGL_TEXTURE_OP_*
XGL_TEXTURE_BOUNDARY_TRANSPARENT
Operators Tested: xgl_mipmap_texture_build
xgl_object_set
Output: Checker pattern textured quadmesh with
BOUNDARY_TRANSPARENT
· texture_mipmap_4
-
| Test Types: | SM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_MIPMAP_TEXTURE
-
-
XGL_DMAP_TEXTURE
XGL_TEXTURE_OP_*
XGL_TEXTURE_BOUNDARY_TRANSPARENT
XGL_TEXTURE_BOUNDARY_CLAMP
Operators Tested: xgl_mipmap_texture_build
xgl_object_set
Output: Checker pattern textured quadmesh with both
BOUNDARY_TRANSPARENT and BOUNDARY_CLAMP
· texture_mipmap_5
-
| Test Types: | CM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_TEXTURE_INTERP_MIPMAP_TRILINEAR
-
-
XGL_TEXTURE_INTERP_POINT
Operators Tested: xgl_mipmap_texture_build
xgl_object_set
Output: Textured polygon or quadmesh
· texture_mipmap_6
-
| Test Types: | CM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_RENDER_COMP_REFLECTED_COLOR
-
-
XGL_TEXTURE_OP_DECAL
Operators Tested: xgl_mipmap_texture_build
xgl_object_set
Output: Textured polygon or quadmesh
· texture_tmap_op_1
-
| Test Types: | SM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_TMAP_DESCRIPTOR
-
-
XGL_3D_CTX_SURF_FRONT_TMAP_SWITCHES
XGL_TEXTURE_OP_*
XGL_TEXTURE_BOUNDARY_WRAP
- Operators Tested: xgl_mipmap_texture_build
-
-
xgl_object_set
Output: Checker pattern textured polygon with BOUNDARY_WRAP
· texture_tmap_op_2
-
| Test Types: | SM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_TMAP_DESCRIPTOR
-
-
XGL_TEXTURE_OP_*
XGL_TEXTURE_BOUNDARY_MIRROR
Operators Tested: xgl_mipmap_texture_build
xgl_object_set
Output: Checker pattern textured quadmesh with
BOUNDARY_MIRROR
· texture_tmap_op_3
-
| Test Types: | SM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_TEXTURE_OP_*
-
-
XGL_TEXTURE_BOUNDARY_TRANSPARENT
Operators Tested: xgl_mipmap_texture_build
xgl_object_set
Output: Textured quadmesh with BOUNDARY_TRANSPARENT
· texture_tmap_op_4
-
| Test Types: | SM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_TEXTURE_OP_*
-
-
XGL_TEXTURE_BOUNDARY_CLAMP(_BOUNDARY)
Operators Tested: xgl_mipmap_texture_build
xgl_object_set
Output: Textured quadmesh with both BOUNDARY_CLAMP and
BOUNDARY_CLAMP_BOUNDARY
· texture_tmap_mipmap_filter
-
| Test Types: | SM, RGB |
| Description: | Texture sampling methods |
- Attributes Tested: XGL_TEXTURE_INTERP_*
- Operators Tested: xgl_mipmap_texture_build
-
| Output:· texture_2tmap_op_1 | Three textured triangles with different filters applied |
| Test Types: | SM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_TEXTURE_OP_*
- Operators Tested: xgl_mipmap_texture_build
-
| Output:· texture_2tmap_op_2 | Two textures mapped onto the same quadmesh in sequence |
| Test Types: | SM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_TEXTURE_INTERP_BILINEAR
-
-
XGL_TMAP_COORD_SOURCE
Operators Tested: xgl_transform_write_specific
xgl_quadrilateral_mesh
Output: Several textured spheres
· texture_tmap_light_1
-
| Test Types: | SM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_TEXTURE_OP_*
-
-
XGL_RENDER_COMP_DIFFUSE_COLOR
Operators Tested: xgl_mipmap_texture_build
xgl_object_set
Output: A lighted and textured pentagon
· texture_tmap_light_2
-
| Test Types: | SM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_TEXTURE_OP_*
-
-
XGL_RENDER_COMP_DIFFUSE_COLOR
Operators Tested: xgl_mipmap_texture_build
xgl_object_set
Output: A lighted and textured pentagon with color_normal_facet
· texture_tmap_light_3
-
| Test Types: | SM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_TEXTURE_OP_*
-
-
XGL_RENDER_COMP_REFLECTED_COLOR
Operators Tested: xgl_mipmap_texture_build
xgl_object_set
Output: A lighted and textured pentagon
· texture_tmap_light_4
-
| Test Types: | SM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_TEXTURE_OP_*
-
-
XGL_RENDER_COMP_FINAL_COLOR
Operators Tested: xgl_mipmap_texture_build
xgl_object_set
Output: A lighted and textured pentagon
· texture_tmap_light_5
-
| Test Types: | SM, RGB |
| Description: | Tests texture operation |
- Attributes Tested: XGL_TEXTURE_OP_*
-
-
XGL_RENDER_COMP_FINAL_COLOR
Operators Tested: xgl_multi_simple_polygon
xgl_polygon
Output: A lighted and textured pentagon
|
|