The SEDRIS Data Representation Model
APPENDIX A - Classes Translucency |
---|
An instance of this DRM class specifies the proportion of light that can pass through the given <Colour> instance, where translucency_value = 0.0 indicates that no light passes through (i.e., is fully opaque), and translucency_value = 1.0 indicates a fully transparent object.
NOTE An object's opacity is equal to 1.0 - translucency_value. Opacity is termed the alpha of the object. Alpha values can be specified for images as part of a <Image> instance.
The alpha value for an ambient, OTW colour can be represented in a transmittal as a <Inline Colour> instance with an <Ambient Colour> component and a <Translucency> component whose translucency_value field is set to 1.0 - alpha.
That depends on the <Image Mapping Function> instance's image_mapping_method. See SE_Image_Mapping_Method for a detailed description of how <Image> instance and <Colour> instance alpha values are resolved for various mapping methods.
SE_Long_Float | translucency_value; | 1 |
---|
The translucency_value field specifies the proportion of light that can pass through the given <Colour> instance. For a <Translucency> instance with a <Translucency Control Link> component, the value of the translucency_value field is obtained from that <Translucency Control Link> component.
|