Advanced Computer Graphics: - PowerPoint PPT Presentation

About This Presentation
Title:

Advanced Computer Graphics:

Description:

... errors (called artefacts) are: jagged profiles, disappearing or improper fine ... Jagged Profiles. Loss of Detail. 9/12/09. Advanced Computer Graphics. 5 ... – PowerPoint PPT presentation

Number of Views:61
Avg rating:3.0/5.0
Slides: 14
Provided by: edwin5
Category:

less

Transcript and Presenter's Notes

Title: Advanced Computer Graphics:


1
Advanced Computer Graphics
  • James Gain
  • Department of Computer ScienceUniversity of Cape
    Town
  • jgain_at_cs.uct.ac.za

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 Educators Slide
    Set.

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
4
Effects of Aliasing
  • Common aliasing errors (called artefacts) are
    jagged profiles, disappearing or improper fine
    detail, and disintegrating textures.

Jagged Profiles
Loss of Detail
5
Disintegrating Texture
  • The checkers on a plane should become smaller
    with distance.
  • But aliasing causes them to become larger and/or
    irregular.
  • Increasing resolution only moves the artefact
    closer to the horizon.

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.

7
Prefiltering
No Antialiasing
Prefiltering
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
9
Filtering Example
10
Antialiasing Examples
11
(No Transcript)
12
(No Transcript)
13
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com