{ "@context": "http://iiif.io/api/presentation/4/context.json", "id": "https://example.org/iiif/3d/model_transform_scale_position.json", "type": "Manifest", "label": { "en": ["Scaled, Translated Model with original for comparison"] }, "summary": { "en": ["Viewer should render the model twice, once at normal scale and once at double scale after moving in the local coordinate space, and then the viewer should add default lighting and camera. Thus the model will end up at (5,4,4) due to doubling the scale of the local coordinate space."] }, "items": [ { "id": "https://example.org/iiif/scene1", "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/anno1", "type": "Annotation", "motivation": ["painting"], "body": { "id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb", "type": "Model", "format": "model/gltf-binary" }, "target": { "id": "https://example.org/iiif/3d/anno1/target", "type": "SpecificResource", "source": { "id": "https://example.org/iiif/scene1", "type": "Scene" }, "selector": [ { "type": "PointSelector", "x": -1.0, "y": 0.0, "z": 0.0 } ] } }, { "id": "https://example.org/iiif/3d/anno2", "type": "Annotation", "motivation": ["painting"], "body": { "id": "https://example.org/iiif/3d/anno2/body", "type": "SpecificResource", "source": { "id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb", "type": "Model", "format": "model/gltf-binary" }, "transform": [ { "type": "TranslateTransform", "x": 2.0, "y": 2.0, "z": 2.0 }, { "type": "ScaleTransform", "x": 2.0, "y": 2.0, "z": 2.0 } ] }, "target": { "id": "https://example.org/iiif/3d/anno2/target", "type": "SpecificResource", "source": { "id": "https://example.org/iiif/scene1", "type": "Scene" }, "selector": [ { "type": "PointSelector", "x": 1.0, "y": 0.0, "z": 0.0 } ] } } ] } ] } ] }