Open ylvaselling opened 2 years ago
Hi Ylva,
Yes, the way that that message is handled, the FOV/zoom value is clamped:
With a default minimum of about 0.001:
It is possible to configure that minimum value in the underlying implementation, but we don't expose that functionality at the JavaScript/TypeScript/messaging level. Would you find it useful to reduce it?
I think it would be useful for some cases where the image has a very small field of view. For example, loading the image 'Antares' gives an unexpected behavior in OpenSpace because the fov animation stops when the image is almost not visible, but it is possible to zoom in further by scrolling.
When using the wwt application and passing JSON messages to it with the api, it seems like smaller fovs than 0.001 aren't used. It is possible to scroll in the window and change the field of view smaller however.
Using this message: https://docs.worldwidetelescope.org/webgl-reference/latest/apiref/research-app-messages/interfaces/classicpywwt.centeroncoordinatesmessage.html