The SEDRIS Data Representation Model
APPENDIX C - Types
SE_Image_Wrap
|
/*
* ENUM: SE_Image_Wrap
*
* In the context of an <Image Mapping Function> that is used with
* <Texture Coordinate> instances, this data type specifies how a
* <Texture Coordinate> outside the range of [0.0, 1.0] is to be
* interpreted.
*
* Essentially, this is equivalent to whether the
* Specifies if an <Image> is to be clamped or repeated;
* indicates design or intended use of the <Image>
*/
} SE_Image_Wrap;
Enumerant Notes
Texture coordinates in the image space are clamped to the
value range [0.0, 1.0]. Negative texture coordinate values
are mapped to 0.0, while values greater than 1.0 are mapped
to 1.0.
EXAMPLES:
1. The following texture coordinates all map to
texture coordinate {0.0, 0.0}:
{-1, 0} {-5, -5} {0, -50}
2. The following texture coordinates all map to
texture coordinate {1.0, 0.0}:
{1, -1} {5, -5} {5, -50}
The image space is considered to extend to infinity;
it is repeated in a tiled manner.
Prev: SE_Image_Signature.
Next: SE_Index_Code.
Return to:
Top of this Page,
Type Index
|
Last updated: July 16, 2004
|
Copyright © 2004 SEDRIS
|
|