CSE 681 Texture Mapping: 2D Texturing. CSE 681 Texture Mapping Visual complexity on demand Vary display properties over object Location on object used.

Slides:



Advertisements
Similar presentations
Cylindrical and Spherical Coordinates
Advertisements

Texture Mapping I Real-time Rendering Texture Mapping I CSE 781 Prof. Roger Crawfis.
03/16/2009Dinesh Manocha, COMP770 Texturing Surface’s texture: its look & feel Graphics: a process that takes a surface and modifies its appearance using.
CSE 681 Texture mapping - other methods Environmental mapping Bump mapping.
Texture Mapping. Texturing  process that modifies the appearance of each point on a surface using an image or function  any aspect of appearance can.
Computer Graphics Bing-Yu Chen National Taiwan University.
Texture Visual detail without geometry. Texture Mapping desire for heightened realism.
Week 7 - Wednesday.  What did we talk about last time?  Transparency  Gamma correction  Started texturing.
COMPUTER GRAPHICS CS 482 – FALL 2014 OCTOBER 6, 2014 TEXTURE MAPPING TEXTURES BUMP MAPPING ENVIRONMENT MAPPING PROCEDURAL TEXTURING.
Week 9 - Wednesday.  What did we talk about last time?  Fresnel reflection  Snell's Law  Microgeometry effects  Implementing BRDFs  Image based.
Sampling, Aliasing, & Mipmaps
ARCH 481 3d Modeling and Rendering lecture four: texture maps.
Texture Mapping CPSC /24/03 Abhijeet Ghosh.
Computer Graphics (Spring 2008) COMS 4160, Lecture 19: Texture Mapping Many slides from Greg Humphreys, UVA and Rosalee.
Mesh Parameterization: Theory and Practice Non-Planar Domains.
Texture Mapping April 9, The Limits of Geometric Modeling Although graphics cards can render over 10 million polygons per second, that number.
University of New Mexico
Texture Mapping Texture Mapping Ltjg Omer Arisut Turkish Navy Turkish Navy Texture Mapping Texture Mapping Ltjg Omer Arisut Turkish Navy Turkish Navy.
ITUppsala universitet Data representation and fundamental algorithms Filip Malmberg
Cylindrical and Spherical Coordinates Representation and Conversions.
Map Projections Displaying the earth on 2 dimensional maps
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
Map Projection & Coordinate Systems
1 Texturing. 2 What is Texturing? 3 Texture Mapping Definition: mapping a function onto a surface; function can be:  1, 2, or 3D  sampled (image) or.
Computer Graphics Inf4/MSc Computer Graphics Lecture 9 Antialiasing, Texture Mapping.
Geometric Correction It is vital for many applications using remotely sensed images to know the ground locations for points in the image. There are two.
Section 17.5 Parameterized Surfaces
ECSE 4750: Computer Graphics Rensselaer Polytechnic Institute Nov 5, 2012 Texture and Texture Mapping.
1 Texture Mapping ©Anthony Steed Overview n Texture mapping Inverse and Forward Mapping Bilinear interpolation Perspective correction n Mipmapping.
PolyCube-Maps seamless texture mapping
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
09/09/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Event management Lag Group assignment has happened, like it or not.
CS 638, Fall 2001 Today Project Stage 0.5 Environment mapping Light Mapping.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
CS-378: Game Technology Lecture #4: Texture and Other Maps Prof. Okan Arikan University of Texas, Austin V Lecture #4: Texture and Other Maps.
Textures Repeated patterns Texture can be uniform or irregular Ex:fabric,soil,brick Surface finish also known as surface texture T = P 1 * V 1 * V c T=
Game Programming 06 The Rendering Engine
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
CHAPTER 8 Color and Texture Mapping © 2008 Cengage Learning EMEA.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
CSE 681 DISTRIBUTED RAY TRACING some implementation notes.
CS559: Computer Graphics Lecture 27: Texture Mapping Li Zhang Spring 2008 Many slides from Ravi Ramamoorthi, Columbia Univ, Greg Humphreys, UVA and Rosalee.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Texture Mapping Greg Humphreys University of Virginia CS 445, Fall 2003.
Mapping: Image Texturing CPSC 591/691. Texture Mapping Two-dimensional techniques place a two-dimensional (flat) image onto an object using methods similar.
Map Projections, Cartographic Concepts -Map Projections -Coordinate Systems.
CSE 681 Texture Mapping: Solid Texturing. CSE 681 Texture Mapping Visual complexity on demand Vary display properties over object Location on object used.
Texturing CMSC 435/ What is Texturing? 2 Texture Mapping Definition: mapping a function onto a surface; function can be: – 1, 2, or 3D – sampled.

Week 7 - Wednesday CS361.
University of New Mexico
Buffers and texture mapping
Texture Mapping.
Computer Graphics Texture Mapping
Introduction to Computer Graphics with WebGL
CSE 167 [Win 17], Lecture 18: Texture Mapping Ravi Ramamoorthi
Texture Mapping cgvr.korea.ac.kr.
Texture Mapping COMP575/COMP770.
Introduction to Computer Graphics with WebGL
Map Projections Displaying the earth on 2 dimensional maps
Texture Mapping: Solid Texturing
CS-378: Game Technology Lecture #4: Texture and Other Maps
Texture Mapping Ed Angel Professor Emeritus of Computer Science
Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
Texture mapping - other methods
Map Projections Displaying the earth on 2 dimensional maps
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Texture Mapping: Solid Texturing
Texture Mapping Jung Lee.
Presentation transcript:

CSE 681 Texture Mapping: 2D Texturing

CSE 681 Texture Mapping Visual complexity on demand Vary display properties over object Location on object used to lookup display attributes Or as function parameters to generate attributes Visible pixel maps to location on object

CSE 681 2D Texture Mapping Parameterize using (u,v) texture coordinates Usually a 2D rectangular image or function texture u v

CSE 681 2D Texture Mapping Need to parameterize surface similar to texture u v texture u v sphere quadrilateral latitude - longitude bilinear interpolation Also - cylindrical is a common mapping

CSE 681 Texture as table of values texture u v Table of values Values at grid intersections 0,0 0,m-1 n-1,m-1 n-1,0

CSE 681 For sphere Texture Map Coordinates World Space Map (x,yz) to u,v space to table values 0 1 v 0 1 u

CSE 681 For sphere map sphere surface to (u,v) 0 x y  1 x z  1 0 BUT - Has a seam & distorts

8 Spherical - e.g., Cartography 8

9 Cylindrical Mapping 9

CSE 681 For quadrilateral Texture Map Coordinates World Space Map (x,yz) to u,v space to table values 0 1 v 0 1 u

CSE 681 World space point to u,v space P 0,0 P 0,1 P 1,1 P 1,0

CSE 681 u,v space to table indice space 0 1 v 0 1 u u s 0 0 n-1 1

CSE 681 A closer look World Space Values only at the intesections What value to use at non-intersection point? (s,t)

CSE 681 Closer still tx[i+1][j] tx[i][j] tx[i][j+1] tx[i+1][j+1] Use closest value? (s,t)

CSE 681 Closer still t[i+1][j] t[i][j] t[i][j+1] t[i+1][j+1] Interpolate 4 closest? (s,t)

CSE 681 (Pixel) size matters World Space Can’t just use pixel center and expect good results in all cases - need to consider how entire pixel maps into texture space

CSE 681 One solution: Mip-mapping Successive table of values (r,g,b) at reduced resolution Index into highest resolution one in which bilinear interpolation makes sense Pre-filter texture, reducing resolution (increase size of grid relative to pixel size) Down to single pixel

CSE 681 One solution: Mip-mapping

CSE 681 UV Mapping