View.draw2d and AA - precision
-
I just noticed that ATI cars, while they don't draw points where the X and Y is whole numbers, they do draw the pixel sharply.
The first set of icons are drawn with
GL_POINTS
- same method the turned blurred on nVidia.The second set is pixels drawn with
GL_LINES
- which is slower, but draws sharply on both nVidia and ATI.If only I could detect the make and AA settings of SU from Ruby...
-
I can confirm that the ATI machine I am on draws sharp edges always. On some stuff I've been working on, my nVidia card draws fuzzy edges, but this ATI mcahine is drawing those same edges as sharp.
Chris
-
All edges?
-
It is the edges around my gradient boxes that are coming out as sharp on this machine. I am not drawing any single pixels anymore at this point. So yeah, just edges. But they definietly come out different than they do on my nvidia card at home.
Chris
-
@chris fullmer said:
It is the edges around my gradient boxes that are coming out as sharp on this machine. I am not drawing any single pixels anymore at this point. So yeah, just edges. But they definietly come out different than they do on my nvidia card at home.
Chris
Even if they are not offset 0.5?
See my last screenshot - the top rectangle is 1px with whole number values. It's fuzzy. (not as fuzzy as on nVidia - but the colour is fainter.) The next one, is offset 0.5.
What cards have you tried? And what OS?
-
it is an 128mb ATI Radeon X600 SE on Win XP.
It appears to be drawing a solid single pixel line. But I have no screen capture utility or anything like photoshop to magnify and inspect the line work. After work tonight I'll install jing and get a good screen capture shoing what it looks like, then you can decide what it really is doing.
Chris
-
And I see that there is no AA turned on in SU (or when I got to the Preference > OPEN_GL tab is says aa=0x)
-
Ah! No AA. Does it not have any AA option?
@chris fullmer said:
After work tonight I'll install jing and get a good screen capture shoing what it looks like, then you can decide what it really is doing.
video? is it not easier to just PrntScrn? -
Jimg makes great .png screen captures and saves them to the desktop. Lets you specify a window size, etc. Add comments, arrows and lines on it afterwards.
For prntscrn, I don't have any app I can paste it into and edit it on this computer. Its like the stone age of computers in this house I'm staying at
No, there was no option avaiable to turn on aa. Maybe I can do it through the video card first? And then it might be available in SU? This is an area I never get into because I have never really cared about how smooth the detail is on my games
But maybe I should figure it out since it also pertains to SketchUp.
Chris
-
hmm... I can use the SU preferences to detect the AA settings of SU. On Windows it's under GLConfig > Display. Then I need to locate that on OSX.
Only thing is that reading registry requires more files and makes for more complicated dependabilities.
And I don't get the make of the card from SU's prefs...
Advertisement