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

Resolution doesn't effect zoomlevel. Possible Bug. #25

Closed
roplesk opened this issue Jul 21, 2021 · 3 comments
Closed

Resolution doesn't effect zoomlevel. Possible Bug. #25

roplesk opened this issue Jul 21, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@roplesk
Copy link

roplesk commented Jul 21, 2021

If I change the resolution of the screenshots to 2x the resultion (4096x2160), the viewing distange of the shot becomes 2x larger and the zoomlevel stay constant.

This means the factory is effectfly 2x smaller on the picture, but same level of details.

Here are two consequative frames (scaled down for github).
where inbetween the resolution was changed.

The zoom level does not reduces after playing for longer.
00000204-main
00000205-main

PS: Thank you for this great mod.

@veger
Copy link
Owner

veger commented Jul 26, 2021

The zoom level (and its behavior) is determined by the active tracker.The base tracker and the area tracker should adjust their zoom level to make sure that a certain area (the base or the provided coordinates) stays within the screenshots. So I agree it is a bug that those two should adjust their zoom level when one changes the resolution. (Although this is pretty hard to do properly, as the camera might be zooming in/out at the same time...).

Note that for the rocket launch tracker and the player tracker the zoom level is constant (maximum zoomed in).

Since you didn't specify which tracker was active when you made the screenshots, I'll assume it is one of the first two?

@veger veger added the bug Something isn't working label Jul 26, 2021
@veger veger closed this as completed in 43e221d Jul 27, 2021
@veger
Copy link
Owner

veger commented Jul 27, 2021

I noticed a minor difference in area that is in the screenshot after changing resolution.
Zoom level seemed to be calculated correctly, so I think Factorio itself takes the screenshot slightly different (due to changed zoom level)

@veger
Copy link
Owner

veger commented Jul 27, 2021

Released in v1.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants