1 Definition | 2 Functional Requirements | 3 Syntax |
4 Semantics | 5 Conformance Testing | 6 Performance Assessment |
1 Definition
Texture map (OSD-TEM) is a 2D array containing Data used to modify the parameters of an object’s surface points.
2 Functional Requirements
Different types of Texture Map (TM) can be used to represent the following parameters of an object’s surface points.
Diffuse map | TM used to set the colour of the model and add shapes or details. |
Specular map | TM used to set the degree of shininess or reflectivity of a surface. |
Colour map | TM used to add colour, texture, and shading to a surface. |
Bump maps | TM used to add small details that appear three-dimensional |
Normal map | TM used to provide surface normal information in an RGB image |
Displacement map | TM used to provide displacement information to the actual geometric position of points over the textured surface |
Ambient occlusion map | TM used to provide lighting data used to calculate the exposure of each point in a scene is to ambient lighting. |
Reflection map | TM used to define how and where a surface reflects the surrounding environment. |
Roughness map | TM used to define how smooth or rough a surface is, affecting how light is scattered or reflected. |
3 Syntax
https://schemas.mpai.community/OSD/V1.4/data/Texture.json
4 Semantics
Label | Size | Description |
Header | N1 Bytes | Texture Header |
– Standard-Texture | 9 Bytes | The characters “OSD-TEM-V” |
– Version | N2 Bytes | Major version – 1 or 2 characters |
– Dot-separator | 1 Byte | The character “.” |
– Subversion | N3 Bytes | Minor version – 1 or 2 characters |
M-InstanceID | N4 Bytes | Identifier of M-Instance. |
TextureID | N5 Bytes | Identifier of Texture. |
Texture | N6 Bytes | Set of Visual Characteristics |
BumpMap | N7 Bytes | Greyscale value for each Texture pixel. |
DisplacementMap | N8 Bytes | Greyscale value for each Texture pixel. |
AmbientOcclusionMap | N9 Bytes | Greyscale value for each Texture pixel. |
RoughnessMap | N10 Bytes | Greyscale value for each Texture pixel. |
DiffuseMap | N11 Bytes | RGB values for each Texture pixel. |
ColourMap | N12 Bytes | RGB values for each Texture pixel. |
ReflectionMap | N13 Bytes | RGB values for each Texture pixel. |
SpecularMap | N4 Bytes | Intensity value or RGB values for each Texture pixel. |
NormalNap | N15 Bytes | α,β,γ and RGB for each Texture pixel. |
TextureRights | N16 Bytes | Rights to Act on the Texture. |
DescrMetadata | N17 Bytes | Descriptive Metadata |
5 Conformance Testing
A Data instance Conforms with Texture (OSD-TEM) if:
- The Data validates against the Texture Map’s JSON Schema.
- All Data in the Texture Map’s JSON Schema
- Have the specified type
- Validate against their JSON Schemas
- Conform with their Data Qualifiers, if present.