Page 1 of 1

[Fixed for V0.47] distortion using full screen?

Posted: Fri Feb 22, 2008 5:20 pm
by Gambit37
OK, here's the setup:

1) RTC is set to run at 640 x 480 x 24
2) My 1280 x 1024 monitor is set to perform "Fixed Aspect Ratio Scaling"
3) The RTC display is correctly doubled (1280x960) and some small black bars added to the top and bottom to fill in the missing 64 pixels.

However, despite this, the image has still been blurred slightly. I would have thought that because the ratio simply doubles, that instead of 1 LCD pixel = 1 RTC pixel, it would now be 2x2 LCD pixels = 1 RTC pixel, and therefore no distortion would occur -- everything would just be twice as big.

Do LCDs always perform some kind of approximation when upscaling, even on exact pixel doubling?

I like crisp graphics and I'm bemused why I'm still getting fuzziness at these settings. I want my crisp old school graphics back!

EDIT: Here's a simulation of the problem. Obviously I couldn't get an actual screengrab of the upscaling as that's not done by the graphics card. Top one is 640x480 crisp, bottom one is how it looks when scaled by the monitor.

Image
Image

Posted: Fri Feb 22, 2008 5:31 pm
by linflas
the best would be that RTC does the scaling itself, not only in windowed mode but also in fullscreen.
on my lcd laptop, i run RTC in 1280x800x24 windowed and it's perfect !

Posted: Fri Feb 22, 2008 5:38 pm
by Gambit37
Interesting ... let me check that out -- I don't use window mode...

Posted: Fri Feb 22, 2008 5:47 pm
by Gambit37
Uh....what? I just tried both 1280x960 and 1280x800 in windowed mode and the behaviour is completely different from fullscreen!

Where has the extra space gone? It's been cropped off! I'm using a 640x480 image as a background to the interface and in window mode, the extra 80 pixels is missing.

Anyway, even at a an exact doubling ratio (640x480 -> 1280x960 ) RTC is also doing some interpolation and giving me fuzzy edges. This isn't a solution. :-(

GG can you shed some light on the situation with resolutions in RTC? It's baffling to me. I know the engine basically only deals with a 640x400 display but by allowing us to use the extra space in a 640x480 resolution, could you not make it so that the behavious is consistent across both fullscreen and windowed?

Posted: Sun Feb 24, 2008 2:03 pm
by George Gilbert
This is just a straight bug - now fixed for V0.47

Posted: Sun Feb 24, 2008 3:43 pm
by Gambit37
Could you please clarify what's been fixed?

1) The original problem -- the blurring of exactly doubled resolutions, or
2) Windows mode doesn't work the same as Fullscreen (cropping)

Cheers.

Posted: Sun Feb 24, 2008 3:56 pm
by George Gilbert
Both - the bug was that RTC was stretching the 640x400 "DM" view to fill the 640x480 "window" view.

It now doesn't do this which means that it doesn't distort and the black bars are back (assuming you specify a window bigger than 640x400).

Posted: Sun Feb 24, 2008 4:08 pm
by Gambit37
Coolio! Thank you GG.