|
The SEDRIS Data Representation Model
APPENDIX B - Constraints Colour Mapping Restrictions |
|---|
The colour_mapping field of a <Colour> shall not be empty.
The SE_CLR_MAPNG_LGT_RENDER_BHVR_PRIMARY and SE_CLR_MAPNG_LGT_RENDER_BHVR_SECONDARY flags may only be used for objects with < Light Rendering Properties>.
The SE_CLR_MAPNG_LGT_RENDER_BHVR_PRIMARY flag may not be combined with any other SE_Colour_Mapping.
The SE_CLR_MAPNG_LGT_RENDER_BHVR_SECONDARY flag may not be combined with any other SE_Colour_Mapping.
A <Colour> specifies how it is applied to the objects that use it, so the colour_mapping shall not be empty.
The SE_CLR_MAPNG_LGT_RENDER_BHVR_PRIMARY and SE_CLR_MAPNG_LGT_RENDER_BHVR_SECONDARY flags specify the primary and secondary colours of a < Light Rendering Properties>'s < Light Rendering Behaviour>.
If a <Colour> applies to the <Light Rendering Behaviour> of an object's < Light Rendering Properties> rather than the object itself, it shall apply only to that < Light Rendering Behaviour>. In addition, the same < Colour> cannot be both the primary and the secondary colour of a <Light Rendering Behaviour>.
See the comments for <Colour>, SE_Colour_Mapping, and <Image Mapping Function> for discussions of how colour_mapping is interpreted.
|