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 : Guides : Articles : How It Works: Fragment Anti-Aliasing
» Join the Greatest Gaming Community NOW! (It's free)

Already a member? Login
 



Random Gallery >> 
Click to view high-res Image!
Neverwinter MMORPG May 2012 Screenshots [27] (0)

Drink That S#!t Up! (14) by p4l1ndr0m3
[Entry] Crank That S#!t Up Video Contest (5) by Animehero
[FX] 3-Screen Effect - Guide (part-2) (0) by nGAGE
My First Entry For Crank That S#!T Up! (2) by deathknight.92
My Crank that S#!t up entry :) (15) by ZEZgames
[FX] 3-Screen Effect - Guide (part-3) (0) by nGAGE
Crank that SH#!t Up Contest Entry (10) by Boltshot
Whoz's Cranking that S#!T (13) by whozthisguy
My Crank That Sh#!t Up! entry :D (3) by chipmunk995
Superlative Computer (6) by arvernis

More Blogs >>




How It Works: Fragment Anti-Aliasing
December 04, 2002   Dave Barron > [View My Other Articles]
Product Info | User Reviews | Article Images(3) | Image Gallery | Comments | Forum Thread
Multisampling/Fragement Algorithms


Displaying the final image

The first step in multi-sampling is to consider the scene theoretically double in size in both the horizontal and vertical (thus, the picture is a total of four times larger). A triangle edge mask is used to locate those pixels that fall along each triangle edge. Edge pixels take a unique color sample for every sub-pixel, writing four separate color and Z values to their respective buffers. On the other hand, pixels not located on a triangle edge will all share the same original color value, writing four identical color values to the color buffer. Every depth (Z) value will be independently calculated.

On finalizing the scene the image is down-sampled, often using a run-of-the-mill bilinear filter. The four color values are averaged into a single pixel, resulting in the displayed pixel. With the edge pixels having had each sub-pixel uniquely sampled, the filtered value will be an average of the four samples that fell along the edge, creating a more accurate, and anti-aliased value. With this completed for the entire frame, the buffer is flipped and the image is displayed.

This, of course, is just a general overview of one multi-sampling implementation. The actual process is slightly more complex, but for our purposes here, this level of understanding will suffice.

The advantages of multi-sampling over super-sampling are two fold. Multi-sampling requires little additional fill-rate in the implementation we discussed, while in other implementations it can require no greater fill-rate at all. Additionally, with all internal pixels requiring only a single pixel sampling (i.e. A bilinear filtered pixel requires 4 samples, where a super-sampled bilinear filtered pixel requires 16 samples), the result is just a slight increase in texture reads.

On the negative side, buffer storage requirements are extensive, as is bandwidth consumption. Just as with super-sampling, color and z-buffers because four times larger than at the selected resolution. A linear increase in bandwidth consumption takes place, with larger buffers requiring greater bandwidth.

Fragment Level Algorithms

Fragment level algorithms do not work on a sub-pixel level, but rather on a fragment level. A sub-pixel is effectively an entire pixel of its own, whereas a fragment is simply a segment of a complete pixel. A sub-pixel will store a full color and Z value, where a fragment will only store information regarding a segment of a complete pixel.

Buffer sizes do not increase with fragment level algorithms, as the number of pixels dealt with is exclusively dependant on the selected resolution. A variation in storage is only found in that the fragment data must be stored in a separate buffer. This storage requirement is notably less than with multi-sampling, as similar anti-aliasing levels can be achieved with relatively few fragments.




Back! Page 1     How is fragment level anti-aliasing different from multi-sampling? 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
I am an AMD AgentRead this Media-Blog entry!» Crank that s#!t up to 11!!! (14)
by jarrodthome (105) 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
NVIDIA nearly stole some of 3dfx’s thunder with their Detonator 5 release. One unsupported feature was anti-aliasing!

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