cookbook-recipes icon indicating copy to clipboard operation
cookbook-recipes copied to clipboard

added 3d rendering recipe

Open edsilv opened this issue 5 years ago • 2 comments
trafficstars

edsilv avatar Sep 09 '20 14:09 edsilv

Direct link to preview here:

https://preview.iiif.io/cookbook/3d-recipes/recipe/0125-rendering-3d/index.html

glenrobson avatar Sep 09 '20 14:09 glenrobson

With Presentation 3 is it possible to have a 3D model as a painting annotation? Similar to: https://biiif-template-example-3kntb3jpl-mnemoscene.vercel.app/3d/index.json

{
  "id": "https://biiif-template-example-3kntb3jpl-mnemoscene.vercel.app/3d/index.json/canvas/0",
  "type": "Canvas",
  "items": [
    {
      "id": "https://biiif-template-example-3kntb3jpl-mnemoscene.vercel.app/3d/index.json/canvas/0/annotationpage/0",
      "type": "AnnotationPage",
      "items": [
        {
          "id": "https://biiif-template-example-3kntb3jpl-mnemoscene.vercel.app/3d/index.json/canvas/0/annotation/0",
          "type": "Annotation",
          "motivation": "painting",
          "body": {
            "id": "https://biiif-template-example-3kntb3jpl-mnemoscene.vercel.app/3d/_astronaut/astronaut.glb",
            "type": "Model",
            "format": "model/gltf-binary",
            "label": {
              "@none": [
                "_astronaut"
              ]
            }
          },
          "target": "https://biiif-template-example-3kntb3jpl-mnemoscene.vercel.app/3d/index.json/canvas/0"
        }
      ]
    }
  ],
  "label": {
    "@none": [
      "_astronaut"
    ]
  }
}

stephenwf avatar Jun 19 '24 09:06 stephenwf