sul-dlss / purl

URL resolver that translates a reference to a digital object in the form of a druid, into a full content representation of that object as available
Other
8 stars 1 forks source link

Create IIIF manifests to support 3D data #269

Closed snydman closed 5 years ago

snydman commented 5 years ago

Per @blalbrit , the IIIF manifests supporting 3D objects should have the following characteristics.

We should support rendering of both 3js and OBJ files.

There are some cases in which a single DRUID contains multiple 3D models. Not sure if UV handles this yet, but Ed Silverton is aware.


The desired behavior is to have 3d resource render, and provide download access to the other files

Ben has provided a few models for further analysis: 1) https://dms-data.stanford.edu/data/manifests/v3test/sj957jc8666/manifest1.json - strips out all non-3d resources, works in UV currently 2) https://dms-data.stanford.edu/data/manifests/v3test/sj957jc8666/manifest2.json - all resources present, does not work in UV currently

For comparison, what is currently being produced by our manifest creator: https://purl.stanford.edu/sj957jc8666/iiif3/manifest

aeschylus commented 5 years ago

Currently working: https://purl.stanford.edu/hc941fm6529

blalbrit commented 5 years ago

@aeschylus - does it work for any format other than threejs? @snydman 's lab is not using that format in production. That was a specially-baked example for testing purposes.

aeschylus commented 5 years ago

It was thrown in here for reference. I am/the access team is still doing analysis. We need to look into updates to UV and virtex to see if any of them support OBJ. There are good paths to supporting whatever file formats are needed using a threeJS viewer (UV or otherwise), but we're still trying to get a handle on the shortest path toward that.

https://gltf-viewer.donmccurdy.com/ https://threejs.org/examples/webgl_loader_obj.html https://manu.ninja/webgl-3d-model-viewer-using-three-js/ https://github.com/mrdoob/three.js/issues/5524

aeschylus commented 5 years ago

@blalbrit Can you say more about “IIIF Type physicalObject”. Is this is the Specs somewhere? I can't seem to find it in Presentation 3.0. Is it in an annex?

blalbrit commented 5 years ago

@aeschylus - it's absolutely not in the specs. This is coming from whatever Ed specified. See his examples at https://github.com/edsilv/iiif-3d-manifests

blalbrit commented 5 years ago

Since IIIF does not have 3D support, this is whatever Ed cooked up for UV.

cbeer commented 5 years ago

Extracted "download access to the other files" to #281