Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXT_structural_metadata: Properties for structured data #2151

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

javagl
Copy link
Contributor

@javagl javagl commented Apr 25, 2022

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:

  • Assigning IDs to features of a glTF asset like (vertices or texels)
  • Associating features within a glTF asset with structural metadata

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 new EXT_structural_metadata extension that is presented here, and which has largely been extracted from the original EXT_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 the EXT_structural_metadata extension.

Extracted from the original EXT_mesh_features proposal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants