20.1.10.50 ST_PresetMaterialType

Describes surface appearance of a shape. The material type combines with lighting characteristics to create the final look and feel of a shape. The set of material properties which can be combined together to create the presets below consist of the following characteristics:

  • Specular color – This defines the color of the highlight associated with the material.

  • Specular power – This defines the size and how intense the highlight is. Smaller values provide a larger,

  • but less intense highlight, while larger values provide a smaller, but more intense highlight.

  • Diffuse color – This defines the perceived color of the material where an object is directly illuminated by

  • a light source. Generally speaking, the default color here would be based on the shape fill color.

  • Ambient color – This defines the perceived color of the material where an object is not directly

  • illuminated by a light source. Generally speaking, the default color here would be based on the shape

  • fill color.

  • Emissive color – This defines the color of a light which is perceived to be given off by an object.

  • Diffuse Fresnel effect – This is an effect that either darkens (approaches black) or lightens (approaches

  • white) the diffuse color of the material type at glancing angles. Positive values cause the material to

  • become brighter, negative values cause the material to become darker.

  • Alpha Fresnel effect – This is an effect that either makes the material more opaque or more transparent

  • at glancing angles. Positive values cause the material to become more opaque, negative values cause

  • the material to become more transparent.

In the following examples, the exact values given for certain properties should be understood to be relative values in order to provide a reference. These values could be different depending upon technologies used to render the material types. The following properties were used to define the shape used in the image examples below:

  • Rounded rectangle shape
  • Circle bevel type
  • Three Point light rig type
  • Camera type defined by the perspectiveContrastingRightFacing preset
  • Bevel width and height each equal to 190500

This simple type’s contents are a restriction of the W3C XML Schema token datatype.

This simple type is restricted to the values

listed in the following table:

Enumeration Value

Description

The clear material type has the following characteristics: - Specular Color: light gray - Diffuse Color: shape fill color with 90% alpha - Ambient Color: shape fill color with 90% alpha - Emissive Color: black - Diffuse Fresnel value: -8 - Alpha Fresnel value: 1

[Example: Consider the following example of the clear material type:

Enumeration Value

image

end example]

Description

The dkEdge material type has the following characteristics: - Specular Color: white - Specular Power value: 35 - Ambient Color: shape fill color - Emissive Color: black - Diffuse Fresnel value: -2

[Example: Consider the following example of the dkEdge material type:

image

end example]

The flat material type has the following characteristics: - Specular Color: very light gray - Specular Power value: 50 - Diffuse Color: black - Ambient Color: black - Emissive Color: shape fill color - Diffuse Fresnel value: -4

Enumeration Value

Description

[Example: Consider the following example of the material type:

image

end example]

The legacyMatte material type has the following characteristics: - Specular Color: black - Ambient Color: shape fill color - Emissive Color: black - Diffuse Fresnel value: -4

[Example: Consider the following example of the legacyMatte material type:

image

end example]

The legacyMetal material type has the following characteristics: - Specular Color: shape fill color - Specular Power value: 32 - Diffuse Color: shape fill color darkened by adding black - Ambient Color: shape fill color darkened by adding black

Enumeration Value

Description

Emissive Color: black

[Example: Consider the following example of the legacyMetal material type:

image

end example]

The legacyPlastic material type has the following characteristics: - Specular Color: white - Specular Power value: 32 - Ambient Color: shape fill color - Emissive Color: black

[Example: Consider the following example of the legacyPlastic material type:

image

end example]

The legacyWireframe material type has none of the associated material properties and is based on a wireframe interpretation of the shape.

[Example: Consider the following example of the legacyWireframe material type:

image

image

©ISO/IEC 2016

– All rights reserved

Enumeration Value

Description

end example]

The matte material type has the following characteristics: - Specular Color: black - Ambient Color: shape fill color - Emissive Color: black

[Example: Consider the following example of the matte material type:

end example]

The metal material type has the following characteristics: - Specular Color: shape fill color plus white, which is brightened by 1.5 times the normal value - Specular Power value: 12 - Ambient Color: shape fill color - Emissive Color: black - Diffuse Fresnel value: 4

[Example: Consider the following example of the

Enumeration Value

Description

image

end example]

The plastic material type has the following characteristics: - Specular Color: light gray - Specular Power value: 12 - Ambient Color: shape fill color - Emissive Color: black

[Example: Consider the following example of the plastic material type:

image

end example]

The powder material type has the following characteristics: - Specular Color: dark gray - Specular Power value: 10 - Diffuse Color: gray - Ambient Color: gray - Emissive Color: black - Diffuse Fresnel value: 2

Enumeration Value

Description

[Example: Consider the following example of the powder material type:

image

end example]

The softEdge material type has the following characteristics: - Specular Color: white - Specular Power value: 35 - Ambient Color: shape fill color - Emissive Color: black - Diffuse Fresnel value: 4 - Alpha Fresnel value: -10

[Example: Consider the following example of the softEdge material type:

image

end example]

The softMetal material type has the following characteristics: - Specular Color: shape fill color lightened with white by 50% - Specular Power value: 8

Enumeration Value

Description

Ambient Color: shape fill color Emissive Color: black

[Example: Consider the following example of the softmetal material type:

image

end example]

The translucentPowder material type has the following characteristics: - Specular Color: dark gray - Specular Power value: 10 - Diffuse Color: shape fill color with 30% transparency - Ambient Color: shape fill color with 30% transparency - Emissive Color: black - Diffuse Fresnel value: 2 - Alpha Fresnel value: -1

[Example: Consider the following example of the translucentPowder material type:

image

end example]

Enumeration Value

Description

(Warm

Matte)

The warmMatte material type has the following characteristics: - Specular Color: dark gray - Specular Power value: 8 - Ambient Color: shape fill color - Emissive Color: black

[Example: Consider the following example of the warmMatte material type:

image

end example]

[Note: The W3C XML Schema definition of this simple type’s content model (ST_PresetMaterialType) is located in A.4.1. end note]

Last updated on