The SEDRIS Data Representation Model
APPENDIX A - Classes Image Lookup |
---|
An instance of this DRM class specifies a set of data representing the final displayed value of a texel.
The value of a texel no longer represents the colour at a point on a display; instead, a texel value is interpreted as a reference into the lookup representing the final displayed value.
In general:
The colour model used throughout the lookup. Only one colour model is allowed per texture definition.
Boolean Flag that describes the data type of the raw lookup data. Either the raw data is integer and the data max sizes are valid or the raw lookup data is floating point and the values are between 0 and 1.
If 0 specified, the lookup data does not contain alpha information
If 0 specified, the lookup data does not contain luminance information
If 0 specified, the lookup data does not contain colour information for this colour coordinate (R, C, H).
If 0 specified, the lookup data does not contain colour information for this colour coordinate (G, M, S).
If 0 specified, the lookup data does not contain colour information for this colour coordinate (B, Y, V).
If 0 specified, the lookup data does not contain bump_map_height information
If 0 specified, the lookup data does not contain material 1 index information. If non-0 is specified, then this is an index into the <Property Table> that is referenced from this image.
If 0 specified, the lookup data does not contain material 2 index information. If non-0 is specified, then this is an index into the <Property Table> that is referenced from this image.
If 0 specified, the lookup data does not contain material 3 index information. If non-0 is specified, then this is an index into the <Property Table> that is referenced from this image.
percentage of material 2 (if used)
percentage of material 3 (if used)
If 0 specified, the lookup data does not contain image_index information
If 0 specified, the lookup data does not contain bump_map_u information
If 0 specified, the lookup data does not contain bump_map_v information The following min/max values are used to specify the minimum and maximum values a component may have. For example, if the lookup components are floating point 32 bits, then a minimum value of -1.0 and a maximum value of 1.0 means that all values in an image fall within the range [-1.0, 1.0]. In another example, a lookup with unsigned integer components of 8 bits may specify its range to be [0, 99], indicating that even though the maximum value that can be specified with 8 bits is 255, the value 99 should be treated as the maximum value for this lookup.
minimum value that alpha can be within the lookup data; 0 if not used.
maximum value that alpha can be within the lookup data; 0 if not used.
minimum value that luminance can be within the lookup data; 0 if not used.
maximum value that luminance can be within the lookup data; 0 if not used.
minimum value that colour_coordinate_1 can be within the lookup data; 0 if not used.
maximum value that colour_coordinate_1 can be within the lookup data; 0 if not used.
minimum value that colour_coordinate_2 can be within the lookup data; 0 if not used.
maximum value that colour_coordinate_2 can be within the lookup data; 0 if not used.
minimum value that colour_coordinate_3 can be within the lookup data; 0 if not used.
maximum value that colour_coordinate_3 can be within the lookup data; 0 if not used.
minimum value that bump_map_height can be within the lookup data; 0 if not used.
maximum value that bump_map_height can be within the lookup data; 0 if not used.
minimum value that bump_map_u can be within the lookup data; 0 if not used.
maximum value that bump_map_u can be within the lookup data; 0 if not used.
minimum value that bump_map_v can be within the lookup data; 0 if not used.
maximum value that bump_map_v can be within the lookup data; 0 if not used.
number of elements along each axis of the lookup. All axes shall be the same size and shall be as large as the any maximum value for any component within the referencing image.
number of axes within the lookup. This number shall coincide with the lookup signature.
|