Skip to content
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

Add Window from SpaceDock #10228

Merged
merged 2 commits into from
Oct 13, 2024
Merged

Add Window from SpaceDock #10228

merged 2 commits into from
Oct 13, 2024

Conversation

netkan-bot
Copy link
Member

This pull request was automatically generated by SpaceDock on behalf of Halban, to add Window to CKAN.

Please direct questions about this pull request to Halban.

Mod details

Key Value
Name Window
Authors Halban
Abstract Change the default field of view in a novel way.
License MIT
Size 12.33 KiB
Homepage https://forum.kerbalspaceprogram.com/topic/226008-1125-window-change-the-default-fov/
Source code https://github.com/Halbann/Window

Description

Window adjusts the default field of view such that you're looking through your monitor as though it were a window on to space. It also lets you manually adjust the default FOV.

You'll find the new settings in the stock mini-settings window that you open via the pause menu, just under the graphics section. There you can enter the horizontal width of your monitor and its distance from your eye.

Requirements

Needless Justification

When I played RSS for the first time I was fascinated with the scale - being in LEO feels nothing like being in LKO. There's so much less curvature, everything moves more slowly, the surface feels closer. It's quite serene - especially with the graphics mods we've got now. I wonder if this is what it's like to really be there? Am I seeing everything just as an astronaut on the ISS would see it? Would my home country look that big from up here? Would the horizon curve quite like that at this altitude? How high would I have to go to see the entire Earth within my field of view? How much detail would I be able to see in those mountains over there?

I was unsure.

And then I realised I was looking at everything through the wrong end of a pair of binoculars. Not a very big pair of binoculars - actually a pretty small pair - but it was through the wrong end nonetheless. Everything appeared a bit smaller on my screen, and in my field of vision, than it would if I were looking at it with my own eyes. What I wanted was for the field of view of the game's camera to be exactly what the monitor was occupying in my field of vision, no magnification, no reduction, no distortion: the object's image on my retina exactly the same size as if was looking straight at it, like a window.

So, in order to turn your monitor into a window, you need to work out the visual angle of your monitor in your field of vision and apply it to the camera. This way, you'll have perfect straight lines beaming directly out of your pupil and into the hit game Kerbal Space Program. For that you need to know the width of the monitor, and the distance from the monitor to your eye.

Monitor's Visual Angle = 2 * Arctangent((Monitor Width / 2) / Monitor Distance)

So that's all this mod does. You plug the measurements in, the mod remembers them and applies the "correct" field of view when you load into flight. It's not very noticeable, but there's a certain pleasure in knowing that the scale of Jupiter's storms, of Saturn's rings, of the Moon's craters, and of home, are just as they would appear on your eye were you really there.

This is an automated commit on behalf of Halban
@HebaruSan HebaruSan merged commit 5492af8 into master Oct 13, 2024
1 check passed
@HebaruSan HebaruSan deleted the add/Window branch October 13, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants