IIIF-Commons / manifesto-3d

IIIF Presentation API client and server utility library.
https://iiif-commons.github.io/manifesto-3d/
MIT License
0 stars 0 forks source link

Implement OrthographicCamera #6

Open vincentmarchetti opened 1 month ago

vincentmarchetti commented 1 month ago

the manifesto code currently (at commit e71da4c , 24 May 2024) implements the PerspectiveCamera.

The OrthographicCamera is to be implemented as well.

These two camera types are defined in the draft 3d api at https://github.com/IIIF/3d/blob/main/temp-draft-4.md#cameras

The OrthographicCamera has a position as clarified in discussion: https://github.com/IIIF/api/issues/2288

The fieldOfView of an OrthographicCamera is a linear dimension shown marking the vertical linear distance between top and bottom of the view. See issue https://github.com/IIIF/api/issues/2289

vincentmarchetti commented 4 days ago

Has been implemented in the kshell-dev branch. I am waiting for the npm deployment to be enabled on the main branch, then will merge orthographic camera through a pull request.