-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add 3D data viewer to HDV #256
Comments
2024/03/27 |
Could somebody please add the info on the actual viewer tool that needs to be installed - the source of it/the Dataverse manifest for it, etc. I'm not immediately seeing it in the slack thread linked and/or the doc. linked from issue #253. |
(otherwise this would take a minute to add in prod.) |
@landreev , I don't have the name of the tool that is why I included the DV that is using it so we can connect with them for the information. |
Has somebody been in touch with them already, Matt Cook maybe? |
FWIW: From this paper (https://www.researchgate.net/publication/354871831_Open_Forest_Data_Digitalizing_and_building_an_online_repository), it appears that they are just wrapping https://github.com/kovacsv/Online3DViewer which has an MIT license. The browser console on shows on minimized js getting downloaded so they must have integrated everything. I didn't immediately see a repo for the Dataverse-specific work. |
@kamil386 presented the Open Forest Data tool at the 2020 Dataverse community meeting. I just emailed him to see if it's open source. Here are the slides, by the way: External tools for advanced data visualization in hard sciences.pdf |
Is this issue asking for a "waiting" tag? @donsizemore and @pdurbin both contacted the instance in question via different routes for the source info. The installation here at HDV is pending/waiting for that information. |
I also went ahead and asked the community, why not: https://groups.google.com/g/dataverse-community/c/D-vGQ5JP_7I/m/9uQcHTjVAAAJ |
Additional, open-source/open-access 3D web viewers with academic/scholarly user bases:
|
I saw gdcc/dataverse-previewers#56. If anyone feels positive that it's ready for prod. use, just let me know. Otherwise we'll wait until it's merged. |
@Cook4986 Which specific 3D file format(s) is your group going to be using? - is there a list of formats that we want Dataverse users to be able to preview? |
Noting that the prefered tool for Matt Cook's team at Harvard Library is "Voyager" https://smithsonian.github.io/dpo-voyager/ |
With luck, the basic framework of the 2 known Dataverse 3D viewers (based around Online3DViewer and X_ITE) could be replicated to build a Voyager-based tool as well. ... But it'll still be a bit of a dev. and testing effort. |
One thing to note from https://smithsonian.github.io/dpo-voyager/explorer/usage/ - Option 2 - it looks like the svx file is not the whole model - it points to other files for the 3d geometry to display. |
Created a previewer issue in GDCC to support Voyager for Harvard Library: |
@Cook4986 To clarify, in the context of integration with Dataverse, we can't just use arbitrary viewers, like the ones you listed, "off the shelf". In order to work with Dataverse, a web app needs to conform to our specifications of what we call a "Dataverse external tool" - basically, it needs to understand the bare minimum of our API to be able to talk to Dataverse and retrieve files from it. With open source tools like the ones above, it is usually a matter of adding an extra javascript wrapper around their libraries that provides this functionality. It's relatively lightweight, there are standard templates that can be reused, and there is a community-driven development project (outside of the core Dataverse development) - https://github.com/gdcc/dataverse-previewers for creating such tools. As an example, here's a new/experimental 3D viewer tool that has been created based on the X_ITE library: gdcc/dataverse-previewers#56. "Integration" with Datavese is of course the key word. We are talking about a tool that can be plugged into the framework of the application, allowing our users to launch it on a Dataverse-served file with a single click in the application UI, in a new tab or embedded, etc. A user can of course download files from Dataverse, and use any tool of their liking on it outside of the application. In most cases, creating a new Dataverse viewer tool around an existing library is not much of a development effort. But it is still something that somebody needs to work on and build. It is possible that a viewer based on Voyager can be created relatively easily, but it is not going to happen instantly. In the context of this issue we are adding an already existing tool created by another Dataverse group (linked in the opening comment) to our prod. server. We should be able to have it installed shortly. Going forward, we hopefully will be adding more viewer tools as they become available. |
Thanks for the context, @landreev. A cursory look X_ITE docs and @PaulBoon's work (issue #56) is encouraging, especially given support for our three deliverable formats: gltf (for streaming applications), obj (legacy format), and X3D (our "master" mesh, with embedded textures). Note: X3D is our highest resolution output, with single files > 500MB. Regarding the other viewers, I was not counting on any custom development; just sharing the common viewers within my academic 3D practitioner network. If Dataverse is serious about supporting (another) embedded 3D viewer though, I recommend first convening experts - like @JulieWinchester (Morphosouce) and @gjcope (Smithsonian) - to better understand the landscape. One reason to do this, now or in the future, would be analytics (e.g. virtual measurement tools). Happy to coordinate such a call if there's interest/demand on the Dataverse side. BTW, here's the HL 3D repo, for reference. |
2024/05/08
|
@Cook4986 If you start testing that X_ITE base previewer please have a look at the initial attempt to use that 'Online3DViewer' for which I have made this draft PR: gdcc/dataverse-previewers#58. It would be interesting to know how the 'Open Forest Data' has made that tool work, most likely it is simpler to integrate as an 'explore' tool because it is meant to be a 'site' and not to be framed on another page. |
I forget if we've shared this link already (too many issues and pull requests!) but please see https://github.com/OpenForestData/open-forest-data-previewers |
Here's a trial install of the Openforestdata.pl 3dViewer tool in prod.: Huge thanks to Kamil Guryn from Openforestdata, and to @pdurbin for the help! |
The viewer also works for |
I'm going to close this issue, since it was opened and estimated as a quick prod. server config change only. |
As discussed in standup, I created a PR to add this tool to the guides: Thanks again, @kamil386! |
Great to see progress here. Do you have a link to a test page for an .x3d preview, @landreev ? The .stl preview looks great, but that format is geometry only, which will significantly limit applicability (i.e., to CAD designs rather than cultural heritage scans, like those being produced by HL). @pdurbin the Online3DViewer (textured .glb) demo looks great. Would/will this be an "Explore" page-launcher view, like Openforestdata repo, or an embedded preview? |
@Cook4986 I could be mistaken but I think the previewer was only added for content type "application/vnd.ms-pki.stl". Would you be able to open a fresh issue for additional content types? Some of our previewers work for multiple content types (JPG, GIF, PNG, for example), but we have to add them multiple times, once for each type. Good question about preview vs. explore. You would prefer preview? And yes, that demo looks great. |
@Cook4986 @pdurbin The installed viewer will also work on There's also a good chance that this viewer does NOT work on any, or some of the formats that you need. But we are going to continue soliciting/looking for more viewers to add. Phil suggested opening a new issue requesting support for more types, but it may make sense to first ask in gdcc/dataverse-previewers#56, or gdcc/dataverse-previewers#58. |
@Cook4986 I installed the experimental X_ITE-based viewer discussed above, as part of the overall viewers upgrade in #242. It is of course still in beta, and advertised as such on the dataset page. |
It's great to preview one of our models on DV, @pdurbin and @landreev! I do think this is the more natural way to implement the viewer, rather than linking out. Can we test a tweak X_ITE that disables the default environmental lighting? Our scans are set to "shadeless" on Sketchfab, which better reveals surface details - like the "2060" label of this Granite scan for example. |
@Cook4986 would you be able to open an issue at https://github.com/gdcc/dataverse-previewers ? Perhaps we can get @PaulBoon's attention since he added the initial implementation: |
@Cook4986 (I was out for a few days, only saw your question today) |
See new previewers repo issue #68 for further testing/debugging discussion |
3D viewer in a Dataverse Installation (select a 3D file to view the 3D viewer) https://dataverse.openforestdata.pl/dataset.xhtml?persistentId=doi:10.48370/OFD/Y8TNUO
related to: #253
The text was updated successfully, but these errors were encountered: