The SEDRIS Data Representation Model
APPENDIX A - Classes Image Library |
---|
An instance of this DRM class specifies the complete list of unique <Image> instances stored within the native transmittal of that <Image Library> instance.
Imagery intended to be texture-mapped to other objects in the transmittal.
For instance, consider an <Image Library> containing an <Image> of a tree, and a <Model> of a tree, where the <Model>'s geometry consists of a single <Union Of Primitive Geometry> containing a single <Polygon> and having <Stamp Behaviour>.
(In this example, <Stamp Behaviour> allows the <Polygon> to be rotated at run-time so that the texture-mapped side always faces the observer.)
Each <Vertex> of the <Polygon> in this example has a <Texture Coordinate>, which is used, together with the <Image Mapping Function>, to locate the imagery on the <Polygon>.
Imagery applied to a large number of polygons at once, where the <Polygon> instances are grouped under some <Aggregate Geometry> with an <Image Mapping Function>.
In this case, the <Image Mapping Function> determines the placement of the imagery within the currently scoped "world" SRF. The imagery is then applied to the <Polygon> instances after they have been located within the specified SRF.
This method has two common uses.
Imagery can be transmitted that is not used by any <Image Mapping Function>. This imagery normally has anchor points (see <Image Anchor>).
No. All <Image> instances referenced within a SEDRIS transmittal shall be part of an <Image Library>.
Imagery within an <Image Library> may or may not be referenced through <Image Mapping Function> instances.
|