WelcomeTo Our Presentation
1
Introducing Group Members
Name ID
2
Anti-Aliasing
What does Antialiasing mean?
“ Antialiasing is a software technique for diminishing jaggies- stair step -like
lines that should be smooth. ”
Even though the jagged appearance
is reduced, it makes the image look
fuzzier.
(Anti-Aliasing (with and without))
Anti-aliasing: Definition
Antialiasing is a technique used in digital imaging to reduce the visual defects
that occur when high-resolution images are presented in a lower resolution
output devices like the monitor or printer.
Before and After of Anti-Aliasing
Aliased polygons
(jagged edges)
Anti-aliased polygons
Antialiasing Techniques
• Two general approaches: Area sampling and super-sampling
• Area sampling approaches sample primitives with a box (or Gaussian, or whatever)
rather than spikes
1. Requires primitives that have area (lines with width)
2. Sometimes referred to as pre-filtering
• Super-sampling samples at higher resolution, then filters down the resulting image
i. Sometimes called post-filtering
ii. The prevalent form of anti-aliasing in hardware
Area Sampling
• shade pixels according to the area covered by thickened line
• this is un-weighted area sampling
• a rough approximation formulated by dividing each pixel into a finer grid of
pixels
Super-sampling
• Sample at a higher resolution than required for display,
and filter image down
• Issues of which samples to take, and how to average them
• 4 to 16 samples per pixel is typical
• Samples might be on a uniform grid, or randomly
positioned, or other variants
• Number of samples can be adapted
Anti aliasing in OpenGL
• OpenGL calculates a coverage value for each fragment based on
the fraction of the pixel square on the screen that it would cover.
• In RGBA mode, OpenGL multiplies the fragment’s alpha value by its
coverage.
• Resulting alpha value is used to blend the fragment with the
corresponding pixel already in the frame buffer.

Antialiasing

  • 1.
  • 2.
  • 3.
  • 4.
    What does Antialiasingmean? “ Antialiasing is a software technique for diminishing jaggies- stair step -like lines that should be smooth. ” Even though the jagged appearance is reduced, it makes the image look fuzzier. (Anti-Aliasing (with and without))
  • 5.
    Anti-aliasing: Definition Antialiasing isa technique used in digital imaging to reduce the visual defects that occur when high-resolution images are presented in a lower resolution output devices like the monitor or printer.
  • 6.
    Before and Afterof Anti-Aliasing Aliased polygons (jagged edges) Anti-aliased polygons
  • 7.
    Antialiasing Techniques • Twogeneral approaches: Area sampling and super-sampling • Area sampling approaches sample primitives with a box (or Gaussian, or whatever) rather than spikes 1. Requires primitives that have area (lines with width) 2. Sometimes referred to as pre-filtering • Super-sampling samples at higher resolution, then filters down the resulting image i. Sometimes called post-filtering ii. The prevalent form of anti-aliasing in hardware
  • 8.
    Area Sampling • shadepixels according to the area covered by thickened line • this is un-weighted area sampling • a rough approximation formulated by dividing each pixel into a finer grid of pixels
  • 9.
    Super-sampling • Sample ata higher resolution than required for display, and filter image down • Issues of which samples to take, and how to average them • 4 to 16 samples per pixel is typical • Samples might be on a uniform grid, or randomly positioned, or other variants • Number of samples can be adapted
  • 10.
    Anti aliasing inOpenGL • OpenGL calculates a coverage value for each fragment based on the fraction of the pixel square on the screen that it would cover. • In RGBA mode, OpenGL multiplies the fragment’s alpha value by its coverage. • Resulting alpha value is used to blend the fragment with the corresponding pixel already in the frame buffer.

Editor's Notes

  • #5 Anti-aliasing option in games Definition : “ Technology that removes jaggies & the staircase effect from images and video games in real-time making the scene smooth “ How jaggies & staircase effect occur Difference between straight line & a diagonal Preventing staircase effect Upgrade display device Anti-Aliasing
  • #7 Basic anti-aliasing methods Increase sample rate Render in higher resolution & down sample to display resolution Blur Edges (Post Processing) Done after rendering Methods MSAA & FXAA Work fundamentally the same way How hey work Take samples around missing data & fill with appropriate data