Infinite Map Zoom Out
Moderator: GZDoom Developers
- Trusty McLegit
- Posts: 264
- Joined: Sun Feb 07, 2016 8:42 pm
Infinite Map Zoom Out
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
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
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.
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.
-
- Posts: 134
- Joined: Mon Aug 14, 2017 3:04 pm
Re: Infinite Map Zoom Out
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?
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
Yes, the lower minimum scale means smaller limit on visible map size.
- drfrag
- Vintage GZDoom Developer
- Posts: 3141
- Joined: Fri Apr 23, 2004 3:51 am
- Location: Spain
- Contact:
Re: Infinite Map Zoom Out
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
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.
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.
-
- Posts: 134
- Joined: Mon Aug 14, 2017 3:04 pm
Re: Infinite Map Zoom Out
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.
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
Turn off follow mode, using F key by default.
-
- Posts: 134
- Joined: Mon Aug 14, 2017 3:04 pm
Re: Infinite Map Zoom Out
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.
- drfrag
- Vintage GZDoom Developer
- Posts: 3141
- Joined: Fri Apr 23, 2004 3:51 am
- Location: Spain
- Contact:
Re: Infinite Map Zoom Out
Okay, added here as well._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.
Re: Infinite Map Zoom Out
I can increase empty space margin to let’s say 90% but that’s all I would do for this feature.
-
- Posts: 134
- Joined: Mon Aug 14, 2017 3:04 pm
Re: Infinite Map Zoom Out
That would be great, thanks. Can't wait to test it out.
Re: Infinite Map Zoom Out
Increased limit for empty space margin to 90% in de12902.
-
- Posts: 134
- Joined: Mon Aug 14, 2017 3:04 pm
Re: Infinite Map Zoom Out
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
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.