Scaled up by 20%

Moderator: GZDoom Developers

User avatar
FLYBAT
Posts: 89
Joined: Thu Jul 19, 2012 3:04 pm

Scaled up by 20%

Post by FLYBAT »

Could you please get rid of the 200->240? It's annoying.
Seriously, look at this:
Image

I am aware of the possibility to play with original appearance of the game graphics by choosing 320x200 or 640x400.
But the problem is that all other resolutions are stretched. All of them.

This is FullHD:
Image

Why is there no possibility to at least turn this horrendous "feature" on or off? It's 2014 for Christ's sake.
Last edited by FLYBAT on Mon Dec 29, 2014 4:41 am, edited 1 time in total.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Scaled up by 20%

Post by Gez »

User avatar
FLYBAT
Posts: 89
Joined: Thu Jul 19, 2012 3:04 pm

Re: Scaled up by 20%

Post by FLYBAT »

What do you mean by that?
User avatar
Dark-Assassin
Posts: 743
Joined: Thu Mar 19, 2009 3:40 am
Location: South Australia

Re: Scaled up by 20%

Post by Dark-Assassin »

320x200 and 640x400 are a 16:10 aspect ratio, however old CRT displays displayed them as 4:3 instead, thus actually stretching the image vertically.
User avatar
Enjay
 
 
Posts: 27069
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Scaled up by 20%

Post by Enjay »

FLYBAT wrote:What do you mean by that?
Doom wiki wrote: Doom's in-game graphics were designed specifically for the tall pixels of the 320x200 screen mode
That being said, I would love the option to switch off the 1:1.2 scaling for mods that are not intended to be Doom-like and which do not need to rely on correcting graphics like Doom. This would be particularly useful in a mod featuring models which are not scaled in this way.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Scaled up by 20%

Post by Gez »

FLYBAT wrote:
What do you mean by that?
That your "eye candy" is fat, and that your "monstrosity" is how Doom is supposed to look.
User avatar
FLYBAT
Posts: 89
Joined: Thu Jul 19, 2012 3:04 pm

Re: Scaled up by 20%

Post by FLYBAT »

Gez wrote:your "eye candy" is fat, and that your "monstrosity" is how Doom is supposed to look
I don't think it's fat. I see perfect square pixels arranged in a beautiful artwork. And the stretched one is, well, stretched. It's horrible.

A problem more serious is that you have to scale all your graphics down by 20% to make them look as you intended in the game. You thus have ugly HUD graphics and disgusting actors all around.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49231
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Scaled up by 20%

Post by Graf Zahl »

That's all quite irrelevant. The original was designed for a pixel ratio of 1:1.2, not 1:1, and that's what nearly all ports implement.
User avatar
edward850
Posts: 5889
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: Scaled up by 20%

Post by edward850 »

Enjay wrote:That being said, I would love the option to switch off the 1:1.2 scaling for mods that are not intended to be Doom-like and which do not need to rely on correcting graphics like Doom. This would be particularly useful in a mod featuring models which are not scaled in this way.
From what I'm capable of determining, the software rendering projection code has the 1:1.2 logic embedded into it (which would also explain the static table for resolutions?). The screen space is still 1:1, but the world is projected at the necessary ratio to compensate, which also means things like the automap don't distort with it.
You may be looking at "effort not fit for purpose" request, there.
FLYBAT wrote:I don't think it's fat. I see perfect square pixels arranged in a beautiful artwork. And the stretched one is, well, stretched. It's horrible.
The ironic part is, had you actually read the wiki article, you would see that Doom's art is not intended for your point of view at all, by any standard. Yet again, for prosperity:
Image
Left: Aspect ratio corrected status bar face, as it would appear in Vanilla Doom at VGA 320x200, stretched on a 4:3 aspect ratio monitor. Right: Status bar face without aspect ratio correction. Center: The Mona Lisa
Edit:
[00:14:27] <chungy> the status bar in his "monstrosity" image is still wrong :P
[00:14:48] <Edward850> ... what the...
[00:14:54] <Edward850> My mind!
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: Scaled up by 20%

Post by NeuralStunner »

Enjay wrote:That being said, I would love the option to switch off the 1:1.2 scaling for mods that are not intended to be Doom-like and which do not need to rely on correcting graphics like Doom. This would be particularly useful in a mod featuring models which are not scaled in this way.
I'd like this quite a lot as well. But probably the only way it's going to happen is for a significant number of mods to require it.

Personally I've played at an unadjusted 8:5 (and not just Doom engine) for so long that anything else doesn't look right.
User avatar
Enjay
 
 
Posts: 27069
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Scaled up by 20%

Post by Enjay »

NeuralStunner wrote:I'd like this quite a lot as well. But probably the only way it's going to happen is for a significant number of mods to require it.
And, of course, unless it's available, mods won't be made to require it. ;)

I know, for example, that it was something that would have been liked for [wiki]Paranoid[/wiki]. It was pointed out during the testing phase that where walls had circular shapes on them (such as a fire hose reel) these were in contrast to circular models which were properly circular.

When making models that you want to match level architecture (e.g. a crate model that looks like map-made crates), you have to remember to either make the model 20% taller than its Doom map height or scale it in modeldef to be 20% taller.

Models that rotate along a horizontal axis are particularly weird. If you make them perfectly circular in end view, in game they look like ovals when they rotate unless you scale them up by 20% in the z direction.

Basically, any mod that makes heavy use of models could potentially benefit from being able to use 1:1 rather than 1:1.2 because, models, by default, use 1:1 scaling and (usually) look better that way too (IMO).

As for how difficult it is, I know that Nash has tried it and, from memory, he was able to do it in a relatively simply manner by changing a define somewhere in gl_scene.cpp I think. How appropriate and robust this is for an actual built-into-the-engine modding feature, I have no idea.


I don't see it really having a place in any Doom themed and styled mods but it would potentially be a useful feature for anyone trying to mod outside that environment. Equally, however, unlike a rotating model, I'm not going to get all bent out of shape over it. It would be great to have the feature but I understand the low priority it has.
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: Scaled up by 20%

Post by NeuralStunner »

Enjay wrote:And, of course, unless it's available, mods won't be made to require it. ;)
Basically all of my mods "require" it, because it's the environment under which they were made.
Enjay wrote:I don't see it really having a place in any Doom themed and styled mods but it would potentially be a useful feature for anyone trying to mod outside that environment.
I almost don't make Doom mods, so this puts it near the top of my wishlist. Keep in mind, it wouldn't affect me directly - But it would ensure anyone else would be able to see the mod the same way I do when making it, and I won't have to deflect complaints about things looking "squished".

Any case where you want to rotate a sprite or texture 90 degrees looks completely daft post-adjustment. Obviously square textures turn irritatingly non-square when put on a wall. Scale goes completely boneheaded when 64 units vertically to not visibly match 64 units horizontally. In GZDoom especially, things look completely loopy if you look down and turn. All problems that are entirely reasonable to want to eradicate. Entirely worht it to me, but then, I have absolutely no clue how to do it myself. (I don't think even Graf touches the software renderer often.)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49231
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Scaled up by 20%

Post by Graf Zahl »

Enjay wrote: As for how difficult it is, I know that Nash has tried it and, from memory, he was able to do it in a relatively simply manner by changing a define somewhere in gl_scene.cpp I think. How appropriate and robust this is for an actual built-into-the-engine modding feature, I have no idea.
I might note that at least I managed to move the stretching factor from the projection to the view matrix.
This means no more distortion when looking up and down. And since it's no longer baked into several constant values (finding and understanding those was the big issue here that kept me from changing it earlier) it should be doable with a little work to set it per mod in the GL renderer.
Of course nothing of this means that the original motivation of this thread has any merit whatsoever.
Blzut3
 
 
Posts: 3207
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: Scaled up by 20%

Post by Blzut3 »

edward850 wrote:Edit:
[00:14:27] <chungy> the status bar in his "monstrosity" image is still wrong :P
[00:14:48] <Edward850> ... what the...
[00:14:54] <Edward850> My mind!
Since correcting 320x200 to 320x240 always looks awful (simply not enough pixels for nearest scaling), ZDoom chooses to make an exception and forgo the correction in that case.

https://github.com/rheit/zdoom/blob/mas ... r.cpp#L281
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Scaled up by 20%

Post by Gez »

"VirticalResolution" :geek:
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”