Texture Mapping
CPSC 453 – Fall 2018 Sonny Chan Outline for Today & Friday
• Motivation
• Texture mapping function
• Texture sampling
• Surface properties Motivation
Triangle Geometry?
69400 triangles 251 triangles texture mapped
[from M. Tarini et al., Computer Graphics Forum 19(3), 2000] Texture mapping is the use of an image to store and render spatially varying surface properties. A real world example of a texture mapping problem Three Sub-Problems
• Defining the texture mapping function
• Looking up the image values: sampling
• Modifying surface properties The Mapping Function The Mapping Function
• Defined from object space to texture space: