14
votes
How is Anti Aliasing Implemented in Ray Tracing?
Raxvan is completely right that "traditional" anti aliasing techniques will work in raytracing, including those that use information such as depth to do antialiasing. You could even do temporal anti ...
13
votes
Accepted
How is Anti Aliasing Implemented in Ray Tracing?
I think it's safe to say that there are two different ways of doing AA in raytracing:
1: if you have the final image and the depth image it is possible to apply almost all existing techniques that ...
13
votes
Accepted
What is Illustrator's vector rasterization process?
As as far as I can tell Illustrator has 2 or 3 different rasterizer. The onscreen preview is also prone to the same gap artifacting as your show though its tuned to minimize the effect. Your post ...
12
votes
Accepted
Anti-aliasing / Filtering in Ray Tracing
There is a great paper from 2006 on this topic, Filter Importance Sampling. They propose your method 2, study the properties, and come out generally in favor of it. They claim that this method gives ...
12
votes
Accepted
why does black text have orange and blue pixels
This is called subpixel rendering.
The different primary colors in your monitor are not stacked on top of each other. Instead they are arranged near each other. Different monitors have different ...
9
votes
Accepted
What is the fundamental reasoning for anti aliasing using multiple random samples within a pixel?
From a signal processing point of view, you're sampling a continuous-domain signal, and you need to filter it to get rid of frequencies beyond the Nyquist limit. It's that filtering that leads to ...
8
votes
Accepted
What kind of anti-aliasing is used in font rasterization?
Sean Barrett, the author of the stb libraries, wrote an article on how stb_truetype's rasterization works. It's quite readable.
The article describes two methods of antialiasing, both based on ...
8
votes
Accepted
What is the relation between Aliasing and Flickering?
Flickering can be a form of temporal aliasing. It's a similar phenomenon to spatial aliasing such as jaggies, but it occurs in time instead of space.
For instance, a common cause of image flickering ...
7
votes
How is Anti Aliasing Implemented in Ray Tracing?
Let's suppose a fairly typical raytracing main loop:
...
7
votes
Relationship between spatial frequency of an image and Aliasing
Like in any other kind of signal processing, the relationship is Nyquist's theorem. An image is a discrete sequence of samples of a continuous signal. If the original signal has frequency components ...
5
votes
Accepted
Algorithms to "anti-alias" (or somehow improve) binary 1-bit drawings and fonts
PIL's Image.convert function performs dithering by default when you convert the image to 1-bit—not simply thresholding. That's what creates the noise along the ...
5
votes
Accepted
How to solve Z buffer artifacts
Short answer: Move your near clip plane further away.
Depth buffer precision is very sensitive to the near clip plane distance.
Complicated answer: Use different math in your view projection. There ...
5
votes
What is Illustrator's vector rasterization process?
And just to add: it is called "conflation" artifact and this is what AntiGrain Geometry used the compound shapes rasterizer for, see:
(source: sourceforge.net)
Also, this is what NV Path ...
4
votes
What is the fundamental reasoning for anti aliasing using multiple random samples within a pixel?
You are in fact doing both things. You are integrating the area and because your result is still discrete samples you are reconstructing the signal to make it continious function. Therefore the higher ...
4
votes
Accepted
How to never draw "Jaggies" in the first place considering resolution and scale
Well you can render at higher resolution and sample down thhis is called FSAA and should just work without much change to render code. FSAA has the benefit of not having a conflation problem whereas ...
4
votes
Accepted
Main techniques to draw a point at non integer coordinates?
Instead of having a binary on/off per pixel you can instead make a heat map. The more points fall within the pixel the brighter the pixel is. Essentially create a 2D histogram which you then ...
4
votes
Accepted
Sub-pixel antialiasing rules
I'm not sure what happens there. Looking at the rendering of "considerations" in your example, the "cons" looks like what you get when you do crude sub pixel anti-aliasing, without applying the ...
4
votes
FXAA vs MSAA on modern hardware
Most mobile GPUs use tiled rendering, which can make MSAA surprisingly cheap relative to desktop GPUs. If the app is doing simple forward rendering without filtering/blurring passes, the GPU may be ...
4
votes
Accepted
glBlitFramebuffer does not copy all textures
I think you misunderstood the use of glBlitFrameBuffer. When using this to blit Color Buffers, according to the docs,
One thing to keep in mind is this: when using ...
3
votes
Accepted
Unexpected results from Mitchell-Netravali
Mitchell–Netravali has negative lobes, which are generally not recommended for small sample counts from what I understand; you tend to end up with both the positive and negative areas undersampled. ...
3
votes
Algorithms to "anti-alias" (or somehow improve) binary 1-bit drawings and fonts
This is just a supplementary answer based on the accepted answer, using the original 64x128 pixel images instead of the zoomed-in interpolated screen shot.
...
3
votes
Accepted
Origin of blurring and colour distortion in monochrome diagrams
This looks like JPEG artefacts so I guess the image went through a JPEG compression step at one stage and that permanently introduced noise into the image. The red channel is blurred stronger because ...
3
votes
Algorithms to "anti-alias" (or somehow improve) binary 1-bit drawings and fonts
Have a look at Improved Alpha-Tested Magnification for Vector Textures and Special Effects [Gre07] (pdf). The gist of their method is to store distance field information in the font texture instead of ...
3
votes
Screen space line anti aliasing
A gaussian blur with a small kernel size, like 3, would blur the line into adjacent pixels and may be all that is needed.
There is a technique called jump flooding that will turn an image like this, ...
2
votes
Points of a line given in global coordinates to calculate the pixels that are set using the midpoint algorithm without anti-aliasing
When drawing objects that exist in 3D space to a 2D plane (like your monitor or an image), there are a number of spaces that are useful to work in:
Global Coordinates - Somewhere in your 3D world ...
2
votes
FXAA vs MSAA on modern hardware
It's important to understand that "anti-aliasing" techniques like FXAA were invented mainly to deal with the fact that standard methods like multisampling do not work well at all in deferred rendering ...
2
votes
Algorithms to "anti-alias" (or somehow improve) binary 1-bit drawings and fonts
In the olden days, for things like fonts, they didn't do antialiasing. They generally hand made bitmap fonts because it generated the clearest, easiest-to-read results.
That said, you could look into ...
2
votes
Accepted
Screen Space anti aliasing?
The easiest way to deal with this would be to provide thickness for the edges in the continuous setting. That is, make your edges out of solid capsules/cylinders, then you would not have this issue. ...
2
votes
Rotate a Bitmap with Shearing
as paulHK said:
One fundamental issue here is you're rotating in destination space rather than source space (e.g. apply the shear on source coordinates and output a rectangle). This way you can ...
2
votes
Anti-Aliasing simple circle fragment shader
Probably the simplest way is to use smoothstep to make a transition from white to black:
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
antialiasing × 60raytracing × 9
opengl × 7
image-processing × 7
supersampling × 6
filtering × 5
line-drawing × 5
algorithm × 4
sampling × 4
subpixel-rendering × 4
rendering × 3
texture × 3
glsl × 3
pathtracing × 3
fragment-shader × 3
post-processing × 3
rasterizer × 2
hlsl × 2
pixel-graphics × 2
frame-buffer × 2
pixels × 2
ray × 2
font-rendering × 2
3d × 1
shader × 1