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

Allow drawing the world on only part of the screen #2870

Open
slipher opened this issue Dec 11, 2023 · 2 comments
Open

Allow drawing the world on only part of the screen #2870

slipher opened this issue Dec 11, 2023 · 2 comments
Labels

Comments

@slipher
Copy link
Contributor

slipher commented Dec 11, 2023

When reading #1383 it occurred to me that another good alternative to changing the FOV for wide screens in fullscreen mode could be drawing only on part of the screen. You know, like when watching a movie and there are black bars on the sides. A similar functionality actually already exists in the cvar cg_viewsize. This cvar lets you shrink the area in which the world is drawn. It's not helpful for wide screens though, as it is a single scale factor which preserves the aspect ratio of the screen. Also RmlUi doesn't respond to cg_viewsize; we'd probably want to shrink the menu too and definitely the HUD.

@slipher slipher added A-Renderer T-Feature-Request Proposed new feature labels Dec 11, 2023
@DolceTriade
Copy link
Member

I thought the main reason people mess with FOV is to gain additional advantage to see more enemies ot the left and right?

@slipher
Copy link
Contributor Author

slipher commented Dec 11, 2023

If the aspect is really wide, stuff on the sides of the screen gets excessively stretched out. So we may want to do something here just to prevent it from looking bad in this manner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants