Page MenuHomeFeedback Tracker

Introduce "getFOV" or "getZoom" scripting commands
New, WishlistPublic

Description

Currently there is no straight forward way of determining zoom level of used optics.

Either command is welcome.

Thank you BIS.

Details

Legacy ID
3194971102
Severity
None
Resolution
Open
Reproducibility
Always
Category
Feature Request

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Feature Request.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to None.
Killzone_Kid set Resolution to Open.
Killzone_Kid set Legacy ID to 3194971102.May 7 2016, 5:26 PM

You can calculate current FOV using screenToWorld to measure the distances between two points on the edges of the screen, and those points and the camera. FOV can then be calculated using the law of cosines. The catch is it only works if the edge points are on the ground (same as Killzone Kid's method)

Zoom/magnification can be derived from the current and baseline FOV, but as with KK's method is does require a conversion factor unless the screen aspect ratio is 16:9.

I used these methods to compare FOV/zoom in #9173