This repository has been archived by the owner on Dec 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rounded Cube sample for KHR_xmp_json_ld extension.
- Loading branch information
Adam.N.Morris
committed
Jan 29, 2021
1 parent
9c65f3d
commit e76e1f5
Showing
5 changed files
with
643 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# KHR_xmp_json_ld Metadata Example - Rounded Cube | ||
|
||
## Sample XMP JSON | ||
|
||
```json | ||
{ | ||
"extensionsUsed": ["KHR_xmp_json_ld"], | ||
"extensions": { | ||
"KHR_xmp_json_ld": { | ||
"packets": [ | ||
{ | ||
"@context": { | ||
"dc": "http://purl.org/dc/elements/1.1/", | ||
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
}, | ||
"@id": "", | ||
"dc:contributor": { | ||
"@set": [ | ||
"Creator1Name", | ||
"Creator2Email@email.com", | ||
"Creator3Name<Email@email.com>" | ||
] | ||
}, | ||
"dc:coverage": "Bay Area, California, United States", | ||
"dc:creator": { | ||
"@list": ["CreatorName", "CreatorEmail@email.com"] | ||
}, | ||
"dc:date": { | ||
"@list": ["2019-05-16T19:20:30+01:00"] | ||
}, | ||
"dc:description": { | ||
"@type": "rdf:Alt", | ||
"rdf:_1": { | ||
"@language": "en-us", | ||
"@value": "An example of a glTF file with XMP metadata in it" | ||
} | ||
}, | ||
"dc:format": "model/gltf+json", | ||
"dc:language": { | ||
"@set": ["en"] | ||
}, | ||
"dc:publisher": { | ||
"@set": ["Khronos"] | ||
}, | ||
"dc:title": { | ||
"@type": "rdf:Alt", | ||
"rdf:_1": { | ||
"@language": "en-us", | ||
"@value": "Sample glTF with XMP metadata" | ||
} | ||
} | ||
}, | ||
{ | ||
"@context": { | ||
"dc": "http://purl.org/dc/elements/1.1/", | ||
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
}, | ||
"dc:title": { | ||
"@type": "rdf:Alt", | ||
"rdf:_1": { | ||
"@language": "en-us", | ||
"@value": "My Cube Mesh" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
... | ||
} | ||
``` | ||
|
||
## License Information | ||
|
||
This model is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/). |
Binary file added
BIN
+20.2 KB
2.0/XmpMetadataRoundedCube/glTF/MODEL_ROUNDED_CUBE_PART_1/indices.bin
Binary file not shown.
Oops, something went wrong.