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.
Merge pull request #291 from weegeekps/khr_xmp_json_ld_examples
Rounded Cube sample for KHR_xmp_json_ld extension. Folders will be renamed prior to merging this with glTF-Sample-Assets.
- Loading branch information
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", | ||
"[email protected]", | ||
"Creator3Name<[email protected]>" | ||
] | ||
}, | ||
"dc:coverage": "Bay Area, California, United States", | ||
"dc:creator": { | ||
"@list": ["CreatorName", "[email protected]"] | ||
}, | ||
"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.