Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions source/presentation/4.0/example/uc06_3d.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"@context": "http://iiif.io/api/presentation/4/context.json",
"id": "https://iiif.io/api/presentation/4.0/example/uc06_3d.json",
"type": "Manifest",
"label": { "en": [ "Single Model" ] },
"label": { "en": [ "Chess Pawn — Basic Scene" ] },
"summary": {
"en": [
"Viewer should render the model at the scene origin, and then viewer should add default lighting and camera"
"Viewer should render the chess pawn model at the scene origin, and then viewer should add default lighting and camera"
]
},
"items": [
Expand All @@ -14,7 +14,7 @@
"type": "Scene",
"label": {
"en": [
"A Scene"
"Chess Pawn"
]
},
"items": [
Expand All @@ -27,7 +27,7 @@
"type": "Annotation",
"motivation": ["painting"],
"body": {
"id": "https://fixtures.iiif.io/3d/google/astronaut.glb",
"id": "https://fixtures.iiif.io/3d/thomas_flynn/chess/Pawn_black.glb",
"type": "Model",
"format": "model/gltf-binary"
},
Expand Down
6 changes: 3 additions & 3 deletions source/presentation/4.0/example/uc06_3d_annotation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"@context": "http://iiif.io/api/presentation/4/context.json",
"id": "https://iiif.io/api/presentation/4.0/example/uc06_3d_annotation.json",
"type": "Manifest",
"label": { "en": [ "Single Model with light and Camera" ] },
"label": { "en": [ "Chess Pawn with Light and Camera" ] },
"summary": {
"en": [
"Viewer should render the model at (-1,0,1), add the light, and base the viewport on the provided camera"
"Viewer should render the chess pawn at (-1,0,1), add the light, and base the viewport on the provided camera"
]
},
"items": [
Expand All @@ -24,7 +24,7 @@
"type": "Annotation",
"motivation": [ "painting" ],
"body": {
"id": "https://fixtures.iiif.io/3d/google/astronaut.glb",
"id": "https://fixtures.iiif.io/3d/thomas_flynn/chess/Pawn_black.glb",
"type": "Model",
"format": "model/gltf-binary"
},
Expand Down
212 changes: 205 additions & 7 deletions source/presentation/4.0/example/uc06_audio_with_3d.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "Manifest",
"label": {
"en": [
"Use Case 7: Scene with Audio"
"Chess Pieces with Spatial Audio"
]
},
"items": [
Expand All @@ -13,17 +13,19 @@
"type": "Scene",
"label": {
"en": [
"Positional Audio Symphony Hall Experience"
"Chess Pieces with Spatial Audio"
]
},
"backgroundColor": "#FF00FE",
"interactionMode": [ "hemisphere-orbit" ],
"duration": 60,
"items": [
{
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1/page/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/presentation/4.0/example/uc06/3d/anno1",
"id": "https://iiif.io/api/presentation/4.0/example/uc06/3d/audio/anno1",
"type": "Annotation",
"motivation": [
"painting"
Expand All @@ -49,7 +51,7 @@
}
},
{
"id": "https://iiif.io/api/presentation/4.0/example/uc06/3d/anno2",
"id": "https://iiif.io/api/presentation/4.0/example/uc06/3d/audio/anno2",
"type": "Annotation",
"motivation": [
"painting"
Expand Down Expand Up @@ -95,7 +97,7 @@
}
},
{
"id": "https://iiif.io/api/presentation/4.0/example/uc06/3d/anno3",
"id": "https://iiif.io/api/presentation/4.0/example/uc06/3d/audio/anno3",
"type": "Annotation",
"motivation": [
"painting"
Expand Down Expand Up @@ -129,6 +131,202 @@
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1#3,0,-2&t=30,60",
"type": "Scene"
}
},
{
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1/anno/1",
"type": "Annotation",
"motivation": [ "painting" ],
"body": {
"id": "https://fixtures.iiif.io/3d/thomas_flynn/chess/Pawn_black.glb",
"label": { "en": [ "Pawn 1" ] },
"type": "Model",
"format": "model/gltf-binary"
},
"target": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1/anno/1/specificResource/1",
"type": "SpecificResource",
"source": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1",
"type": "Scene"
},
"selector": [
{
"type": "PointSelector",
"x": 1.0,
"y": 0.0,
"z": 0.0
}
]
}
},
{
"id": "https://iiif.io/api/presentation/4.0/example/uc06/3d/anno2",
"type": "Annotation",
"motivation": [ "painting" ],
"body": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/3d/anno2/specificResource/1",
"type": "SpecificResource",
"source": {
"id": "https://fixtures.iiif.io/3d/thomas_flynn/chess/Pawn_black.glb",
"label": { "en": [ "Pawn 2 tipped over" ] },
"type": "Model",
"format": "model/gltf-binary"
},
"transform": [
{
"type": "RotateTransform",
"x": 0.0,
"y": 0.0,
"z": -90.0
},
{
"type": "TranslateTransform",
"x": 0.0,
"y": 1.0,
"z": 0.0
}
]
},
"target": {
"type": "SpecificResource",
"id": "https://iiif.io/api/presentation/4.0/example/uc06/3d/anno2/specificResource/2",
"source": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1",
"type": "Scene"
},
"selector": [
{
"type": "PointSelector",
"x": 2.0,
"y": 0.0,
"z": 3.0
}
]
}
},
{
"id": "https://iiif.io/api/presentation/4.0/example/uc06/3d/anno3",
"type": "Annotation",
"motivation": [ "painting" ],
"exclude": [
"audio",
"lights"
],
"body": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/3d/anno3/specificResource/1",
"type": "SpecificResource",
"source": {
"id": "https://fixtures.iiif.io/3d/thomas_flynn/chess/Queen_black.glb",
"label": { "en": [ "Queen" ] },
"type": "Model",
"format": "model/gltf-binary"
},
"transform": [
{
"type": "ScaleTransform",
"x": 1.5,
"y": 1.5,
"z": 1.5
}
]
},
"target": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/3d/anno3/specificResource/2",
"type": "SpecificResource",
"source": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1",
"type": "Scene"
},
"selector": [
{
"type": "PointSelector",
"x": 1.0,
"y": 0.0,
"z": 2.0
}
]
}
},
{
"id": "https://iiif.io/api/presentation/4.0/example/uc06/3d/anno4",
"type": "Annotation",
"motivation": [ "painting" ],
"body": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/3d/lights/1",
"type": "ImageBasedLight",
"label": { "en": [ "Image-Based Light" ] },
"environmentMap": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/light/3/environment.hdr",
"type": "Image",
"format": "image/vnd.radiance",
"profile": "equirectangular"
}
},
"target": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1",
"type": "Scene"
}
},
{
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1/anno/cam1",
"type": "Annotation",
"motivation": [ "painting" ],
"body": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1/cameras/1",
"type": "PerspectiveCamera",
"label": { "en": [ "Perspective Camera 1" ] },
"lookAt": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1/anno/1",
"type": "Annotation"
},
"near": 1,
"far": 100,
"fieldOfView": 50
},
"target": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1/anno/cam1/specificResource/1",
"type": "SpecificResource",
"source": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1",
"type": "Scene"
},
"selector": [
{
"type": "PointSelector",
"x": 0.0,
"y": 6.0,
"z": 10.0
}
]
}
},
{
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1/anno/light1",
"type": "Annotation",
"motivation": [ "painting" ],
"body": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1/lights/1",
"type": "SpotLight",
"label": { "en": [ "Spot Light 1" ] },
"angle": 90.0,
"color": "#A0FFA0"
},
"target": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1/anno/light1/specificResource/1",
"type": "SpecificResource",
"source": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1",
"type": "Scene"
},
"selector": [
{
"type": "PointSelector",
"x": 0.0,
"y": 3.0,
"z": 1.0
}
]
}
}
]
}
Expand All @@ -146,7 +344,7 @@
],
"body": {
"type": "TextualBody",
"value": "This is the point when the percussion stops playing and the tuba begins playing."
"value": "This is the point when the percussion fades and the tuba tone begins, marking the second phase of the scene's audio."
},
"target": {
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1/specificResource/1",
Expand All @@ -168,4 +366,4 @@
]
}
]
}
}
Loading
Loading