Skip to content

Commit 948ce0d

Browse files
author
Adam.N.Morris
committed
Updated example.
1 parent 0d5c343 commit 948ce0d

File tree

1 file changed

+35
-33
lines changed
  • extensions/2.0/Khronos/KHR_xmp/schema/examples

1 file changed

+35
-33
lines changed

extensions/2.0/Khronos/KHR_xmp/schema/examples/xmp.gltf

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,40 @@
11
{
2-
"extensionsUsed": [
3-
"KHR_xmp"
4-
],
2+
"extensionsUsed": ["KHR_xmp"],
53
"extensions": {
64
"KHR_xmp": {
7-
"@context" : {
8-
"dc" : "http://purl.org/dc/elements/1.1/"
9-
},
105
"packets": [
116
{
12-
"dc:contributor" : [ "Creator1Name", "[email protected]", "Creator3Name<[email protected]>"],
13-
"dc:coverage" : "Bay Area, California, United States",
14-
"dc:creator" : [ "CreatorName", "[email protected]"],
15-
"dc:date" : ["2019-05-16T19:20:30+01:00"],
16-
"dc:description" : { "en-us": "An example of a glTF file with XMP metadata in it"},
17-
"dc:format" : "model/gltf+json",
18-
"dc:language" : ["en"],
19-
"dc:publisher" : ["Khronos"],
20-
"dc:title" : { "en-us" : "Sample glTF with XMP metadata"}
7+
"@context": {
8+
"dc": "http://purl.org/dc/elements/1.1/"
9+
},
10+
"dc:contributor": [
11+
"Creator1Name",
12+
13+
"Creator3Name<[email protected]>"
14+
],
15+
"dc:coverage": "Bay Area, California, United States",
16+
"dc:creator": ["CreatorName", "[email protected]"],
17+
"dc:date": ["2019-05-16T19:20:30+01:00"],
18+
"dc:description": {
19+
"@language": "en-us",
20+
"@value": "An example of a glTF file with XMP metadata in it"
21+
},
22+
"dc:format": "model/gltf+json",
23+
"dc:language": ["en"],
24+
"dc:publisher": ["Khronos"],
25+
"dc:title": {
26+
"@language": "en-us",
27+
"@value": "Sample glTF with XMP metadata"
28+
}
2129
},
2230
{
23-
"dc:title" : { "en-us" : "My Cube Mesh"}
31+
"@context": {
32+
"dc": "http://purl.org/dc/elements/1.1/"
33+
},
34+
"dc:title": {
35+
"@language": "en-us",
36+
"@value": "My Cube Mesh"
37+
}
2438
}
2539
]
2640
}
@@ -31,16 +45,8 @@
3145
"byteOffset": 0,
3246
"componentType": 5126,
3347
"count": 3456,
34-
"max": [
35-
10,
36-
19.949111938476562,
37-
10
38-
],
39-
"min": [
40-
-10,
41-
-0.050886999815702438,
42-
-10
43-
],
48+
"max": [10, 19.949111938476562, 10],
49+
"min": [-10, -0.050886999815702438, -10],
4450
"type": "VEC3"
4551
},
4652
{
@@ -55,12 +61,8 @@
5561
"byteOffset": 0,
5662
"componentType": 5125,
5763
"count": 5172,
58-
"max": [
59-
3455
60-
],
61-
"min": [
62-
0
63-
],
64+
"max": [3455],
65+
"min": [0],
6466
"type": "SCALAR"
6567
}
6668
],
@@ -153,7 +155,7 @@
153155
"scenes": [
154156
{
155157
"name": "scene",
156-
"nodes": [ 0 ]
158+
"nodes": [0]
157159
}
158160
]
159161
}

0 commit comments

Comments
 (0)