Flatlogic Bot 055d24df95 WORKING
2025-10-14 02:37:44 +00:00

1.8 KiB

Property Attributes Point Cloud

An example that shows how to combine different features of the EXT_structural_metadata and 3D Tiles.

Sharing a metadata schema between glTF assets and a 3D Tiles tileset

The example uses a single metadata schema, as defined in the 3D Metadata Specification. The schema is stored in a MetadataSchema.json file, and defines a metadata class with two properties:

  • an intensity property, which is a single floating point value
  • a classification property, which is an enum with MediumVegetation and Buildings as its values

This schema file is referred to by glTF assets that use the EXT_structural_metadata extension, and by the 3D Tiles tileset that contains these glTF assets.

Storing metadata in glTF property attributes

The glTF assets are simple point clouds, with property attributes that contain the metadata values for the schema: Each point is assigned an intensity and a classification value.

Defining statistics for the metadata values

The 3D Tiles tileset contains metadata statistics for the metadata from the glTF assets. These statistics contain, for example, the minimum and maximum intensity value, and the number of occurences for each classification value.

More information

See the 3d-tiles-samples repo for a Sandcastle and screenshot using this dataset.

License

CC0