FiringSquad: Home of the Hardcore Gamer - Games, Hardware, Reviews and NewsSubmit your own or view users' CPU overclocking results!

  
 Home   News   THE MATRIX   Deals   Hardware   Games   Features   Media   Products   Forums   FS China 
AddThis Social Bookmark Button

Home : Features : Articles : Multi-Sampling Anti-Aliasing Explained
» Join the Greatest Gaming Community NOW! (It's free)

Already a member? Login
 



Random Gallery >> 
Click to view high-res Image!
Call of Duty: Black Ops 2 Debut Screenshots [6] (0)

Superlative Computer (6) by arvernis
My Entry for the Crank that SH#!T Up Contest (12) by TheGamesHD
Drink That S#!t Up! (14) by p4l1ndr0m3
Nvidia+Socom Cranks that $#%^ UP!!!!! (4) by mrinfinit3
Crank that SH#!t Up Contest Entry (10) by Boltshot
The Nvidia "Crank That S#!T Up" Quiz Show! (21) by mohawkade
My Entry For The Contest. (6) by D4rk Force
Crank that s#!t up to 11!!! (14) by jarrodthome
[FX] 3-Screen Effect - Guide (part-1) (0) by nGAGE
[Entry] Crank That S#!t Up Video Contest (5) by Animehero

More Blogs >>




Multi-Sampling Anti-Aliasing Explained
February 13, 2001   Dave Barron > [View My Other Articles]
Product Info | User Reviews | Article Images(4) | Image Gallery | Comments | Forum Thread
Multi-sampling

Back to super-sampling

As discussed earlier, there are performance issues with super-sampling that leave us with the realization that a different anti-aliasing implementation is needed to be more efficient with today's level of graphics technology.

We know super-sampling works by averaging multiple sub-pixels to achieve each single output pixel. So in a given situation, you might be running at 800x600, using 2x2 (4x) anti-aliasing. Here you are effectively rendering at 1600x1200 and then averaging 2x2 grids of pixels to achieve an output. This is very expensive to perform because for every one pixel outputted we need 4 pixel inputs (which means four color values and four Z values). Here is an illustration of this:

So we see that the problem with super-sampling is that it simply needs too much fill-rate. You either require a separate pipeline for each sample (as in a multi-sample combining implementation) or multiple clocks to render all of the samples in each pixel. This is slow and inefficient.

Multi-sampling is just like super-sampling in that you are effectively rendering at four times your base resolution, yet here all of the sub-samples share the same color value of the original sample. What is different between each sub-pixel, however, is the Z value. Each sample therefore has a unique Z value. Here is an illustration of the sub-pixels when multi-sampling is used.

How do we do it?

To really understand multi-sampling we need to have an understanding of the pixel pipeline and how it operates when multi-sampling is in use. When looking at this illustration, keep in mind that there are a variety of possible implementations; this is simply a generic and somewhat optimal situation.

Multi-Sampling Anti-Aliasing Explained [ The multi-sampling pixel pipeline @ 721 x 1000 ] > View Full-Size in another window.
The multi-sampling pixel pipeline

Note that the initial stage of the pipeline does your typical texture lookup, retrieves your Z value, and sends your Z-slope down the pipeline. Included in this stage of the pipeline would also be anything involving texture combining for pixel shaders. In the next stage of the pipeline, sample coverage is determined in order to see which sub-samples fall within a given triangle. You then effectively multiply your screen by 4x the base resolution, and with the coverage information present we determine which sub-samples are rendered, and the Z-slope is used to determine where these sub-samples are positioned (assuming you are using a jittered value). Finally, each Z-unit calculates the Z value of each sample and then they are rendered.

Of course there are many different methods of doing multi-sampling. Some machines may do things in very different orders. For example, one might compute the Z values for each sub-sample very early in the pipeline or sample coverage might be computed later in the pipeline. Perhaps some machines might require multiple clocks as well. Everything is dependent on how the developer implements multi-sampling.

Back! Why the blur?     It's the same bandwidth hit! Next!
Blog + Share: Digg Del.icio.us Reddit SU furl • More: AddThis Social Bookmark Button
Send This Article to a Friend!  
Table of Contents
  Print Entire Article  

MATRIX CONTENT » RANDOM MEDIA BLOG More Blogs >>
No ratings yet
» Please rate this
Read this Media-Blog entry!» HOW I CRANK THAT S#!T UP!! (4)
by nvidia4life (2) Talk with this user on their Shout Box (My other blogs) Posted 34 months ago


 Hottest Topics
Two new GRID 2 gameplay trailers speeding your way (1)
Minecraft PC sales surpass the 8 million mark (0)
New Grand Theft Auto 5 trailer debuts main characters (0)
Crysis 3 'The Fields' campaign gameplay trailer (0)
New Far Cry 3 trailer focuses on co-op campaign (0)
Today's News >>
Today's Siteseeing >>


 Table of Contents


 Quick Fact
One of the big advantages of deferred rendering is the ability to do multi-sampling anti-aliasing for free.


FiringSquad is powered by... Back to Top Site MapContact UsAdvertise With Us Privacy StatementAbout Us  
News RSSSiteseeing RSSArticle RSS   © 1998-2013 FS Media, Inc. All Rights Reserved