SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > SRB2 Forum Archives > Bug Reports (2.1.X)

 
 
Thread Tools Search this Thread
Old 08-16-2016   #1
Zwip-Zwap Zapony
Please just call me Zappy.
 
Zwip-Zwap Zapony's Avatar
Default OpenGL always renders at 16:10 aspect ratio

Software rendering renders at the appropriate width/height ratio selected. But hardware rendering (OpenGL) seems to always render at 16:10 (the "green resolutions"), even if that doesn't match up with the width/height ratio selected. See the attached screenshots for an exaggerated example (double width/double height of a "green resolution").

Additionally, in software rendering, HUD elements are scaled based on the multiple of 320x200 resolution one chose (for example 640x399 would have the same HUD resolution as 320x200, but 640x400 would have HUD elements at 2x the width and height of 320x200, offsetting most HUD elements appropriately when applicable), while in hardware rendering (OpenGL), the HUD is assumed to always be scaled up to the selected resolution, regardless of whether the HUD will then be multiplied by an integer amount (like software) or a floating point value (something with decimals). I can provide an "exaggerated screenshot" of this as well if requested.
Attached Thumbnails
Click image for larger version

Name:	Horizontal.jpg
Views:	206
Size:	171.1 KB
ID:	8769   Click image for larger version

Name:	Vertical.jpg
Views:	197
Size:	176.7 KB
ID:	8770  

Last edited by Monster Iestyn; 09-13-2018 at 03:45 PM.
Zwip-Zwap Zapony is online now  
Old 08-16-2016   #2
SANICBOOM644
Blue Hedgehog Acceleration
 
SANICBOOM644's Avatar
Default

OpenGL is incomplete and buggy
__________________
Friend Code 3DS :
NNID Wii U: luigiboy6444
Smash and Pokemon ORAS, and Mario KArt
SANICBOOM644 is offline  
Old 08-17-2016   #3
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

I'm actually not sure if this is really a bug or not, if I must be honest. Seems kind of intentional in some ways... the HUD doesn't appear to try to act like software at all, it's literally the screen at the normal aspect ratio stretched out or squished in to fit those non-standard resolutions from the looks of it.

And yes, OpenGL has bugs. That doesn't need stating in a thread about an OpenGL bug in the bug reports forum though.
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".

Last edited by Monster Iestyn; 08-17-2016 at 12:07 AM.
Monster Iestyn is offline  
Old 08-17-2016   #4
Zwip-Zwap Zapony
Please just call me Zappy.
 
Zwip-Zwap Zapony's Avatar
Default

Quote:
Originally Posted by Monster Iestyn View Post
I'm actually not sure if this is really a bug or not, if I must be honest.
While yes, it's probably not something that's coded incorrectly in any way, more the lack of something to be coded, I think most people would consider "fix OpenGL rendering everything at the wrong aspect ratio" to work better as a bug report, not a feature suggestion. After all, software works expectedly, while OpenGL doesn't work like software at all in this regard. Can't quite explain what I mean, but you probably know what I mean.

Quote:
Originally Posted by Monster Iestyn View Post
Seems kind of intentional in some ways... the HUD doesn't appear to try to act like software at all, it's literally the screen at the normal aspect ratio stretched out or squished in to fit those non-standard resolutions from the looks of it.
Which I can't see how would be intentional. Why should a HUD element have some parts that are 1 pixel wider or taller than other parts of the same HUD element? Let alone that the width isn't even equal to the height? And don't forget, it's not just the HUD, but the in-game world itself too.
Zwip-Zwap Zapony is online now  
Old 08-22-2016   #5
Prime 2.0
Grape flavored
Administrator
 
Prime 2.0's Avatar
Default

Resolution-specific field of view was just never implimented in openGL. At least this is better than the bad old days when a non-standard resolution would screw up the HUD in openGL at the same time it was stretching the screen...
__________________
Science tells us that nothing can be proven, only rendered more likely to be true. If we do not question what we already know, how can we know, much less admit, when we're wrong? Such things are vital to progress.
Prime 2.0 is offline  
Old 05-26-2018   #6
Sryder13
'That brit'
Judge
 
Sryder13's Avatar
Default

Pretty sure this has been fixed in master branch.
__________________
Quote:
<MonsterIestyn> try ctrl+f masturbation and get to the point
Sryder13 is offline  
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:28 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.