Author Topic: GUI resolution  (Read 3705 times)

vcxzet

  • Posts: 467
  • Turrets: +21/-13
GUI resolution
« on: September 04, 2012, 08:45:48 pm »
The gui looks blurry when not used it its predefined resolution
The real reason it looks blurry is not directly related to the the rescaling. Probably they go off the pixel grid after the rescale.
For example a rectangle with screen coordinates "x, y, w, h" =  "0.5, 0.5, 1, 1" would look blurry.
But "x, y, w, h" =  "0, 0, 1, 1" would look nice.

I wonder if q3 snaps to pixel grid after the rescale

Also, font rescaling (independent from gui rescaling) affects the outcome

Edit: since I am not allowed to post in a relevant topic just because it is old, I will create a new one

RAKninja-Decepticon

  • Posts: 843
  • Turrets: +14/-679
    • Stupid Videos
Re: GUI resolution
« Reply #1 on: September 04, 2012, 08:52:09 pm »
The gui looks blurry when not used it its predefined resolution
The real reason it looks blurry is not directly related to the the rescaling. Probably they go off the pixel grid after the rescale.
For example a rectangle with screen coordinates "x, y, w, h" =  "0.5, 0.5, 1, 1" would look blurry.
But "x, y, w, h" =  "0, 0, 1, 1" would look nice.

I wonder if q3 snaps to pixel grid after the rescale

Also, font rescaling (independent from gui rescaling) affects the outcome

Edit: since I am not allowed to post in a relevant topic just because it is old, I will create a new one
wouldent that be controlled by the overall settings of your graphics card drivers?

what i mean to say is, would that still be an issue with anti-aliasing always on?
Note 4: The best, although not always easiest, way to deal with trolls is thus: do not respond at ALL in the thread.
Main Rules
4.) No spamming or advertising (includes useless multi-posts and bumps.)
6b.) Do NOT harass other members.
  6c.) Do NOT troll!

/dev/humancontroller

  • Posts: 1033
  • Turrets: +1002/-383
Re: GUI resolution
« Reply #2 on: September 05, 2012, 12:54:40 am »
For example a rectangle with screen coordinates "x, y, w, h" =  "0.5, 0.5, 1, 1" would look blurry.
either in all of 640x480, 1024x768, etc.; or in neither of those.
Also, font rescaling (independent from gui rescaling) affects the outcome
console fonts have fixed widths&heights in pixels, independent of the game window resolution. other fonts (drawn by the modules) are 2D images, like any 2D HUD element, and are subject to rescaling.

having PROBLEMs with high-than-640x480 resolutions? then use 640x480.

E-Mxp

  • Posts: 722
  • Turrets: +27/-10
Re: GUI resolution
« Reply #3 on: September 05, 2012, 01:38:28 pm »
The problem is widescreen, if your resolution is 4:3 then the hud looks fine, resolutions like 16:9 and 16:10 will stretch the hud.
GPP fixes this, so the hud doesn't stretch anymore.