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.

Slides:



Advertisements
Similar presentations
Texture Mapping I Real-time Rendering Texture Mapping I CSE 781 Prof. Roger Crawfis.
Advertisements

03/16/2009Dinesh Manocha, COMP770 Texturing Surface’s texture: its look & feel Graphics: a process that takes a surface and modifies its appearance using.
Environment Mapping CSE 781 – Roger Crawfis
Texture Mapping. Texturing  process that modifies the appearance of each point on a surface using an image or function  any aspect of appearance can.
Texture Mapping CMSC435 UMBC *With lots of borrowing from the usual victims…
Frequency Domain Normal Map Filtering Charles Han Bo Sun Ravi Ramamoorthi Eitan Grinspun Columbia University.
Real-Time Rendering TEXTURING Lecture 02 Marina Gavrilova.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
Computer Graphics Bing-Yu Chen National Taiwan University.
Advanced Texture and Lighting
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.
(conventional Cartesian reference system)
Foundations of Computer Graphics (Spring 2010) CS 184, Lecture 18: Shading & Texture Mapping Many slides from Greg.
Texture Mapping from Watt, Ch. 8 Jonathan Han. Topics Discussed Texture Map to Models Bump Maps, Light Maps Environment (Reflection) Mapping 3D Textures.
Real-Time High Quality Rendering COMS 6160 [Fall 2004], Lecture 4 Shadow and Environment Mapping
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.
Texture Mapping Mohan Sridharan Based on slides created by Edward Angel 1 CS4395: Computer Graphics.
Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is.
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
CS559: Computer Graphics Lecture 27: Texture Mapping Li Zhang Spring 2008.
Texture Mapping CMSC435 UMBC *With lots of borrowing from the usual victims…
Computer Graphics Inf4/MSc Computer Graphics Lecture 9 Antialiasing, Texture Mapping.
1 Texture. 2 Overview Introduction Painted textures Bump mapping Environment mapping Three-dimensional textures Functional textures Antialiasing textures.
Computer Graphics Inf4/MSc Computer Graphics Lecture 7 Texture Mapping, Bump-mapping, Transparency.
Computer Graphics Panos Trahanias ΗΥ358 Spring 2009.
Review 2: Illumination, Shading, Texturing and Anti-aliasing
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.
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Texture Mapping.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
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.
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
1 Texture Mapping. 2 Texture Aliasing MIPmaps Environment Mapping Bump Mapping Displacement Mapping Shadow Maps Solid Textures Antialiasing.
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.
CS418 Computer Graphics John C. Hart
CS559: Computer Graphics Lecture 27: Texture Mapping Li Zhang Spring 2008 Many slides from Ravi Ramamoorthi, Columbia Univ, Greg Humphreys, UVA and Rosalee.
Lecture 6 Rasterisation, Antialiasing, Texture Mapping,
CS559: Computer Graphics Lecture 20: Project 2 Review and Texture mapping Li Zhang Spring 2010 Many slides from Ravi Ramamoorthi, Columbia Univ, Greg Humphreys,
1 Dr. Scott Schaefer Antialiasing. 2/70 What is aliasing?
CSE 681 Introduction to Ray Tracing. CSE 681 Ray Tracing Shoot a ray through each pixel; Find first object intersected by ray. Image plane Eye Compute.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Texture Mapping Greg Humphreys University of Virginia CS 445, Fall 2003.
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.
CSE 681 Texture Mapping: 2D 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.
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
CENG 477 Introduction to Computer Graphics
Texture Mapping cgvr.korea.ac.kr.
ATEC Procedural Animation
ATCM 3310 Procedural Animation
So Far We have assumed that we know: The point The surface normal
*With lots of borrowing from the usual victims…
Introduction to Computer Graphics with WebGL
Joshua Barczak* CMSC435 UMBC
Procedural Animation Lecture 6: Mapping
ATCM 6317 Procedural Animation
Texture Mapping Ed Angel Professor Emeritus of Computer Science
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Introduction to Ray Tracing
Presentation transcript:

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 mathematical function

4 Mapped Parameters Surface color (Catmull 74) Specular reflection (Blinn and Newell 76) Normal vector perturbation (Blinn 78) Specularity (Blinn 78) Transparency (Gardner 85) Diffuse Reflection (Miller and Hoffman 84) Shadows, displacements, etc (Cook 84) Local coord system (Kajiya 85)

5 Map Indices Surface parameters Ray direction  Reflection/environment mapping Surface normal direction  Diffuse reflection mapping  Transparency/refraction mapping

6 Key Challenges Mapping function determination Resolution issues Texture design/capture

7 Mapping Functions Standard projecting functions  planar  cylindrical  spherical Mechanism  Two-stage mapping  Reverse projection Arbitrary

8 Two-stage Mapping S-mapping  map to simple 3D shape  intermediate surfs: plane, cylinder, cube, sphere O-mapping  map 3D texture onto surface  map entities: reflected view ray, surface normal, line through centroid, intermediate surface normal

9 Planar Mapping For xy aligned plane Reverse projection

10 Planer Mapping

11 Cylindrical Mapping For cylinder with point  (r cos Θ, r sin Θ, h z) Texture coordinates  (u,v) =(Θ/2π, z)

12 Cylindrical Mapping

13 Spherical Mapping For sphere with point  (r cos Θ sin Φ, r sin Θ sin Φ, r cos Φ) Texture coordinates

14 Spherical Mapping

15 Mapping onto Parametric Patches Use scaled surface u,v parameters for texture u,v

16 Mapping onto Parametric Patches

17 Mapping onto Polygons Like parametric surfaces, but use explicit vertex texture coordinates Screen-space Interpolation  Interpolate u,v  Nonlinearity and errors from lack of rotational invariance  Use small polygons to minimize artifacts Correct solution: per-pixel projection  Interpolate (u/w, v/w, 1/w); divide to get pixel (u,v)

18 Mapping onto Polygons Mapping need not be linear

19 Texture Aliasing Undersampling of texture map leads to texture aliasing Oversampling can show limited texture resolution

20 Supersampling Sample texture multiple times per pixel and reconstruct

21 Filtering Basic method (Catmull 78)  Project pixel polygon onto texture map  Average color over projected area

22 Filtering Types Direct Convolution  Average multiple samples from texture (usually selected in texture space) Prefiltering  Construct multi-resolution copies of texture Fourier filtering  Low pass filter texture in frequency space

23 Mipmappng Precalculate filtered maps at a range of resolutions (Williams 83) Higher memory requirements

24 Mipmapping Process Compute pixel area in mipmap Average from two closest maps

25 Comparison of Techniques Anti-aliasing: none, mipmapped, supersampled, supersampling and mipmapping