Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for 3D image and model file formats #55

Open
PaulBoon opened this issue Apr 20, 2024 · 3 comments
Open

Support for 3D image and model file formats #55

PaulBoon opened this issue Apr 20, 2024 · 3 comments

Comments

@PaulBoon
Copy link

PaulBoon commented Apr 20, 2024

Besides in the technical siences 3D data files are used in biomedical studies and even in humanities like archaeology.
For the medical studies that will mostly be 3D volume data like CT-scans and MRI-scans.
In Archaeology that will be 3D models for virtual reconstructions and object or excavation (Laser) scans or from photogrammetry.

Like with 2D images, a previewer for 3D images or models (analog to drawings) would be a great addition to Dataverse.

@kamil386
Copy link

Medical CT scans can work as in this example: https://dataverse.openforestdata.pl/dataverse/ct
https://dataverse.openforestdata.pl/dataset.xhtml?persistentId=doi:10.48370/OFD/8FRUXA

Click on "Explore button" on .swf file extension. Shockwave Flash is still alive in 2024 ;)

@PaulBoon
Copy link
Author

PaulBoon commented Apr 30, 2024

@kamil386 Looks great, seems to be a derived file for previewing purpose; some sort of dissemination copy in archival terms.
This also reminds me that Dataverse supports three forms of file 'previewing', the thumbnail, the preview (in the DV page), and the 'explorer', outside the DV page.
My goal was implementing the preview, using a relatively simple 'ready to use' Javascript based tool. There are tools to do volume rendering in the browser (vtk.js) and it would be good to have a look at that so that we are not bound by derived (mostly reduced) files.
These derived files are certainly helpful, especially for large files, in this case depositors should add them to allow potential 'downloaders' to make an informed decision.

@PaulBoon
Copy link
Author

PaulBoon commented May 3, 2024

The requirements for a previewer would be that is must be simple to use (viewing/inspecting) and show the model initially after loading the file without much extra coding.
Ideally it would be just including a Javascript file and use it by calling a 'load' function.

My first attempt is doing this with the X_ITE viewer; the PR is here: #56

It might be possible to use another viewer with not to much coding effort, most promising is this one https://kovacsv.github.io/Online3DViewer. When I have something working a PR will follow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants