#distance #3d #monitor #size #view #calculating #parameters

bin+lib fpvsetup

Library and GUI tool for calculating optimal first-person 3D view parameters from monitor size and distance

1 unstable release

0.1.0 Apr 13, 2021

#37 in #calculating

MIT/Apache

73KB
1.5K SLoC

FPVSetup

Crates.io Docs.rs Build Status

Library and GUI tool for calculating optimal first-person 3D view parameters from monitor size and distance.

The "portal-like" mode will perform the necessary trigonometry and output the configuration for the camera which will allow the screen to appear as if it is a portal into the rendered 3D world, improving perception of depth and realism.

The "focused" mode will output an FOV for the camera which will represent an accurate scale of objects at a given distance in the 3D world from the camera.

License

The code itself is dual-licensed under the MIT or Apache 2.0 licenses, at your option.

The icon is the eye emoji from Twemoji, licensed under CC-BY 4.0.

Dependencies

~1–12MB
~152K SLoC