[Added] Infinite Map Zoom Out

Moderator: Developers

Infinite Map Zoom Out

Postby Trusty McLegit » Tue Dec 05, 2017 2:14 pm

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
User avatar
Trusty McLegit
 
Joined: 07 Feb 2016

Re: Infinite Map Zoom Out

Postby _mental_ » Sat Dec 09, 2017 10:43 am

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.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Infinite Map Zoom Out

Postby Hypersonic » Tue Dec 12, 2017 11:55 am

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?
Hypersonic
 
Joined: 14 Aug 2017

Re: Infinite Map Zoom Out

Postby _mental_ » Wed Dec 13, 2017 1:08 am

Yes, the lower minimum scale means smaller limit on visible map size.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Infinite Map Zoom Out

Postby drfrag » Wed Dec 13, 2017 6:50 am

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.
User avatar
drfrag
I.R developer, I.R smart
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain

Re: Infinite Map Zoom Out

Postby _mental_ » Wed Dec 13, 2017 7:30 am

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.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Infinite Map Zoom Out

Postby Hypersonic » Wed Dec 13, 2017 9:15 am

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.
Hypersonic
 
Joined: 14 Aug 2017

Re: Infinite Map Zoom Out

Postby _mental_ » Wed Dec 13, 2017 10:00 am

Turn off follow mode, using F key by default.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Infinite Map Zoom Out

Postby Hypersonic » Wed Dec 13, 2017 11:08 am

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.
Hypersonic
 
Joined: 14 Aug 2017

Re: Infinite Map Zoom Out

Postby drfrag » Wed Dec 13, 2017 2:20 pm

_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. :)
User avatar
drfrag
I.R developer, I.R smart
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain

Re: Infinite Map Zoom Out

Postby _mental_ » Thu Dec 14, 2017 1:10 am

I can increase empty space margin to let’s say 90% but that’s all I would do for this feature.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Infinite Map Zoom Out

Postby Hypersonic » Thu Dec 14, 2017 8:43 am

That would be great, thanks. Can't wait to test it out.
Hypersonic
 
Joined: 14 Aug 2017

Re: Infinite Map Zoom Out

Postby _mental_ » Thu Dec 14, 2017 9:23 am

Increased limit for empty space margin to 90% in de12902.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Infinite Map Zoom Out

Postby Hypersonic » Fri Dec 29, 2017 10:40 am

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?
Hypersonic
 
Joined: 14 Aug 2017

Re: Infinite Map Zoom Out

Postby Rachael » Fri Dec 29, 2017 10:50 am

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.
User avatar
Rachael
QZDoom + Webmaster
 
Joined: 13 Jan 2004

Next

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: BLEX [Bot], _mental_ and 2 guests