gdcc / dataverse-previewers

A collection of Datafile Previewers that can be configured to work with Dataverse
MIT License
5 stars 15 forks source link

A 3D model Previewer using the 'Online 3D Viewer' code #58

Open PaulBoon opened 3 months ago

PaulBoon commented 3 months ago

3D model Previewer using the 'Online 3D Viewer' code (beta) This 'tool' or library had to be downloaded and copied into the 'libs' directory. More info here (https://kovacsv.github.io/Online3DViewer/index.html)

This is still a Draft because it does have some problems: The rendering did only work when viewing via the 'Open In New Window' link, because the filename is only then available. I did implement a workaround, but that coded does depend on the parents window (File Page) html. Not sure why, but the file metadata is not passed when the 'viewer' is inside an iframe?

Screenshot from 2024-05-05 14-11-48