-
-
Save azaroth42/e3c6fc982cec1beb35627595697ade7e to your computer and use it in GitHub Desktop.
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
{ | |
"@context": "http://iiif.io/api/presentation/4/context.json", | |
"id": "https://example.org/iiif/3d/manifest", | |
"type": "Manifest", | |
"label": { "en": [ "I am 3D" ] }, | |
"behavior": [ "some", "new", "behaviors", "probably" ], | |
"items": [ | |
{ | |
"id": "https://example.org/iiif/scene1", | |
"type": "Scene", | |
"label": { "en": [ "a scene!" ] }, | |
"duration": 600, | |
"ambientLighting": { | |
"type": "Lighting", | |
"color": 256, | |
"intensity": 1.0 | |
}, | |
"items": [ | |
{ | |
"id": "https://example.org/iiif/scene1/page/p1/1", | |
"type": "AnnotationPage", | |
"items": [ | |
{ | |
"id": "https://example.org/iiif/3d/anno1", | |
"type": "Annotation", | |
"motivation": ["painting"], | |
"body": { | |
"type": "SpecificResource", | |
"source": [ | |
{ | |
"id": "https://example.org/iiif/my-model.someFormat", | |
"type": "Model", | |
"format": "application/something" | |
} | |
], | |
"selector": [ | |
{ | |
"type": "WktSelector", | |
"value": "POLYGON(( 0 0 0, 1 0 0, 0 1 0, 0 0 1 ))" | |
} | |
], | |
"transforms": [ | |
{ | |
"type": "ScaleTransform", | |
"x": 1.0, | |
"y": 1.1, | |
"z": 0.9 | |
}, | |
{ | |
"type": "RotationTransform", | |
"x": 0.0, | |
"y": 45.0, | |
"z": 180.0 | |
} | |
], | |
}, | |
"target": [ | |
{ | |
"type": "SpecificResource", | |
"source": [ | |
{ | |
"id": "https://example.org/iiif/scene1/page/p1/1", | |
"type": "Scene" | |
} | |
] | |
"selector": [ | |
{ | |
"type": "PointSelector", | |
"x": 100.0, | |
"y": 100.0, | |
"z": 0.0 | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"structures": [ | |
// yep can do these too | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On 3D TSG call = Timo Homburg says this should be POLYGONZ
https://gist.github.com/azaroth42/e3c6fc982cec1beb35627595697ade7e#file-presentation4-json-L42
https://gis.stackexchange.com/questions/206419/what-is-the-difference-between-a-polygon-z-and-a-polygon-zm