Fixes
Adds 3D Viewer to CDLI by @msquare-2
Description
Added 3D Model Viewer for cuneiform tablets in (.PLY) format and adds various functionality for interacting with 3D Model.
Type of PR This PR is a feature.
Technicalities
Tests
To test this PR simply open the link with CDLI_NO added after ' / ' in URL.
For example:
http://127.0.0.1:2354/3dviewer/P215518
To test easy navigation feature for 3D viewer:
Open artifact view for any model, If it contains 3D data it should display a link to switch to the 3D viewer with the associated cuneiform tablet.
For example:
Open artifact view of tablet P215518, Now there will be a link "View in 3D" after the "View line art" link.
In the same way for an artifact view, which does not have 3D data should not have an option of "View in 3D". eg. http://127.0.0.1:2354/artifacts/384786
Screenshots
Artifact View for which 3D data is available:
3D Viewer for tablet P215518:
Checklist:
-
My pull request has a descriptive title (not a vague title like "Update index.md
"). -
My pull request targets the phoenix/develop
branch of the repository. -
My commit messages follow best practices. -
My code follows the established code style of the repository. -
I added tests for the changes I made (if applicable). -
I added or updated documentation (if applicable). -
I tried running the project locally and verified that there are no visible errors.