The SEDRIS Data Representation Model
APPENDIX A - Classes Image Library |
---|
An instance of this DRM class specifies the complete list of unique <Image> instances resident within the transmittal.
A <Image> instance in the <Image Library> instance can represent imagery intended to be texture-mapped to DRM objects in the transmittal.
Consider an <Image Library> instance with an <Image> component that depicts a tree and a <Model> instance representing a tree, where the geometry of the <Model> instance consists of a single <Union Of Primitive Geometry> instance containing a single <Polygon> component P and having a <Stamp Behaviour> component as depicted in Figure 6.24.
Here, the <Stamp Behaviour> instance allows P to be rotated at run-time so that the texture-mapped side always faces the observer.
Each <Vertex> component of P has a <Texture Coordinate> component that is used, together with the <Image Mapping Function> instance, to place the imagery on P.
A <Image> instance in the <Image Library> instance can represent imagery applied to a large number of polygons at once, where the <Polygon> instances are grouped under some <Aggregate Geometry> instance with an <Image Mapping Function> component.
In this case, the <Image Mapping Function> instance determines the placement of the imagery within the currently scoped 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:
A <Image> instance in the <Image Library> instance can represent imagery to be transmitted that is not used by any <Image Mapping Function> instance. This imagery normally has anchor points, represented by an <Image Anchor> component of the <Image> instance.
No.
Yes.
|