This preview shows page 1. Sign up to view the full content.
Unformatted text preview: of the rest ECS 175 Chapter 3: Object Representation 36 Texture Mapping and Rasterization
• How do we map texels to pixels?
• Look up texel at pixel center (point sampling; nearest neighbor) • Linear filtering (average texels around pixel center location) ECS 175 Chapter 3: Object Representation 37 Texture Mapping and Rasterization
• Magnification: texel maps to multiple pixels
• Minification: pixel maps to multiple texels CC-SA Wojciech Mula OpenGL demo in class
ECS 175 Chapter 3: Object Representation 38 Texture Mapping and Rasterization
• Create low resolution texture images for minification
• Similar to low-pass filtering before sampling
• Faster rendering
• Reduced aliasing ECS 175 Chapter 3: Object Representation 39 Texture Mapping Textures on curved 3D
objects are distorted CC-SA Beuc ECS 175 Chapter 3: Object Representation 40 Triangles and Rasterization - Summary
• Vertices, lines, triangles are easily mapped to fragments
• Rasterization produces fragments from continuous primitives
• Fragments have interpolated attributes
• Texture coordinates
• Alpha • Strong aliasing effects can be caused by sampling ECS 175 Chapter 3: Object Representation 41 General Object Representations
• So far we hav...
View Full Document
- Spring '08