[Not a bug] Widescreen Weapon Clipping - 2.0.95
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
Widescreen Weapon Clipping - 2.0.95
Using a 16:9 letterboxed screen resolution, some weapon sprites which are intended to go off the side fo the screen are forced toward the center, making them look silly on occasion. Screenshot attached below.
I'm not entirely sure how this could be fixed, aside from distorting the sprites.
I'm not entirely sure how this could be fixed, aside from distorting the sprites.
I don't think moving them over would look wrong some of the time... I think it would look wrong all of the time. The perspecitve would be incorrect. But how would ZDoom even know that it was a left or right-aligned weapon? What if it is both? ZDoom would have to do some interesting checks (probably against transparent columns) and even that could fail easily.
This is something you will have to deal with if you play widescreen, otherwise talk to the mod authors. It's not something randy can fix.
This is something you will have to deal with if you play widescreen, otherwise talk to the mod authors. It's not something randy can fix.
Haha, take that angled weapon lovers ;P
Nah but seriously, what about just having a r_hudweaponscale cvar that enlarges weapons to suit your video mode?
It wouldnt look awful:
normal:
http://www.stateoftheworld.eclipse.co.u ... OM0000.png
godawful test example scaled at 120%:
http://www.stateoftheworld.eclipse.co.u ... OM0001.png
add another option to decide whether to scale from the centre or the bottom of the screen, and everyone's happy. (this would just be because the larger sprite fills too much vertical space on the screen)
Nah but seriously, what about just having a r_hudweaponscale cvar that enlarges weapons to suit your video mode?
It wouldnt look awful:
normal:
http://www.stateoftheworld.eclipse.co.u ... OM0000.png
godawful test example scaled at 120%:
http://www.stateoftheworld.eclipse.co.u ... OM0001.png
add another option to decide whether to scale from the centre or the bottom of the screen, and everyone's happy. (this would just be because the larger sprite fills too much vertical space on the screen)
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
I dont think it could push it off that much, especially if it takes the scaling origin from the middle of the screen + the highest point of the first frame of the weapon. At any rate, it is still miles better than having a sliced in half weapon, in one of the official games, with a resolution that the game supports. It cant be difficult to scale a weapon either, since they already have to be scaled to fit the screen resolution.
Does anyone care to point me to a wad that uses lots of different angled weapons so that I can experiment with it a bit?
Does anyone care to point me to a wad that uses lots of different angled weapons so that I can experiment with it a bit?
- Ultraviolet
- Posts: 1152
- Joined: Tue Jul 15, 2003 9:08 pm
- Location: PROJECT DETAILS CLASSIFIED.