Texture Mapping cgvr.korea.ac.kr.

Slides:



Advertisements
Similar presentations
CSE 781 Anti-aliasing for Texture Mapping. Quality considerations So far we just mapped one point – results in bad aliasing (resampling problems) We really.
Advertisements

Virtual Realism TEXTURE MAPPING. The Quest for Visual Realism.
Graphics Pipeline.
Direct Volume Rendering. What is volume rendering? Accumulate information along 1 dimension line through volume.
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.
David Luebke1/19/99 CS 551/651: Antialiasing David Luebke
Lecture 6: 3D Rendering Pipeline (III) Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia Institute of Technology.
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.
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 Inf4/MSc Computer Graphics Lecture 13 Illumination I – Local Models.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Hidden Surface Removal 고려대학교 컴퓨터 그래픽스 연구실.
Sampling, Aliasing, & Mipmaps
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.
IN4151 Introduction 3D graphics 1 Introduction to 3D computer graphics part 2 Viewing pipeline Multi-processor implementation GPU architecture GPU algorithms.
Advanced Texture Mapping May 10, Today’s Topics Mip Mapping Projective Texture Shadow Map.
Coordinate Systems X Y Z (conventional Cartesian reference system) X Y Z.
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
CS559: Computer Graphics Lecture 27: Texture Mapping Li Zhang Spring 2008.
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.
1 Computer Graphics Week13 –Shading Models. Shading Models Flat Shading Model: In this technique, each surface is assumed to have one normal vector (usually.
Computer Graphics Inf4/MSc Computer Graphics Lecture 9 Antialiasing, Texture Mapping.
Computer Graphics Inf4/MSc Computer Graphics Lecture 7 Texture Mapping, Bump-mapping, Transparency.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
ECSE 4750: Computer Graphics Rensselaer Polytechnic Institute Nov 5, 2012 Texture and Texture Mapping.
Computer Graphics Texture Mapping
11/11/04© University of Wisconsin, CS559 Fall 2004 Last Time Shading Interpolation Texture mapping –Barycentric coordinates for triangles.
1 Texture Mapping ©Anthony Steed Overview n Texture mapping Inverse and Forward Mapping Bilinear interpolation Perspective correction n Mipmapping.
Texture Mapping. Scope Buffers Buffers Various of graphics image Various of graphics image Texture mapping Texture mapping.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
Texture Mapping Fall, Textures Describe color variation in interior of 3D polygon  When scan converting a polygon, vary pixel colors according.
1 Texture Mapping. 2 Texture Aliasing MIPmaps Environment Mapping Bump Mapping Displacement Mapping Shadow Maps Solid Textures Antialiasing.
Computer Graphics 2 Lecture 7: Texture Mapping Benjamin Mora 1 University of Wales Swansea Pr. Min Chen Dr. Benjamin Mora.
CHAPTER 8 Color and Texture Mapping © 2008 Cengage Learning EMEA.
CS418 Computer Graphics John C. Hart
Texture Mapping May 4, Many slides are borrowed from UNC-CH COMP236 Course (Spring 2003) taught by Leonard McMillan
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Lecture 13: Raster Graphics and Scan Conversion
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.
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.
Texturing Tomas Akenine-Möller Department of Computer Engineering Chalmers University of Technology.
Rendering Pipeline Fall, 2015.
Week 7 - Wednesday CS361.
Texture Mapping Fall, 2016.
CSE 167 [Win 17], Lecture 18: Texture Mapping Ravi Ramamoorthi
OpenGL Texture Mapping
Graphics, Fall 2017 Lecture 24: Texture Mapping
3D Graphics Rendering PPT By Ricardo Veguilla.
The Graphics Rendering Pipeline
Anti-aliasing for Texture Mapping
Chapters VIII Image Texturing
Interactive Graphics Algorithms Ying Zhu Georgia State University
Joshua Barczak* CMSC435 UMBC
3D Game Programming Texture Mapping
Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
Texture mapping - other methods
Advanced Computer Graphics: Texture
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
3D Game Programming Texture Mapping
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Texture Mapping Jung Lee.
Presentation transcript:

Texture Mapping cgvr.korea.ac.kr

3D Rendering Pipeline Texture Mapping 3D Primitives 3D Modeling Coordinates Model Transformation 3D World Coordinates Lighting 3D World Coordinates Viewing Transformation 3D Viewing Coordinates Projection Transformation 2D Projection Coordinates Clipping Texture Mapping 2D Projection Coordinates Viewport Transformation 2D Device Coordinates Scan Conversion 2D Device Coordinates Image cgvr.korea.ac.kr

Textures Color variation in interior of 3D polygon When scan converting a polygon Vary pixel colors according to values fetched from a texture y s ys x t xs Texture Image Surface z cgvr.korea.ac.kr

Texture Surface Add Visual Detail to Surfaces of 3D Objects With Surface Texture Polygonal Model cgvr.korea.ac.kr

Overview Texture mapping methods Texture mapping applications Mapping Filtering Texture mapping applications Modulation textures Illumination mapping Bump mapping Environment mapping Image-based rendering Non-photorealistic rendering cgvr.korea.ac.kr

Texture Mapping Steps: Define texture Specify mapping from texture to surface Lookup texture values during scan conversion (0,1) (1,0) s v y t u (0,0) x Texture Coordinate System Modeling Coordinate System Device Coordinate System cgvr.korea.ac.kr

Texture Mapping When scan converting Device coordinate system (x,y) Modeling coordinate system (u,v) Texture image (t,s) (0,1) (1,0) s v y t u (0,0) x Texture Coordinate System Modeling Coordinate System Device Coordinate System cgvr.korea.ac.kr

Texture Mapping 2D projective transformation Texture coordinate system (t,s) to Device coordinate system (x,y) cgvr.korea.ac.kr

Texture Mapping Scan conversion Interpolate texture coordinates Distortion due to bilinear interpolation approximation Cut polygons into smaller ones, or Perspectively divide at each pixel (u1, v1) α β γ (u2, v2) (u3, v3) cgvr.korea.ac.kr

Texture Mapping Corrected Interpolation Linear Interpolation of Texture Coordinate Corrected Interpolation with Perspective Divide cgvr.korea.ac.kr

Texture Mapping Texture mapping methods Texture mapping applications Filtering Texture mapping applications Modulation textures Illumination mapping Bump mapping Environment mapping Image-based rendering Non-photorealistic rendering cgvr.korea.ac.kr

Texture Filtering Must sample texture to determine color at each pixel in image y s ys x t xs z cgvr.korea.ac.kr

Texture Filtering Aliasing is a problem Point Sampling Area Filtering cgvr.korea.ac.kr

Texture Filtering Ideally, use elliptically shaped convolution filters In practice, use rectangles Texture Screen cgvr.korea.ac.kr

Texture Filtering Size of filter depends on projective warp Prefiltering images Mip maps Summed area tables s ys s ys Texel Texel Pixel Pixel t xs t xs Magnification Minification cgvr.korea.ac.kr

Mip Maps Keep textures prefiltered at multiple resolutions For each pixel, linearly interpolate between two closest levels (e.g., trilinear filtering) Fast and easy for hardware cgvr.korea.ac.kr

Overview Texture mapping methods Texture mapping applications Mapping Filtering Texture mapping applications Modulation textures Illumination mapping Bump mapping Environment mapping Image-based rendering Non-photorealistic rendering cgvr.korea.ac.kr

Modulation Texture Map Texture Values to Scale Factor Wood Texture cgvr.korea.ac.kr

Illumination Mapping Map Texture Values to Surface Material Parameter KA KD KS KT n cgvr.korea.ac.kr

Bump Mapping Map Texture Values to Perturbations of Surface Normals cgvr.korea.ac.kr

Bump Mapping cgvr.korea.ac.kr

Environmental Mapping Map Texture Values to the Environment Map Surface Pixel Projection onto Environment Map Pixel Area Projection Reference Point cgvr.korea.ac.kr

Image-Based Rendering Map Photographic Textures to Provide Details for Coarsely Detailed Polygonal Model cgvr.korea.ac.kr

Nonphotorealistic Rendering cgvr.korea.ac.kr

Summary Texture mapping methods Texture mapping applications Mapping Filtering Texture mapping applications Modulation textures Illumination mapping Bump mapping Environment mapping Image-based rendering Non-photorealistic rendering cgvr.korea.ac.kr

Thanks… cgvr.korea.ac.kr