Table 6.186 — DRM_Primitive_Colour

Property

Description

Class

  • <DRM Primitive Colour>

Superclass

Subclass

  • None.

Definition

An instance of this DRM class specifies a single colour, consisting of individual ambient, diffuse, emissive, and specular components.

The following steps determine the colour of an object illuminated by a light source X:

  1. the <DRM Ambient Colour> with the ambient component of X,
  2. the <DRM Diffuse Colour> with the diffuse component of X,
  3. the <DRM Specular Colour> with the specular component of X, and
  4. add any intensity due to the <DRM Emissive Colour> (which is not affected by X.)

Clarifications

None.

Class diagram

Figure 6.212 — DRM_Primitive_Colour

Inherited field elements

Field name

Range

Field data type

None

   

Field elements

Field name

Range

Field data type

None

   

Associated to (one-way) (inherited)

  • None.

Associated to (one-way)

  • None.

Associated by (one-way) (inherited)

  • None.

Associated by (one-way)

  • None.

Associated with (two-way) (inherited)

  • None.

Associated with (two-way)

  • None.

Composed of (two-way) (inherited)

  • None.

Composed of (two-way)

Composed of (two-way metadata) (inherited)

  • None.

Composed of (two-way metadata)

  • None.

Component of (two-way) (inherited)

  • None.

Component of (two-way)

Constraints

Example(s)