Open JulieWinchester opened 2 years ago
Thanks to Jamie Cope, we now have a Smithsonian Voyager demo for this use case. This demo places a baseball bat 3D model in the usual astronaut's hand, and involves rotating, translating, and scaling the bat. It would be good to expand this to include the specific JSON and coordinates used for these purposes, since it's a subset of the overall Voyager scene configuration JSON.
From IIIF 3D TSG regular meeting on 4/4/2023:
@edsilv For the Voyager demo, the scale is happening on a parent node, so instead of the normal scaling happening first, it's happening last. So to get the correct positioning you would use the same values with pre-multiplied scale (1.5).
"translation": [-0.41636295, -0.144762, 0.3987402], "rotation": [0.6904522, -0.2681352, 0.3108248, 0.5956234], "scale": [1.5, 1.5, 1.5]
These numbers are also assuming the centered astronaut model.
codesandbox for multiple objects in a shared space: https://codesandbox.io/s/iiif-3d-r3f-demo-tyn50d
As an Art Historian
I want to be able to add multiple 3D models to a 3D environment specifying their exact position, orientation, and scale.
So that I can visualise the placement of statues in a cathedral, their original context.
related to IIIF/iiif-3d-stories#6
copy of IIIF/iiif-3d-stories#10