Skip to content

VIDEO: QTVR: Fix hard coded maximum zoom value #6694

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

Malharbdv
Copy link
Contributor

While reading the Panorama sample description, if the maximum zoom
and minimum zoom values are not present, ScummVM Director assigns
hard coded values of 65 degrees (for maximum zoom) and 5 degrees
(for minimum zoom). However, for panorama movies smaller tilting range,
that may get out of bounds. So, instead we should decide maximum zoom
based on its vertical panning range.

Instead of hard coded value of 65 degrees (determined using
experimentation) calculate the maximum value using the panorama
top and bottom bounds. This way the FOV won't go out of bounds for
any director movie/
@sev- sev- added the GSoC Part of a Google Summer of Code project label Jun 6, 2025
@sev-
Copy link
Member

sev- commented Jun 6, 2025

Thank you!

@sev- sev- merged commit d44f751 into scummvm:master Jun 6, 2025
8 checks passed
@Malharbdv Malharbdv deleted the qtvrxtra branch June 9, 2025 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GSoC Part of a Google Summer of Code project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants