diff --git a/manifests/11_special/astronaut_comment_activating_motivation.json b/manifests/11_special/astronaut_comment_activating_motivation.json new file mode 100644 index 0000000..fd8c269 --- /dev/null +++ b/manifests/11_special/astronaut_comment_activating_motivation.json @@ -0,0 +1,195 @@ +{ + "@context": "http://iiif.io/api/presentation/4/context.json", + "id": "https://example.org/iiif/3d/astronaut_comment_activating_motivation.json", + "type": "Manifest", + "label": { "en": ["Single Model with Comment Annotations and Custom Views Per Annotation Using Activating Motivation"] }, + "summary": { "en": ["Viewer should render the model at the scene origin and two comment annotations, one targeting a point near the astronaut's glove and the other targeting a point near the astronaut's helmet. Each comment annotation has a specific camera position and view specified for it using annotations with activating motivation."] }, + "items": [ + { + "id": "https://example.org/iiif/scene1/page/p1/1", + "type": "Scene", + "label": { "en": ["A Scene"] }, + "items": [ + { + "id": "https://example.org/iiif/scene1/page/p1/1", + "type": "AnnotationPage", + "items": [ + { + "id": "https://example.org/iiif/3d/model", + "type": "Annotation", + "motivation": ["painting"], + "body": { + "id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb", + "type": "Model", + "format": "model/gltf-binary" + }, + "target": "https://example.org/iiif/scene1/page/p1/1" + }, + { + "id": "https://example.org/iiif/3d/cameras/1", + "type": "Annotation", + "motivation": ["painting"], + "behavior": ["hidden"], + "body": { + "id": "https://example.org/iiif/3d/cameras/1/body", + "type": "PerspectiveCamera", + "label": {"en": ["Perspective Camera for Glove"]}, + "lookAt": { + "id": "https://example.org/uuid/6799e7d1-89a1-4e76-bcb9-3c0c47065598", + "type": "PointSelector", + "x": 0.0, + "y": 2.0108470916748047, + "z": -0.012333005666732798 + } + }, + "target": { + "id": "https://example.org/uuid/48350b8f-be54-4a20-990e-80b596efbb36", + "type": "SpecificResource", + "source": [ + { + "id": "https://example.org/iiif/scene1/page/p1/1", + "type": "Scene" + } + ], + "selector": [ + { + "id": "https://example.org/uuid/1a0f1b38-2ab7-4603-bfc3-353e77f18c93", + "type": "PointSelector", + "x": 0.0, + "y": 2.010847091674805, + "z": 9.11616179783789 + } + ] + } + }, + { + "id": "https://example.org/iiif/3d/cameras/2", + "type": "Annotation", + "motivation": ["painting"], + "behavior": ["hidden"], + "body": { + "id": "https://example.org/iiif/3d/cameras/2/body", + "type": "PerspectiveCamera", + "label": {"en": ["Perspective Camera for Helmet"]}, + "lookAt": { + "id": "https://example.org/uuid/80ace027-d43d-48f2-81dc-59bfed7b61cc", + "type": "PointSelector", + "x": 0.0, + "y": 2.0108470916748047, + "z": -0.012333005666732798 + } + }, + "target": { + "id": "https://example.org/uuid/ea4fcfb0-7341-48e3-a85d-d9c9f2bac5a0", + "type": "SpecificResource", + "source": [ + { + "id": "https://example.org/iiif/scene1/page/p1/1", + "type": "Scene" + } + ], + "selector": [ + { + "id": "https://example.org/uuid/fa64be77-e766-49f0-a89c-cf1a6b7f5869", + "type": "PointSelector", + "x": 0.0, + "y": 2.010847091674805, + "z": 9.11616179783789 + } + ] + } + } + ] + } + ], + "annotations": [ + { + "id": "https://example.org/iiif/scene1/page/p2/1", + "type": "AnnotationPage", + "items": [ + { + "id": "https://example.org/iiif/3d/comments/1", + "type": "Annotation", + "motivation": ["commenting"], + "body": { + "id": "https://example.org/iiif/3d/comments/1/body", + "type": "TextualBody", + "value": "Glove", + "language": "en", + "format": "text/plain" + }, + "target": { + "id": "https://example.org/uuid/ab7f9b03-2c13-416c-85d8-13e4ef6d6a3b", + "type": "SpecificResource", + "source": [ + { + "id": "https://example.org/iiif/scene1/page/p1/1", + "type": "Scene" + } + ], + "selector": [ + { + "id": "https://example.org/uuid/bfa9c562-3480-4605-aa60-fff02a1d6716", + "type": "PointSelector", + "x": 1.075, + "y": 1.894, + "z": 0.204 + } + ] + } + }, + { + "id": "https://example.org/iiif/3d/comments/2", + "type": "Annotation", + "motivation": ["commenting"], + "bodyValue": { + "id": "https://example.org/iiif/3d/comments/2/body", + "type": "TextualBody", + "value": "Helmet", + "language": "en", + "format": "text/plain" + }, + "target": { + "id": "https://example.org/uuid/8e6a68cd-a5be-4661-acc2-a373f2e749ae", + "type": "SpecificResource", + "source": [ + { + "id": "https://example.org/iiif/scene1/page/p1/1", + "type": "Scene" + } + ], + "selector": [ + { + "id": "https://example.org/uuid/7f940815-62f7-4d99-99e9-2f2a1ba0e7c8", + "type": "PointSelector", + "x": 0.006, + "y": 3.498, + "z": 0.703 + } + ] + } + }, + { + "id": "https://example.org/iiif/3d/activating/1", + "type": "Annotation", + "motivation": ["activating"], + "summary": { "en": ["This annotation with motivation 'activating' links the first comment annotation (for the glove) to its camera. By default, the camera is hidden. Clients are instructed that when the comment annotation is activated through user interaction that the camera annotation should be un-hidden (via enables) and then made the active camera (through the target)."] }, + "body": "https://example.org/iiif/3d/comments/1", + "enables": "https://example.org/iiif/3d/cameras/1", + "target": "https://example.org/iiif/3d/cameras/1" + }, + { + "id": "https://example.org/iiif/3d/activating/2", + "type": "Annotation", + "motivation": ["activating"], + "summary": { "en": ["This annotation with motivation 'activating' links the second comment annotation (for the helmet) to its camera. By default, the camera is hidden. Clients are instructed that when the comment annotation is activated through user interaction that the camera annotation should be un-hidden (via enables) and then made the active camera (through the target)."] }, + "body": "https://example.org/iiif/3d/comments/2", + "enables": "https://example.org/iiif/3d/cameras/2", + "target": "https://example.org/iiif/3d/cameras/2" + } + ] + } + ] + } + ] +}