3 registered members (NewbieZorro, TipmyPip, 1 invisible),
19,045
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Anti-Aliasing
[Re: PHeMoX]
#76726
06/08/06 02:17
06/08/06 02:17
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
You can see the effects anti-aliasing would have if you did this short experiment:
1. Run your level so that objects with hard edges are seen, such as the edge of a block or a polygon where nothing is behind it but sky or some other object. Run in 1280x960 (not 1280x1024). 2. Take a screenshot (save as BMP or PNG, not JPG - use file_for_screen to do this). 3. Run the level again only at 640x480 resolution and take the screenshot from the exact same position, again using BMP or PNG. 4. Run GIMP and open the screenshot you took running in 1280x960. Go to image > scale image, make sure linear is used for the interpolation and scale the image down to 640x480.
This scaled down image would be the effect produced by 2x anti-aliasing. Compare it to the one without it. The one with 2x anti-aliasing is much clearer and almost seems to lack fine edges and looks more life-like. The one without it has considerable hard edges and doesn't look as good. If you want to go a step further, repeat the process for a 320x240 screenshot of the same area. Scale down the 1280x960 image to 320x240 and the 640x480 image down to the same size. The one that was 1280x960 simulates 4x anti-aliasing where hard edges are virtually undetectable, even with 16x zoom. The one that was 640x480 does have the hard edges noticeable, but they are tricky to see. The one that was 320x240 has serious hard edges and are easily seen, even without zoom. So yes, anit-aliasing makes a huge difference in visual quality, especially just 2x. Much above 4x has little meaning. The mountains' edges in my 2D game have what would be 2x anti-aliasing as there are 5 degrees of transparency (0%, 25%, 50%, 75% and 100%). You can only detect them by running at a low resolution (800x600) or taking a screenshot and zooming in.
I suggest that the default is set to 2x. Why 2x as the default? It takes more graphics processing power to render anything higher and, short of using a rather low resolution (not in windowed mode) and/or taking a screenshot and zooming in, it's barely noticable.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Re: Anti-Aliasing
[Re: PHeMoX]
#76728
06/09/06 00:37
06/09/06 00:37
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
I mentioned that anything much above 4x anti-aliasing has little meaning, not 2x. Yes, there is a considerable difference between 2x and 4x, but the eye doesn't make it out as well. Between 8x and 4x, it's very tricky to see any difference without taking a screenshot and zooming in on it.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Re: Anti-Aliasing
[Re: Orange Brat]
#76730
06/09/06 01:59
06/09/06 01:59
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
A huge difference between 4x and 8x? It's otherwise very difficult to find such a difference unless there's otherwise a high-contrast line such as an white object being rendered onto a black object. Normally, this amount of contrast is rarely seen, usually only half to 3/4 of that.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
|