iXBT Labs - Computer Hardware in Detail

Platform

Video

Multimedia

Mobile

Other

May 2004 3Digest: Full Screen AntiAliasing (FSAA)




Full Screen Antialiasing is called to improve output image quality. Before we'd just provided you with performance of this technology, but now we decided to expand this section and provide quality features as well. In this issue we continue our examination on a number of new cards.
There's various sorts of antialiasing (as well as anisotropy) :-). Moreover, various companies implement their own AA. We won't describe the details of various antialiasing kinds here, but will sum them up.

So, what is antialiasing and how is it used? To answer this, we should turn to physics and linguistics. The latter is simple: "anti" is clear and "aliasing" is jaggies. As the monitor features a number of pixels vertically and horizontally, vertical or horizontal lines will appear perfect, following one another. But if the line is a kind of diagonal, it will look jaggy, because pixels are organized in the 2D matrix, limited by the screen resolution. So what should we do, if we can't change our monitors? Still user's eyes and mind can be tricked. This is done by various antialiasing algorithms.
As the task is clear, the algorithm is as follows. As pixel color is encoded in 8 to 32 bits (there can be more, but human eye won't distinguish 64-bit color from 32-bit, for example) it can be substituted. For example, there are two colors, white and black. They are contrary and produce a clear BORDER=1 when near. So, if we draw a black line on the white background, it won't be straight (unless vertical or horizontal), but jaggy. To make it more perfect, we need to paint borders over, i.e. blend colors. In the given case, it's a blend of black and white. As a result, we'll get gray color on the both sides of displacement points. In most cases we'll save the original line color, but sometimes the new one may replace the original. The size of matrix is important as well. For example, if it's 800x600, jaggies will be more obvious, comparing to 1600x1200 with lesser displacement. I.e., larger matrix corresponds to higher capacity and smaller pixels. Actually, it's more of a whim to use antialiasing at 1600x1200, comparing to 800x600. But everything is more complex.

To confuse you even more ;-) here are excerpts from NVIDIA World articles with our additions.
During antialiasing each pixel is divided into subpixels. Pixel color is averaged with some formula, given subpixel colors. At that, though physical resolutions remains the same, the effective resolutions becames considerably higher.
Two most popular approaches include supersampling and multisampling. Both are based on defining pixel color by blending subpixel (sample) colors, though samples are generated differently.
Supersampling is the simplest and straightforward method. The image is calculated in virtual resolution, several times higher than the actual. After that it's scaled and filtered to the original resolution. The color of each pixel is defined using several subpixels. This enables to improve image quality considerably, but resultes in several times higher graphics card load and thus performance falloff. The reason is that it needs to calculate several times more colors for a pixel instead of one, for example, AA 2x2 at 800x600 will require the calculation of 800x2 x 600x2, i.e. 1600x1200.
Multisampling is a more complex and intellectual approach or rather a tool. The idea is very simple as well: why stupidly calculate N subpixels for each pixel, if we can reuse already calculated ones again and again to form several resulting pixels. On the other hand, no AA is needed in some image parts, so why use several subpixels, if one is enough? Vice versa, some parts require very good AA, so we need to calculate many more subpixels there. This enables not only to save resources significantly, but also to obtain better AA quality! The tool can be used as one likes, and performance and quality depend on the implementation, selected by graphics card or game developer.

Now let's get to specific implementations of makers' AA. Let's start with the most unusual and original solution of Matrox.
FSAA supported by Parhelia-512 is currently unique and is close to ideal. Essentially, it's supersampling with up to 16 calculations per pixel. But it's performed ONLY (!) for polygon BORDER=1 dots (3-5% of a typical scene). The advantage is clear: unlike multisampling, it doesn't keep redundant data in memory and transfer them over the bus! The total frame buffer size increases slightly, up to by a factor of two even with the max. 16x setting. A special fast rendering pass is used to determine BORDER=1 pixels, when graphics card marks only BORDER=1 polygon pixels in a separate buffer without calculating textures and painting intermediate pixels. Besides, as only borders are processed, there's no texture sharpness losses, peculiar to FSAA and some hybrid MSAA techniques. Nowever, this intellectual AA can still produce artefacts in some cases. Besides, it can't correctly process borders mixed with transparent polygons (like clouds, glass, fire).

NVIDIA AA is clearly described in articles at NVIDIA World. We are not going to post them again, but just provide the links to them. The basic article is here. This newer article describes NVIDIA AA technologies.

As for ATI AA, it's reviewed here along with other companies' antialiasing.

Let's now finish with theory and move to the performance.

The following cards were used in these tests:

Tests were conducted on our AMD Athlon 64 3200+ based testbed and FarCry game.

But we must know what we spend the performance for. As you can see the falloffs are rather great, we'd like to know if we really need it. Here are the screenshots from the tests, indicating the actual quality of different antialiasing modes.

During tests we found out that FarCry v.1.1 doesn't force AA from NVIDIA 61.11 drivers control panel. Therefore we had to force it ingame. As you know, there are None, Low, Middle, and High settings, where Middle should be AA4x, while High - AA8x. Why should? Because the game refused to enable High setting! So both Middle and High produced the same performance results suitable for AA4x.

Experimentally we found out that renaming farcry.exe miraculously enabled AA in drivers control panel as well as enabled AA8x ingame.

We also found out that preferable AA activation method was ingame, not in drivers. So NVIDIA disabled the latter, so you can't mess with control panel more then you are allowed to :)



Andrey Vorobiev (Anvakams@ixbt.com)
Kirill Budankov (budankov@ixbt.com)
07.05.2004


Article navigation:



blog comments powered by Disqus

  Most Popular Reviews More    RSS  

AMD Phenom II X4 955, Phenom II X4 960T, Phenom II X6 1075T, and Intel Pentium G2120, Core i3-3220, Core i5-3330 Processors

Comparing old, cheap solutions from AMD with new, budget offerings from Intel.
February 1, 2013 · Processor Roundups

Inno3D GeForce GTX 670 iChill, Inno3D GeForce GTX 660 Ti Graphics Cards

A couple of mid-range adapters with original cooling systems.
January 30, 2013 · Video cards: NVIDIA GPUs

Creative Sound Blaster X-Fi Surround 5.1

An external X-Fi solution in tests.
September 9, 2008 · Sound Cards

AMD FX-8350 Processor

The first worthwhile Piledriver CPU.
September 11, 2012 · Processors: AMD

Consumed Power, Energy Consumption: Ivy Bridge vs. Sandy Bridge

Trying out the new method.
September 18, 2012 · Processors: Intel
  Latest Reviews More    RSS  

i3DSpeed, September 2013

Retested all graphics cards with the new drivers.
Oct 18, 2013 · 3Digests

i3DSpeed, August 2013

Added new benchmarks: BioShock Infinite and Metro: Last Light.
Sep 06, 2013 · 3Digests

i3DSpeed, July 2013

Added the test results of NVIDIA GeForce GTX 760 and AMD Radeon HD 7730.
Aug 05, 2013 · 3Digests

Gainward GeForce GTX 650 Ti BOOST 2GB Golden Sample Graphics Card

An excellent hybrid of GeForce GTX 650 Ti and GeForce GTX 660.
Jun 24, 2013 · Video cards: NVIDIA GPUs

i3DSpeed, May 2013

Added the test results of NVIDIA GeForce GTX 770/780.
Jun 03, 2013 · 3Digests
  Latest News More    RSS  

Platform  ·  Video  ·  Multimedia  ·  Mobile  ·  Other  ||  About us & Privacy policy  ·  Twitter  ·  Facebook


Copyright © Byrds Research & Publishing, Ltd., 1997–2011. All rights reserved.