Skip to content

slub/dlf-3d-viewers

Repository files navigation

3D viewer integrations for Kitodo.Presentation or DFG-Viewer

This repository contains integrations of existing 3D viewers or reference implementations of 3D viewers for embedding in Kitodo.Presentation or DFG-Viewer.

Installation

  • Clone repository or download source code.
  • Run the install.sh bash script to download libraries and frameworks under modules folder of each viewer implementation

After these steps, you will have a folder with the respective viewer integration, its dependencies and resources as well as the dlf-3d-viewer.yml configuration file required for the integration.

For more informations regarding embedding this folder into Kitodo.Presentation and DFG-Viewer, read the Embedded 3D Viewer documentation.

Integrations

These are integrations of 3D viewers or custom 3D viewer implementations base on a JavaScript 3D library (e.g. three.js) which have been prepared for Kitodo.Presentation and thus for the DFG-Viewer.

Note

DLF prefix stands for “Digital Library Framework” and is the key of the TYPO3 extension “Kitodo.Presentation”. The name of the viewer integration can be chosen freely for your custom viewer.

Overview of the integrated viewers and their supported model formats

Viewer FBX OBJ DAE PLY 3DS IFC STL GLB glTF JSON XYZ HTML
dlf-3dbigdataspace-viewer
dlf-3dhop
dlf-4dbrowser
dlf-aim-3d
dlf-aton
dlf-jena-3dviewer-gaussiansplat
dlf-jena-3dviewer-holopyramid
dlf-jena-3dviewer-ply-pointcloud
dlf-jena-3dviewer-vrglasses
dlf-kompakkt
dlf-model-viewer
dlf-pcss-viewer
dlf-threejs

dlf-3dbigdataspace-viewer

Integration of the 3D Artifact Viewer from 3DBigDataSpace project.

Supported model formats: .glb

image

Test

3dtest.dfg-viewer.de

https://3dtest.dfg-viewer.de/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-3dbigdataspace-viewer

local

http://localhost/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-3dbigdataspace-viewer

dlf-3dhop

Integration of 3DHOP framework.

Supported model formats: .ply, .obj

image

Test

3dtest.dfg-viewer.de

https://3dtest.dfg-viewer.de/viewer?tx_dlf[model]=https://3dtest.dfg-viewer.de/fileadmin/models/gargo.ply&tx_dlf[viewer]=dlf-3dhop

local

http://localhost/viewer?tx_dlf[model]=http://localhost/fileadmin/models/examples/ply/gargo.ply&tx_dlf[viewer]=dlf-3dhop

dlf-4dbrowser

Integration of UH4D Browser.

Supported model formats: .json (IIIF manifest)

image

Test

3dtest.dfg-viewer.de

https://3dtest.dfg-viewer.de/viewer?tx_dlf%5Bmodel%5D=https%3A%2F%2Fzenodo.org%2Frecords%2F17391252%2Ffiles%2F86fc8419401c9a8ciiifmanifest.json&tx_dlf[viewer]=dlf-4dbrowser

local

http://localhost/viewer?tx_dlf%5Bmodel%5D=https%3A%2F%2Fzenodo.org%2Frecords%2F17391252%2Ffiles%2F86fc8419401c9a8ciiifmanifest.json&tx_dlf[viewer]=dlf-4dbrowser

dlf-aim-3d

Integration of 3D Viewer implementation thedworak/dfg_3dviewer of Daniel Dworak Hochschule Mainz.

Supported model formats: .obj, .dae, .fbx, .ply, .ifc, .stl, .xyz, .json, .3ds, .gltf, .glb

image

Test

3dtest.dfg-viewer.de

https://3dtest.dfg-viewer.de/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-aim-3d

local

http://localhost/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-aim-3d

dlf-aton

Integration of ATON framework.

Supported model formats: .glb, .gltf

image

Test

3dtest.dfg-viewer.de

https://3dtest.dfg-viewer.de/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-aton

local

http://localhost/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-aton

dlf-jena-3dviewer-gaussiansplat

Integration of the Gaussian Splat Viewer from https://3drepo.eu/.

Supported model formats: .html

image

Test

3dtest.dfg-viewer.de

https://3dtest.dfg-viewer.de/viewer?tx_dlf[model]=https://lumalabs.ai/capture/059f25eb-e543-4404-9cd6-fc5c83c2442e&tx_dlf[modelFormat]=html&tx_dlf[viewer]=dlf-jena-3dviewer-gaussiansplat

local

http://localhost/viewer?tx_dlf[model]=https://lumalabs.ai/capture/059f25eb-e543-4404-9cd6-fc5c83c2442e&tx_dlf[modelFormat]=html&tx_dlf[viewer]=dlf-jena-3dviewer-gaussiansplat

dlf-jena-3dviewer-holopyramid

Integration of the 3DView for Holopyramid from https://3drepo.eu/.

Supported model formats: .glb, .gltf

image

Test

3dtest.dfg-viewer.de

https://3dtest.dfg-viewer.de/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-jena-3dviewer-holopyramid

local

http://localhost/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-jena-3dviewer-holopyramid

dlf-jena-3dviewer-ply-pointcloud

Integration of the PLY Point Cloud Viewer from https://3drepo.eu/.

Supported model formats: .ply

image

Test

3dtest.dfg-viewer.de

https://3dtest.dfg-viewer.de/viewer?tx_dlf[model]=https://3dtest.dfg-viewer.de/fileadmin/models/gargo.ply&tx_dlf[viewer]=dlf-jena-3dviewer-ply-pointcloud

local

http://localhost/viewer?tx_dlf[model]=http://localhost/fileadmin/models/examples/ply/gargo.ply&tx_dlf[viewer]=dlf-jena-3dviewer-ply-pointcloud

dlf-jena-3dviewer-vrglasses

Integration of the 3DView for VR Glasses from https://3drepo.eu/.

Supported model formats: .glb, .gltf

image

Test

3dtest.dfg-viewer.de

https://3dtest.dfg-viewer.de/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-jena-3dviewer-vrglasses

local

http://localhost/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-jena-3dviewer-vrglasses

dlf-kompakkt

Integration of Kompakkt using the Kompakkt Standalone Viewer.

Supported model formats: .glb, .babylon, .gltf, .obj, .stl

image

Test

3dtest.dfg-viewer.de

https://3dtest.dfg-viewer.de/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-kompakkt

local

http://localhost/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-kompakkt

dlf-model-viewer

Integration of the model-viewer.

Kitodo.Presentation an thus DFG-Viewer includes this as a default viewer now

Supported model formats: .glb, .gltf

image

Test

3dtest.dfg-viewer.de

Default of viewer Kitodo.Presentation and with that DFG-Viewer https://3dtest.dfg-viewer.de/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml

Use the model viewer from the Integration repository https://3dtest.dfg-viewer.de/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-model-viewer

local

Default of viewer Kitodo.Presentation and with that DFG-Viewer http://localhost/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml

Use the model viewer from the Integration repository http://localhost/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-model-viewer

dlf-pcss-viewer

Supported model formats: .glb, .gltf, .obj

image

Test

3dtest.dfg-viewer.de

https://3dtest.dfg-viewer.de/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-pcss-viewer

local

http://localhost/viewer?tx_dlf[id]=https://data.3drepo.eu/xml/metsmods/b5df7cd550f64e818943ad96fff7e902metsmods.xml&tx_dlf[viewer]=dlf-pcss-viewer

dlf-threejs

Integration of a minimal implementation of three.js with ply model loader.

Supported model formats: .ply

image

3dtest.dfg-viewer.de

https://3dtest.dfg-viewer.de/viewer?tx_dlf[model]=https://3dtest.dfg-viewer.de/fileadmin/models/gargo.ply&tx_dlf[viewer]=dlf-threejs

local

http://localhost/viewer?tx_dlf[model]=http://localhost/fileadmin/models/examples/ply/gargo.ply&tx_dlf[viewer]=dlf-threejs

DFG 3D-Viewer test system

If you have write permissions for this repository, you can start a DFG Viewer test system that includes the latest versions of the available integrations. Please check beforehand if the test system https://bear-genuine-hookworm.ngrok-free.app/ is already running.

Under Actions tab above, you will find the workflow named Run DFG-Viewer test system over ngrok. By clicking on it, a Run workflow button will appear in the upper-right area above the list of recent workflow executions. When clicking on this button, a popup opens. Click the green button with the label Run workflow in the popup.

image

It takes a moment for the starting workflow to be displayed. Reloading the page can make it appear faster.

image

After a short time (1-2 minutes), the test system was generated and is accessible at the URL https://bear-genuine-hookworm.ngrok-free.app/ for one hour. After that, the test system will be automatically stopped.

Further information

Maintainer

About

3D viewer integrations for Kitodo.Presentation or DFG-Viewer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published