Computer Graphics Class Notes: Texture Filtering and Mipmapping - Prof. Pradeep Sen, Study notes of Computer Graphics

These class notes from ece/cs 412 introduction to computer graphics cover the topics of texture filtering and mipmapping. The differences between screen space samples and texture samples, the use of reconstruction filters, and the problems with standard mipmapping. An introduction to anisotropic filtering is also provided.

Typology: Study notes

Pre 2010

Uploaded on 07/23/2009

koofers-user-f8r-1
koofers-user-f8r-1 ๐Ÿ‡บ๐Ÿ‡ธ

5

(2)

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
ECE/CS 412 Introduction to Computer Graphics
Pradeep Sen Class 18 โ€“ October 29, 2008
ECE/CS 412
Introduction to
Computer Graphics
Pradeep Sen
Advanced Graphics Lab
Class 18
October 29, 2008
ECE/CS 412 Introduction to Computer Graphics
Pradeep Sen Class 18 โ€“ October 29, 2008
Last time
๎šƒStarted talking about texture mapping
ECE/CS 412 Introduction to Computer Graphics
Pradeep Sen Class 18 โ€“ October 29, 2008
Today
๎šƒTexture filtering
ECE/CS 412 Introduction to Computer Graphics
Pradeep Sen Class 18 โ€“ October 29, 2008
Texture filtering
๎šƒScreen space samples are closer together
than texture samples (magnification)
โ€“ OpenGL provides two reconstruction filters:
GL_NEAREST, GL_LINEAR
๎šƒScreen space samples are farther apart
than texture samples (minification)
โ€“ Summed area tables
โ€“ Mipmapping
ECE/CS 412 Introduction to Computer Graphics
Pradeep Sen Class 18 โ€“ October 29, 2008
Summed area tables
ECE/CS 412 Introduction to Computer Graphics
Pradeep Sen Class 18 โ€“ October 29, 2008
Mipmapping
๎šƒMIP- multum in parvo (many things in a small place)
๎šƒTechnique in which to perform pre-computed
filtering for minification
Space usage 1.3 x more than the standard texture!
pf2

Partial preview of the text

Download Computer Graphics Class Notes: Texture Filtering and Mipmapping - Prof. Pradeep Sen and more Study notes Computer Graphics in PDF only on Docsity!

ECE/CS 412 Introduction to Computer Graphics Pradeep Sen Class 18 โ€“ October 29, 2008

ECE/CS 412

Introduction to

Computer Graphics

Pradeep Sen Advanced Graphics Lab

Class 18 October 29, 2008

ECE/CS 412 Introduction to Computer Graphics Pradeep Sen Class 18 โ€“ October 29, 2008

Last time

ยƒ Started talking about texture mapping

ECE/CS 412 Introduction to Computer Graphics Pradeep Sen Class 18 โ€“ October 29, 2008

Today

ยƒ Texture filtering

ECE/CS 412 Introduction to Computer Graphics Pradeep Sen Class 18 โ€“ October 29, 2008

Texture filtering

ยƒ Screen space samples are closer together than texture samples (magnification)

  • OpenGL provides two reconstruction filters: GL_NEAREST, GL_LINEAR ยƒ Screen space samples are farther apart than texture samples (minification)
  • Summed area tables
  • Mipmapping

ECE/CS 412 Introduction to Computer Graphics Pradeep Sen Class 18 โ€“ October 29, 2008

Summed area tables

ECE/CS 412 Introduction to Computer Graphics Pradeep Sen Class 18 โ€“ October 29, 2008

Mipmapping ยƒ MIP- multum in parvo (many things in a small place) ยƒ Technique in which to perform pre-computed filtering for minification

Space usage 1.3 x more than the standard texture!

ECE/CS 412 Introduction to Computer Graphics Pradeep Sen Class 18 โ€“ October 29, 2008

Mipmapping

ยƒ Accessing the mipmap

ECE/CS 412 Introduction to Computer Graphics Pradeep Sen Class 18 โ€“ October 29, 2008

Problems with mipmapping

ยƒ Decimated textures all have a square footprint (isotropic) Here, screen samples in the u direction are more dense than in the v direction! If you choose ds/du for the bias, you will have aliasing in v. If you select dt/dv for the bias, you will have blurring in u

source: wikipedia with standard mipmapping

ECE/CS 412 Introduction to Computer Graphics Pradeep Sen Class 18 โ€“ October 29, 2008

Anisotropic filtering

ยƒ Approximate the pixel โ€œfootprintโ€ with an ellipse

ยƒ Compute contribution in ellipse through multi-sampling

ECE/CS 412 Introduction to Computer Graphics Pradeep Sen Class 18 โ€“ October 29, 2008

Reading

ยƒ Angel thru Ch 8