A method and system for providing antialiasing of a graphical image on a
display from data describing at least one object is disclosed. The display
includes a plurality of pixels. The method and system include providing a
plurality of fragments for the at least one object. A portion of the
plurality of fragments intersects a pixel of the plurality of pixels. Each
of the plurality of fragments includes a depth value, a slope of the depth
value, and an indication of a portion of a corresponding pixel that is
intersected. The method and system include calculating a plurality of
subpixel depth values for a fragment of the plurality of fragments. The
plurality of subpixel depth values is calculated using the depth value and
the slope of the depth value of the fragment. The method and system
include determining whether to store a portion of the fragment based on
the plurality of subpixel depth values for the fragment and the indication
of the extent the corresponding pixel is intersected by the fragment. The
method and system also include storing the portion of the fragment if it
has been determined that the portion of the fragment is to be stored. The
method and system also include repeating the calculating, determining, and
storing steps for each remaining fragment in the portion of the plurality
of fragments. The method and system also include providing antialiased
data for the pixel based on a second portion of the plurality of fragments
that have been stored.
Un metodo e un sistema per fornire il antialiasing di un'immagine grafica su un'esposizione dai dati che descrivono almeno un oggetto è rilevato. L'esposizione include una pluralità di pixel. Il metodo ed il sistema includono fornire una pluralità di frammenti per il almeno un oggetto. Una parte della pluralità di frammenti interseca un pixel della pluralità di pixel. Ciascuna della pluralità di frammenti include un valore di profondità, un pendio del valore di profondità e un'indicazione di una parte di un pixel corrispondente che è intersecato. Il metodo ed il sistema includono la calcolazione della pluralità di valori di profondità del subpixel per un frammento della pluralità di frammenti. La pluralità di valori di profondità del subpixel è calcolata usando il valore di profondità ed il pendio del valore di profondità del frammento. Il metodo ed il sistema includono la determinazione se immagazzinare una parte del frammento basato sulla pluralità di valori di profondità del subpixel per il frammento e l'indicazione del limite il pixel corrispondente è intersecata dal frammento. Il metodo ed il sistema inoltre includono immagazzinare la parte del frammento se è stato determinato che la parte del frammento debba essere immagazzinata. Il metodo ed il sistema inoltre includono ripetere la calcolazione, la determinazione ed immagazzinare dei punti per ogni frammento restante nella parte della pluralità di frammenti. Il metodo ed il sistema inoltre includono fornire antialiased i dati per il pixel basato su una seconda parte della pluralità di frammenti che sono stati immagazzinati.