The reduction of unwanted effects caused by the limited pixel grid or by the staircase effect.
Questions tagged [antialiasing]
56 questions
25
votes
1 answer
Anti-aliasing / Filtering in Ray Tracing
In ray tracing / path tracing, one of the simplest way to anti-alias the image is to supersample the pixel values and average the results. IE. instead of shooting every sample through the center of the pixel, you offset the samples by some…
RichieSams
- 3,652
- 24
- 35
22
votes
2 answers
What is Illustrator's vector rasterization process?
I am currently trying to understand a few things about vector graphics rasterization and the different ways it is implemented in various application types.
I tested and compared a few programs and noticed that there is a major difference in the way…
Gentle Moose
- 385
- 2
- 6
17
votes
2 answers
Subpixel Rendering for a Ray Tracer
In font rendering, it is common to use subpixel rendering. The basic idea here is to break the pixel into its RGB components and then compute a value for each separately. Since each component is smaller than the entire pixel, higher quality…
imallett
- 1,870
- 10
- 23
17
votes
1 answer
why does black text have orange and blue pixels
Why is it that when you zoom in to some black text you find that it is made up of orange, slightly black and blue pixels like the picture below.
HEGX64
- 273
- 2
- 6
15
votes
4 answers
How is Anti Aliasing Implemented in Ray Tracing?
After reading a few articles online I can confidently say I am clueless on how Anti-Aliasing works when using Ray Tracing.
All I understand is that A Single Pixel/Ray is split into 4 sub-pixels and 4 rays rather than 1.
Could somebody please explain…
Arjan Singh
- 2,463
- 3
- 20
- 37
13
votes
2 answers
Fast antialiased line drawing
Bresenham's line algorithm is a way of drawing straight lines using only fast integer operations (addition, subtraction, and multiplication by 2). However, it generates aliased lines. Is there a similarly fast way to draw antialiased lines?
Mark
- 1,572
- 15
- 21
13
votes
2 answers
Sub-pixel antialiasing rules
I recently had an issue with sub-pixel anti-aliasing of text, which produces very harsh colours and made me wonder how it is meant to be done properly:
I've drawn some cases of a black tile covering thirds of pixels below.
The colours match the…
jozxyqk
- 669
- 5
- 16
12
votes
2 answers
What is the fundamental reasoning for anti aliasing using multiple random samples within a pixel?
In graphics, it's common to take multiple samples within the bounds of a pixel and combine them together (most commonly just doing an average) for a final sample pixel color. This has the effect of anti aliasing an image.
On one hand this makes…
Alan Wolfe
- 7,711
- 3
- 29
- 72
10
votes
1 answer
How do I accurately compute coverage of overlapping analytical curves?
Antialiasing of 2D shapes boils down to computing the fraction of a pixel that is covered by the shape. For simple non-overlapping shapes, this is not too difficult: clip the shape against the pixel rectangle and calculate the resulting shape's…
John Calsbeek
- 3,882
- 19
- 31
7
votes
2 answers
What kind of anti-aliasing is used in font rasterization?
I'm writing my own TrueType font rasterizer as an exercise to improve my knowledge in computer graphics (along with a basic vector graphics engine). At this stage, I have implemented most of the TTF file parsing, decoding glyph outlines, scaling,…
Chris
- 263
- 1
- 5
7
votes
1 answer
How to never draw "Jaggies" in the first place considering resolution and scale
Ok, I have a simulation I am trying to make. The entire simulation is drawn by circles (with gl_Point) and rectangles (gl_triangles with indices).
It would be great to add some anti aliasing especially as there scale is usually rather small.
My…
J.Doe
- 1,445
- 11
- 22
6
votes
4 answers
Algorithms to "anti-alias" (or somehow improve) binary 1-bit drawings and fonts
These days anti-aliasing uses gray scale pixel values on displays with high pixel counts.
I'd like to take a step back in time and learn what is available for anti-aliasting or at least improving the quality of curved lines and fonts drawn on…
uhoh
- 330
- 1
- 12
6
votes
1 answer
Anti-aliasing - Controlling colour density of pixel that comes within the "rectangle" surrounding my line
I am currently a beginner when it comes to anti-aliasing. I have read some notes online that how anti-aliasing works is that you first draw the line using an algorithm such as Bresenham's algorithm. Then you modify it to include anti-aliasing.
Now,…
Belphegor
- 163
- 3
6
votes
1 answer
What is the relation between Aliasing and Flickering?
So in the class I've learned that Aliasing refers to the jagged edges resultant from the discrete nature of computer graphics way of representation.
Also, I know that Anti-aliasing refers to a technic (mainly of blurring) to remove (our camouiflage)…
Tiago Duque
- 163
- 4
4
votes
1 answer
Main techniques to draw a point at non integer coordinates?
I've difficulties in looking for an answer by myself because I don't know the jargon. I need somebody who'll points me in the right direction.
Assume I have 100000 points with coordinates in the unit square, so points like (0.55313, 0.236831).
I…
Giovanni Resta
- 143
- 3