EXT_structural_metadata: Properties for structured data #2151
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
EXT_structural_metadata
extension defines how fine-grained metadata can be stored within a glTF asset. It allows the definition of a metadata schema that describes the structure of metadata entities as classes, and their properties, including type definitions for these properties. The metadata storage defines how the metadata entities themself are stored inside the glTF asset. This is accomplished by storing the values as binary data in buffer views, using tables or attributes, or by storing the binary data in property textures.Relation of this extension to
EXT_mesh_features
The proposal "EXT_mesh_features: Features and Properties for structured data" presented an extension that allowed storing structured metadata that is associated with geometry and subcomponents of geometry within a glTF asset. The feedback from this PR suggested that there is a demand for separating the functionalities:
Therefore, the original
EXT_mesh_features
extension has been updated to only handle the definition of feature IDs for features within a glTF asset. The definition of metadata storage and its structure is now defined in a newEXT_structural_metadata
extension that is presented here, and which has largely been extracted from the originalEXT_mesh_features
extension proposal.The extensions are still designed to be interoperable, insofar that the IDs that are assigned to the mesh features with the
EXT_mesh_features
extension can be used for looking up the structural metadata that is defined via theEXT_structural_metadata
extension.