Table 6.111 — DRM_Image_Mapping_Function

Property

Description

Class

  • <DRM Image Mapping Function>

Superclass

Subclass

  • None.

Definition

An instance of this DRM class specifies how the given <DRM Image> instance is to be mapped onto a given textured object, including the mapping method, the projection, and how <DRM Texture Coordinate> instances (if present) are to be treated if they fall outside the image space bounded by the image indexes (0, 0) and (1, 1).

The image_mapping_method field specifies how to combine the referenced texture map with any <DRM Colour> instances on the textured object.

The image_wrap_s field specifies whether to clamp or repeat the given <DRM Image> instance in s.

The image_wrap_t field specifies whether to clamp or repeat the given <DRM Image> instance in t.

The image_projection_type field specifies the type of projection to be used when applying the given <DRM Image> instance to textured objects.

  1. If planar projection is specified, the following cases may apply.

    1. The DRM object may have <DRM Texture Coordinate> instances or <DRM Tack Point> instances, in which case 7.2.42 Image mapping functions and texture coordinates applies.
    2. The <DRM Image Mapping Function> instance may have a <DRM Image Anchor> component.
    3. The <DRM Image> instance may have a <DRM Image Anchor> component.
  2. If cylindrical or spherical projection is specified, the DRM object shall not have <DRM Texture Coordinate> instances or <DRM Tack Point> instances. Instead, either the <DRM Image Mapping Function> instance or its <DRM Image> instance shall have a <DRM Image Anchor> component.

The intensity_level field specifies the percent contribution of the <DRM Image Mapping Function> instance to the total effect on the textured object. For a <DRM Image> instance with a colour coordinate component specified by its signature, multiply first, second, and third colour coordinate values within the texels of the <DRM Image> instance by this value.

The value of the gain field is to be added to each colour data value from the texel data of the given <DRM Image> instance to obtain the displayed image.

The image_detail_mapping field specifies whether the <DRM Image Mapping Function> instance is used to describe mapping of a detail image on the textured object.

Class diagram

Figure 6.134 — DRM_Image_Mapping_Function

Inherited field elements

Field name

Range

Field data type

None

   

Field elements

Field name

Range

Field data type

image_mapping_method

 

Image_Mapping_Method

image_wrap_s

 

Image_Wrap

image_wrap_t

 

Image_Wrap

image_projection_type

 

Image_Projection_Type

intensity_level

[0,0, 1,0]

Long_Float

gain

 

Long_Float

image_detail_mapping

 

Boolean

Default field values

Default field values for DRM_Image_Mapping_Function

Associated to (one-way) (inherited)

  • None.

Associated to (one-way)

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

Clarifications

None.

Example(s)