Texture Mapping. 2 The Limits of Geometric Modeling Although graphics cards can render over 10 million polygons per second, that number is insufficient.

Slides:



Advertisements
Similar presentations
03/16/2009Dinesh Manocha, COMP770 Texturing Surface’s texture: its look & feel Graphics: a process that takes a surface and modifies its appearance using.
Advertisements

Week 7 - Monday.  What did we talk about last time?  Specular shading  Aliasing and antialiasing.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
Computer Graphics Bing-Yu Chen National Taiwan University.
Objectives Introduce OpenGL buffers and read/write Introduce OpenGL buffers and read/write Introduce texture mapping Introduce texture mapping Introduce.
COMPUTER GRAPHICS CS 482 – FALL 2014 OCTOBER 6, 2014 TEXTURE MAPPING TEXTURES BUMP MAPPING ENVIRONMENT MAPPING PROCEDURAL TEXTURING.
CS4395: Computer Graphics 1 Bump Mapping Mohan Sridharan Based on slides created by Edward Angel.
HCI 530 – Seminar in Advanced Topics 10/8/2004Damian Schofield1 Texturing Based on 3D Rendering, Humphreys, G., University of Virginia, 2004.
Texture Mapping from Watt, Ch. 8 Jonathan Han. Topics Discussed Texture Map to Models Bump Maps, Light Maps Environment (Reflection) Mapping 3D Textures.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Texture Mapping.
Texture Mapping April 9, The Limits of Geometric Modeling Although graphics cards can render over 10 million polygons per second, that number.
Texture mapping. Adds realism to computer graphics Texture mapping applies a pattern of color Bump mapping alters the surface Mapping is cheaper than.
University of New Mexico
Texture Mapping Mohan Sridharan Based on slides created by Edward Angel 1 CS4395: Computer Graphics.
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
Guilford County Sci Vis V204.01
1 Computer Graphics Week13 –Shading Models. Shading Models Flat Shading Model: In this technique, each surface is assumed to have one normal vector (usually.
3D Computer Graphics: Textures. Textures: texels Texture is a way of assigning a diffuse color to a pixel – can be with 1, 2 or 3D- can use maps, interpolation.
1 Texture. 2 Overview Introduction Painted textures Bump mapping Environment mapping Three-dimensional textures Functional textures Antialiasing textures.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 10: Computer Graphics Computer Science: An Overview Tenth Edition.
Modelling and Simulation Types of Texture Mapping.
Chapter 10: Computer Graphics
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 10: Computer Graphics Computer Science: An Overview Tenth Edition.
ECSE 4750: Computer Graphics Rensselaer Polytechnic Institute Nov 5, 2012 Texture and Texture Mapping.
Fundamentals of Computer Graphics Part 9 Discrete Techniques prof.ing.Václav Skala, CSc. University of West Bohemia Plzeň, Czech Republic ©2002 Prepared.
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Texture Mapping.
Texture Mapping. Scope Buffers Buffers Various of graphics image Various of graphics image Texture mapping Texture mapping.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS 1 Shading (Shading) & Smooth Shading Graphics.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
June 9, 2008 Dr. Haim Levkowitz IVPR/CS/UML | 1 Texture.
Texture Mapping Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
1 Texture Mapping. 2 Texture Aliasing MIPmaps Environment Mapping Bump Mapping Displacement Mapping Shadow Maps Solid Textures Antialiasing.
Texture Mapping Software College, Shandong University Instructor: Zhou Yuanfeng
Advanced Computer Graphics Advanced Shaders CO2409 Computer Graphics Week 16.
Game Programming 06 The Rendering Engine
Computing & Information Sciences Kansas State University Lecture 10 of 42CIS 636/736: (Introduction to) Computer Graphics CIS 636/736 Computer Graphics.
Vector Graphics Digital Multimedia Chap 이병희
Texture Mapping May 4, Many slides are borrowed from UNC-CH COMP236 Course (Spring 2003) taught by Leonard McMillan
Bump Mapping Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts Director, Arts Technology Center University of.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Texture Mapping. For Further Reading Angel 7 th Ed: ­Chapter 7: 7.3 ~ 7.9 Beginning WebGL: ­Chapter 3 2.
CSc4820/6820 Computer Graphics Algorithms Ying Zhu Georgia State University Texture Mapping.
Mapping: Image Texturing CPSC 591/691. Texture Mapping Two-dimensional techniques place a two-dimensional (flat) image onto an object using methods similar.
1 Chapter 7 Texture Mapping. 2 The Limits of Geometric Modeling Although graphics cards can render over 10 million polygons per second, that number is.
Chapter 10: Computer Graphics

University of New Mexico
Buffers and texture mapping
Texture Mapping.
Computer Graphics Texture Mapping
Madhulika (18010), Assistant Professor, LPU.
Introduction to Computer Graphics with WebGL
ATEC Procedural Animation
ATCM 3310 Procedural Animation
Graphics, Fall 2017 Lecture 24: Texture Mapping
Introduction to Computer Graphics with WebGL
Chapter 10: Computer Graphics
Angel: Interactive Computer Graphics5E © Addison-Wesley 2009
Chapter 14 Shading Models.
Interactive Graphics Algorithms Ying Zhu Georgia State University
(c) 2002 University of Wisconsin
Introduction to Computer Graphics with WebGL
The Graphics Pipeline Lecture 5 Mon, Sep 3, 2007.
Procedural Animation Lecture 6: Mapping
ATCM 6317 Procedural Animation
Texture Mapping Ed Angel Professor Emeritus of Computer Science
Chapter 14 Shading Models.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Texture Mapping Ed Angel Professor Emeritus of Computer Science
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Presentation transcript:

Texture Mapping

2 The Limits of Geometric Modeling Although graphics cards can render over 10 million polygons per second, that number is insufficient for many phenomena ­Clouds ­Grass ­Terrain ­Skin

3 Modeling an Orange Consider the problem of modeling an orange (the fruit)‏ Start with an orange-colored sphere ­Too simple Replace sphere with a more complex shape ­Does not capture surface characteristics (small dimples)‏ ­Takes too many polygons to model all the dimples

4 Modeling an Orange (2)‏ Take a picture of a real orange, scan it, and “paste” onto simple geometric model ­This process is texture mapping Still might not be sufficient because resulting surface will be smooth ­Need to change local shape ­Bump mapping

5 Three Types of Mapping Texture Mapping ­Uses images to fill inside of polygons Environmental (reflection mapping)‏ ­Uses a picture of the environment for texture maps ­Allows simulation of highly specular surfaces Bump mapping ­Emulates altering normal vectors during the rendering process

6 Texture Mapping geometric model texture mapped

More Than Wallpaper Color or image textures are the simplest form of texture. Real-world surface textures often: ­change with light ­change with viewpoint

8 Bump Mapping

9 Bump Map and Displacement Map Examples: ­Golf ball Bump Map vs. Displacement Map: ­Bump Map: only the looks change ­Displ. Map: the actual surface points change. ­See the next two slides from Crysis 2 DX11 (

12 Figure 8.10 of “3D Computer Graphics, 3 rd Ed.” by Alan Watt

13 Environment Mapping

14 Environment Map Figure 18.9 of “3D Computer Graphics, 3 rd Ed.” by Alan Watt

15 Procedural Texture Do we really need to store the image of a checkerboard? Solid texture. Example: wood carving. More advacned: Perlin noise.

16 Where does mapping take place? Mapping techniques are implemented at the end of the rendering pipeline ­Very efficient because few polygons pass down the geometric pipeline

17 Is it simple? Although the idea is simple---map an image to a surface---there are 3 or 4 coordinate systems involved 2D image 3D surface

18 Coordinate Systems Parametric coordinates ­May be used to model curved surfaces Texture coordinates ­Used to identify points in the image to be mapped World Coordinates ­Conceptually, where the mapping takes place Screen Coordinates ­Where the final image is really produced

19 Texture Mapping parametric coordinates texture coordinates world coordinates screen coordinates

20 Mapping Functions Basic problem is how to find the maps Consider mapping from texture coordinates to a point a surface Appear to need three functions x = x(s,t)‏ y = y(s,t)‏ z = z(s,t)‏ But we really want to go the other way s t (x,y,z)‏

21 Backward Mapping We really want to go backwards ­Given a pixel, we want to know to which point on an object it corresponds ­Given a point on an object, we want to know to which point in the texture it corresponds Need a map of the form s = s(x,y,z)‏ t = t(x,y,z)‏ Such functions are difficult to find in general

22 Aliasing Point sampling of the texture can lead to aliasing errors point samples in u,v (or x,y,z) space point samples in texture space miss blue stripes

23 Area Averaging A better but slower option is to use area averaging Note that preimage of pixel is curved pixel preimage