1 / 13

Advanced Computer Graphics:

Advanced Computer Graphics:. James Gain Department of Computer Science University of Cape Town jgain@cs.uct.ac.za. Objectives. To show the problems caused by sampling in computer graphics (aliasing). To describe a variety of methods designed to combat these effects (antialiasing).

anthonygary
Télécharger la présentation

Advanced Computer Graphics:

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Advanced Computer Graphics: James Gain Department of Computer ScienceUniversity of Cape Town jgain@cs.uct.ac.za Advanced Computer GraphicsCollaborative Visual Computing Laboratory

  2. Objectives • To show the problems caused by sampling in computer graphics (aliasing). • To describe a variety of methods designed to combat these effects (antialiasing). • Slides taken from ACM SIGGRAPH Educator’s Slide Set. Advanced Computer Graphics

  3. Aliasing • Occurs when the sampling inherent in rendering does not contain enough information for an accurate image. Sampling Pixel Centres Rendered Image Original Scene Scanline Luminosity Sampled Signal Luminosity Signal Advanced Computer Graphics

  4. Effects of Aliasing • Common aliasing errors (called artefacts) are: jagged profiles, disappearing or improperfine detail, and disintegrating textures. Jagged Profiles Loss of Detail Advanced Computer Graphics

  5. Disintegrating Texture • The checkers on a plane should become smaller with distance. • But aliasing causes them to become larger and/or irregular. • Increasing resolutiononly moves the artefact closer to the horizon. Advanced Computer Graphics

  6. Antialiasing • Developed to combat aliasing. • Applies to all types of aliasing – PSC, RT and temporal. • Prefiltering: • Treat a pixel as an area. Calculate overlap of polygon with pixel. Costly • Postfiltering (supersampling): • Compute pixel colour by averaging multiple samples. Preferred Method. • Sample the scene at n times the display resolution. For example, suppose the display resolution is 512x512. Sampling at three times the width and three times the height of the display resolution would yield 1536x1536 samples. • A filter provides the weights used to compute the average. Advanced Computer Graphics

  7. Prefiltering No Antialiasing Prefiltering Advanced Computer Graphics

  8. Postfiltering • Sampling: take jittered, regular or random samples. • Averaging: use an filter to assign weights to each sample. Sum all the weighted samples to obtain a pixel. Jittered Regular Advanced Computer Graphics

  9. Filtering Example Advanced Computer Graphics

  10. Antialiasing Examples Advanced Computer Graphics

  11. Advanced Computer Graphics

  12. Advanced Computer Graphics

  13. Advanced Computer Graphics

More Related