X Tutup
Skip to content

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

Merged
sev- merged 1 commit intoscummvm:masterfrom
malharbadve:qtvrxtra
Jun 6, 2025
Merged

VIDEO: QTVR: Fix hard coded maximum zoom value#6694
sev- merged 1 commit intoscummvm:masterfrom
malharbadve:qtvrxtra

Conversation

@malharbadve
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
@malharbadve malharbadve 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

X Tutup