flarbear -> RE: My-fill-a-pix graphical defects (10/23/2020 9:01:38 PM)
|
I think I have a solution - read on. I am seeing this as well. I have my scaling set to 150% which is the lowest scaling at which I can use my computer effectively (high resolution screens), so while setting it to 100% might make for an interesting test, that is not a solution for me. The easiest way I have to reproduce this is to bring up the info panel on any puzzle. When that happens the entire window gets pixelated and ugly like the screen shots above, even after I dismiss the info panel. The info panel is never smooth, it is already blocky from its first appearance. I can also see it on Fill-a-Pix if I click anywhere in the window to make a move. It starts out smooth and even, but the first click distorts the grid lines and makes the text unsmooth just like bringing up the info panel. What fixes it is to resize the window - suddenly it is smooth again until I do another operation that triggers the degradation. This can also fix the info panel - bring it up (yuk), resize the window, and suddenly the info panel looks nice. I also noticed another subtle detail which might point out why this is happening. When you bring up the info panel, the window it is in gets a little uglier, but it gets even uglier when you dismiss the info panel. This behaves a lot like a program that is rendering with antialiasing that forgets to erase the background before it repaints. If you are doing a screen refresh of antialiased rendering without clearing first then the edges of the AA graphics (and the lines) will become blockier and blockier. It appears that some of your apps will redraw without clearing the background for things like bringing up and dismissing the info panel, or making a move on Fill-a-pix. It would appear that resizing the window does a full refresh, including a clear to the background color, which fixes the antialiasing accumulation problem. The reason the lines would get thicker from this is that some of them are straddling pixel lines on the screen. When rendered with antialiasing a thin line that straddles the edge between pixels is rendered with some gray in each of the pixels. The eye will blend these together and it will look like a thin line from a distance. But, if you render it over and over then the two rows of pixels that should each be 50% gray will slowly become 100% black and the line will look like it is a different size than the others. The eye can't resolve that kind of inconsistency. So, check your redraw routines and make sure they start with a clear so that when they are rendered with anitaliasing you won't accumulate visual "dirt" along the edges of characters, paths, and lines that don't line up with pixel boundaries...
|
|
|
|