credomane / FactorioMods_FactorioMaps

Jeroon's Factorio Maps mod
http://www.factorioforums.com/14582
47 stars 7 forks source link

0.15 HD zoom level #14

Open Yttrium-tYcLief opened 7 years ago

Yttrium-tYcLief commented 7 years ago

Similar to #7 and its corresponding commit 68ed262934ddf1a99c3333d2ff60ad48253fd906, it would be great to have a feature for one more zoom level larger than the current "Extra Zoom", so that you get full resolution from the new HD sprites in 0.15. The current "extra zoom" option gets you full resolution for the old low-res sprites.

I tried adding it myself but couldn't figure it out, even with the pointers suggested in #7.

credomane commented 7 years ago

The problem is the absolute max zoom as allowed by the FactorioMaps code determine the zoom levels is 1:1. Which is 1 pixel in the game is 1 pixel in the image. With extraZoom disabled the code has the max zoom at 0.85:1 or something around there. Adding an extra extra zoom would actually just be lowering quality by stretching the images.

[edit]
I really just need to redo the whole screenshot loop code. I reworked it once from the original code to fix a bug making maps of tiny bases but I really just need to completely rewrite it from scratch.

Yttrium-tYcLief commented 7 years ago

1:1 would be fine. The issue is that it isn't 1:1, it's actually less. You can zoom further in 0.15 because the new sprites are twice the resolution of the old ones. Rendering an image where the HD sprites are output 1:1 is what I'm after.

On May 26, 2017 13:42, "Credomane Evonguard" notifications@github.com wrote:

The problem is the absolute max zoom as allowed by the FactorioMaps code determine the zoom levels is 1:1. Which is 1 pixel in the game is 1 pixel in the image. With extraZoom disabled the code has the max zoom at 0.85:1 or something around there. Adding an extra extra zoom would actually just be lowering quality by stretching the images.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/credomane/FactorioMods_FactorioMaps/issues/14#issuecomment-304345651, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_S06xkJ0BQpG-gseuOFtwOvi6pkPKtks5r9w8NgaJpZM4NjDvN .