The SEDRIS Data Representation Model
APPENDIX A - Classes Inline Colour |
---|
An instance of this DRM class is a <Colour> instance that is specified inline in the sense that it is completely specified as a component of the coloured object without referring to any <Colour Table> instance.
Consider a <Polygon> instance with both an <Image Mapping Function> component and an <Inline Colour> component where the colour_mapping field of the <Inline Colour> component is {Front_Image_Blend}. This indicates that the colour is to be applied to the front of the <Polygon> instance and is to be combined with the texture mapping information provided by the <Image Mapping Function> instance.
Consider a <Polygon> instance with an <Inline Colour> component where the <Inline Colour> instance has colour_mapping = { Back_Primary }. This colour is used for the back face of the <Polygon> instance.
Because a <Colour Index> instance and an <Inline Colour> instance both specify a colour_mapping field and potentially both specify <Translucency> components.
Consequently, <Primitive Colour> exists so that 'just the colour' can be specified by an entry within a <Colour Table> instance.
SE_Colour_Mapping | colour_mapping; | 2 |
---|
The colour_mapping field specifies the set of SE_Colour_Mapping members applicable to the <Colour> instance.
|