Page 1 of 2

Infinite Map Zoom Out

Posted: Tue Dec 05, 2017 1:14 pm
by Trusty McLegit
Original thread: viewtopic.php?f=4&t=58545
I think either removing the zoom out cap all together or adjusting it to the size of the map properly would both be suitable sollutions

Re: Infinite Map Zoom Out

Posted: Sat Dec 09, 2017 9:43 am
by _mental_
Customization of empty space margin for automap added in ebb926e.
You can set desired safe frame up to half size of the map using item in Automap options menu or using am_emptyspacemargin CVAR directly in percentage of the full map size.

Re: Infinite Map Zoom Out

Posted: Tue Dec 12, 2017 10:55 am
by Hypersonic
Awesome, thanks for the modification!

So
am_emptyspacemargin is a number from 0 to 50 that determines safe_frame (which then ranges from 1 to 0.5)
safe_frame multiplies a and b, and min_scale_mtof is set to whichever is the smallest.

If safe_frame is 1 nothing changes from how it already is. As safe_frame approaches 0.5 both a and b become smaller, making min_scale_mtof smaller, and that allows one to zoom out more?

Re: Infinite Map Zoom Out

Posted: Wed Dec 13, 2017 12:08 am
by _mental_
Yes, the lower minimum scale means smaller limit on visible map size.

Re: Infinite Map Zoom Out

Posted: Wed Dec 13, 2017 5:50 am
by drfrag
May be i'm missing something but i already can zoom out the entire map in e4m1 without this, which resolution were you using? My CRT monitor only supports up to 1280.

Re: Infinite Map Zoom Out

Posted: Wed Dec 13, 2017 6:30 am
by _mental_
You can always zoom out entire map. However the actual map view depends on the current video resolution.
For particular aspect ratios it's almost impossible to position the map to be fully visible.
With adjustable margin for empty space player can customize zoomed out map scale.

Re: Infinite Map Zoom Out

Posted: Wed Dec 13, 2017 8:15 am
by Hypersonic
I discovered this oddity on E4M1, waiting in the west room (where you get the red key) for demons in the NIN room. Using am_cheat 2 I tried to zoom out enough to see if they were going to come to where I was, or if they were stuck on something.

Perhaps if you're in the center of the map you can zoom out to see most of the map, but it would be nice if you were on the edge of the map and still be able to zoom out enough to see the entire map, where the whole map is on one side of the screen and its empty on the other side.

Re: Infinite Map Zoom Out

Posted: Wed Dec 13, 2017 9:00 am
by _mental_
Turn off follow mode, using F key by default.

Re: Infinite Map Zoom Out

Posted: Wed Dec 13, 2017 10:08 am
by Hypersonic
True, but instead of just pressing tab real quick you then have to press the follow toggle key and shift the view over to map center. With high resolution even with the entire map on just half the screen you can see alot of detail. Doom came out with 0.064 mega pixel resolution, with source ports like GZDoom we now have 8.3 mega pixel resolution and beyond.

Re: Infinite Map Zoom Out

Posted: Wed Dec 13, 2017 1:20 pm
by drfrag
_mental_ wrote:For particular aspect ratios it's almost impossible to position the map to be fully visible.
With adjustable margin for empty space player can customize zoomed out map scale.
Okay, added here as well. :)

Re: Infinite Map Zoom Out

Posted: Thu Dec 14, 2017 12:10 am
by _mental_
I can increase empty space margin to let’s say 90% but that’s all I would do for this feature.

Re: Infinite Map Zoom Out

Posted: Thu Dec 14, 2017 7:43 am
by Hypersonic
That would be great, thanks. Can't wait to test it out.

Re: Infinite Map Zoom Out

Posted: Thu Dec 14, 2017 8:23 am
by _mental_
Increased limit for empty space margin to 90% in de12902.

Re: Infinite Map Zoom Out

Posted: Fri Dec 29, 2017 9:40 am
by Hypersonic
Wow, am_emptyspacemargin 90 made a huge difference. Not only can you now see all of Doom1 e4m1, but you can zoom out so far the entire map becomes a postage stamp! Not a problem though, this allows people to have any zoom they desire now, thanks! Can zoom in so far that the player arrow fills up the vertical screen. I wonder why the arrow has 1pp printed, 1 police plaza?

Re: Infinite Map Zoom Out

Posted: Fri Dec 29, 2017 9:50 am
by Rachael
That's DOS-age vertex art for you. Lines had no defined thickness because it simply was not needed, so they were always only one pixel thick.