Supersampling

Supersampling

Supersampling is an antialiasing technique, the process of eliminating jagged and pixelated edges (aliasing). It is a method of smoothing images rendered in computer games or other programs that generate imagery.

Overview

. Since pixels are uniformly colored and always of the same shape , lines become jagged.

Supersampling is one of the ways of solving this problem. Samples are taken at "several" instances inside the pixel (not just at the center as default) and an average color value is calculated. This is achieved by rendering the image at a much higher resolution than the one being displayed, then downsampling (shrinking) it to the desired size, using the extra pixels for calculation. The result is smoother transitions from one line of pixels to another along the edges of objects.

The number of samples determines the quality of the output. Options available normally range from 2x to 32x.

Computational cost and adaptive supersampling

Supersampling is computationally expensive because it requires a lot of video card memory and memory bandwidth, since the amount of buffer used is several times larger. A way around this problem is adaptive supersampling. This works by acknowledging that very few pixels will actually be on a boundary, therefore only these need to be supersampled.

At first only a few samples are made within a pixel. If these values are very similar, only these samples are used for determining color. If not, more are used. The result of this method is that a higher number of samples are calculated only where necessary, thus improving performance.

Types of supersampling

There are several types of supersampling available, and all are variations on where the extra samples are taken inside the pixel.

Grid

The simplest algorithm. The pixel is split in several sub-pixels, and a sample is taken from the center of each. It is fast and easy to implement, although due to the regular nature of sampling, aliasing can still occur if a low number of sub-pixels is used.

Random

Also known as Stochastic Sampling, it avoids the regularity of grid supersampling. However, due to the irregularity of the pattern, samples end up being unnecessary in some areas of the pixel and lacking in others.

Poisson Disc

Again an algorithm that places the samples randomly, but then checks that any two are not too close. End result is even but random distribution of samples. Unfortunately, the computational time required for this algorithm is too great to justify its use in real-time rendering.

Jittered

A combination of the grid algorithm and the Poisson disc (with regard to the end result). A pixel is split into several sub-pixels, but a sample is not taken from the center of each, but from a random point within the sub-pixel. Congregation can still occur, but to a lesser degree.

Rotated Grid

A 2x2 grid layout is used but the sample pattern is rotated to avoid samples aligning on the horizontal or vertical axis greatly improving antialiasing quality for the most commonly encountered cases.

ee also

*Multisample anti-aliasing
*Quincunx
*Graphics card
*Graphics processing unit
*Ray tracing
*Framebuffer
*Game engine
*Image scaling
*2xSaI

References

*cite web | title=High-Resolution Antialiasing (HRAA) |work=Technical Brief: High-Resolution Antialiasing through Multisampling |url=http://www.nvidia.com/object/feature_hraa.html | accessmonthday=May | accessyear=2006

*cite web | title=What is supersampling (antialiasing technique)? |work=Hardware Knowledgebase |url=http://www.neoseeker.com/Hardware/faqs/kb/10,72.html | accessmonthday=May | accessyear=2006

*cite web | title=Supersampling |work=Everything2 |url=http://www.everything2.com/index.pl?node_id=1028947 | accessmonthday=May | accessyear=2006


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Supersampling — bezeichnet: Einen Begriff aus der Druckersprache Eine Technik in der Computergrafik, siehe Antialiasing (Computergrafik) Diese Seite ist eine Begriffsklärung zur Unterscheidung mehrerer mit demselben Wort bezeichneter B …   Deutsch Wikipedia

  • Supersampling — Le supersampling est un terme anglais définissant une action de suréchantillonnage. Dans le domaine de l infographie, ou du rendu en temps réel, le supersampling est un procédé utilisé pour tenter d anticréneler une image. En image, l… …   Wikipédia en Français

  • Jittering — Supersampling bezeichnet: Einen Begriff aus der Druckersprache Eine Technik in der Computergrafik, siehe Antialiasing (Computergrafik) …   Deutsch Wikipedia

  • FSAA — Eine Computergrafik, die oben ohne und unten mit Antialiasing berechnet wurde. Durch Antialiasing wird das harte Erscheinungsbild der Objektkanten geglättet und dünne Objekte fehlerfrei dargestellt. Antialiasing, auch Anti Aliasing, bezeichnet in …   Deutsch Wikipedia

  • Kantenglättung — Eine Computergrafik, die oben ohne und unten mit Antialiasing berechnet wurde. Durch Antialiasing wird das harte Erscheinungsbild der Objektkanten geglättet und dünne Objekte fehlerfrei dargestellt. Antialiasing, auch Anti Aliasing, bezeichnet in …   Deutsch Wikipedia

  • Schriftglättung — Eine Computergrafik, die oben ohne und unten mit Antialiasing berechnet wurde. Durch Antialiasing wird das harte Erscheinungsbild der Objektkanten geglättet und dünne Objekte fehlerfrei dargestellt. Antialiasing, auch Anti Aliasing, bezeichnet in …   Deutsch Wikipedia

  • Treppeneffektglättung — Eine Computergrafik, die oben ohne und unten mit Antialiasing berechnet wurde. Durch Antialiasing wird das harte Erscheinungsbild der Objektkanten geglättet und dünne Objekte fehlerfrei dargestellt. Antialiasing, auch Anti Aliasing, bezeichnet in …   Deutsch Wikipedia

  • Treppenglättung — Eine Computergrafik, die oben ohne und unten mit Antialiasing berechnet wurde. Durch Antialiasing wird das harte Erscheinungsbild der Objektkanten geglättet und dünne Objekte fehlerfrei dargestellt. Antialiasing, auch Anti Aliasing, bezeichnet in …   Deutsch Wikipedia

  • Antialiasing (Computergrafik) — Eine Computergrafik, die oben ohne und unten mit Antialiasing berechnet wurde. Durch Antialiasing wird das harte Erscheinungsbild der Objektkanten geglättet und die dünnen Streifen werden realistischer dargestellt. Antialiasing, auch Anti… …   Deutsch Wikipedia

  • Multisample anti-aliasing — (MSAA) is a type of anti aliasing, a technique used in computer graphics to improve image quality. Contents 1 Definition 2 Description 3 Advantages 4 Disadvantages …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”