mesh

December 17, 2019 ยท View on GitHub

Mesh object. Mesh geometry for a node. Clients have to use the resource identifiers written in each node to access the resources. While content creator may choose to match resource with the node id this is not required by the I3S specification and clients should not make this assumption.

cmn::node

Properties

PropertyTypeDescription
materialmeshMaterialThe material definition.
geometrymeshGeometryThe geometry definition.
attributemeshAttributeThe attribute set definition.

Examples

Example: Textured mesh with attributes and features.

 {
  "material": {
    "definition": 0,
    "resource": 6
  },
  "geometry": {
    "definition": 0,
    "resource": 6,
    "vertexCount": 1092,
    "featureCount": 7
  },
  "attribute": {
    "resource": 6
  }
}