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

does gltf support metadata, KV string map for example #84

Closed
cmingxu opened this issue Feb 27, 2023 · 2 comments
Closed

does gltf support metadata, KV string map for example #84

cmingxu opened this issue Feb 27, 2023 · 2 comments

Comments

@cmingxu
Copy link

cmingxu commented Feb 27, 2023

I want store some metadata on a gltf, anyway i can store these data in it ?

@javagl
Copy link
Contributor

javagl commented Feb 28, 2023

There is the KHR_xmp_json_ld extension that allows storing metadata.

(On a more fine-grained level, there is a PR for structural metadata, but this is not reviewed/merged yet. Also, for some cases, when the data is only supposed to be used internally, then you can theoretically store arbitrary data in the extras property of nearly every object in glTF)

@javagl
Copy link
Contributor

javagl commented Feb 2, 2024

I'll just close this as a cleanup, assuming that it is answered sufficiently.

@javagl javagl closed this as completed Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants