Table 6.54 — DRM_Directional_Light_Behaviour

Property

Description

Class

  • <DRM Directional Light Behaviour>

Superclass

Subclass

Definition

An instance of this DRM class specifies a directional light having a direction and lobe shape defined by a <DRM Lobe Data> component L. The lobe shape parameters are used by subclasses to specify shapes such as cones and pyramids.

The location of the light is specified by the <DRM Location> component. The direction at which the light is pointed is specified by the <DRM Reference Vector> component of L that has a vector_type field value of LIGHT_DIRECTION. The up axis of the light is specified by the <DRM Reference Vector> component of L that has a vector_type field value of VERTICAL_AXIS. The VERTICAL_AXIS vector specifies the rotational orientation of the light around the LIGHT_DIRECTION vector. These provide the necessary information to position the light in the currently applicable SRF, orient the light with respect to its VERTICAL_AXIS vector, and identify the direction in which the light is pointing. The lobe shape is centred horizontally and vertically around the LIGHT_DIRECTION vector, with origin at the location specified by the <DRM Location> component.

Directional lights can have both a primary and a secondary colour. These are specified by the <DRM Colour> components of the parent <DRM Geometry Representation> instance that have colour_mapping values of PRIMARY_LIGHT_RENDERING_BEHAVIOUR and SECONDARY_LIGHT_RENDERING_BEHAVIOUR, respectively.

Class diagram

Figure 6.63 — DRM_Directional_Light_Behaviour

Inherited field elements

Field name

Range

Field data type

None

   

Field elements

Field name

Range

Field data type

None

   

Default field values

Default field values for DRM_Directional_Light_Behaviour

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)

Component of (two-way)

  • None.

Constraints

Clarifications

1The <DRM Lobe Data> component specifies the lobe shape.

Example(s)

  • See concrete subclasses for examples.