CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Texture Mapping.

Slides:



Advertisements
Similar presentations
9.1si31_2001 SI31 Advanced Computer Graphics AGR Lecture 9 Adding Realism Through Texture.
Advertisements

Virtual Realism TEXTURE MAPPING. The Quest for Visual Realism.
Real-Time Rendering TEXTURING Lecture 02 Marina Gavrilova.
Computer Graphics Bing-Yu Chen National Taiwan University.
COMPUTER GRAPHICS CS 482 – FALL 2014 OCTOBER 6, 2014 TEXTURE MAPPING TEXTURES BUMP MAPPING ENVIRONMENT MAPPING PROCEDURAL TEXTURING.
Texture Mapping and Programmable Graphics Hardware
1Notes  Assignment 1 is out, due October 12  Inverse Kinematics  Evaluating Catmull-Rom splines for motion curves  Wednesday: may be late (will get.
1GR2-00 GR2 Advanced Computer Graphics AGR Lecture 12 Solid Textures Bump Mapping Environment Mapping.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Texture Mapping II April 10, 2003.
CS5500 Computer Graphics © Chun-Fa Chang, Spring 2007 CS5500 Computer Graphics April 19, 2007.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Object-Order vs. Screen-Order Rendering April 24, 2003.
Computer Graphics (Fall 2005) COMS 4160, Lecture 16: Illumination and Shading 1
Computer Graphics (Spring 2008) COMS 4160, Lecture 19: Texture Mapping Many slides from Greg Humphreys, UVA and Rosalee.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Adv. Computer Graphics CS6500, Spring 2003.
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.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Acceleration of Rendering.
Advanced Texture Mapping May 10, Today’s Topics Mip Mapping Projective Texture Shadow Map.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Space Partitions.
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.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 RenderMan & Its Shading Language.
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
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.
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.
Texture Mapping. 2 The Limits of Geometric Modeling Although graphics cards can render over 10 million polygons per second, that number is insufficient.
1 Texture. 2 Overview Introduction Painted textures Bump mapping Environment mapping Three-dimensional textures Functional textures Antialiasing textures.
Advanced Computer Graphics March 06, Grading Programming assignments Paper study and reports (flipped classroom) Final project No written exams.
Fundamentals of Computer Graphics Part 9 Discrete Techniques prof.ing.Václav Skala, CSc. University of West Bohemia Plzeň, Czech Republic ©2002 Prepared.
1 Texture Mapping ©Anthony Steed Overview n Texture mapping Inverse and Forward Mapping Bilinear interpolation Perspective correction n Mipmapping.
1 SIC / CoC / Georgia Tech MAGIC Lab Rossignac Textures and shadows  Generation  Mipmap  Texture coordinates,
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS 1 Shading (Shading) & Smooth Shading Graphics.
Computer Graphics An Introduction. What’s this course all about? 06/10/2015 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
CS-378: Game Technology Lecture #4: Texture and Other Maps Prof. Okan Arikan University of Texas, Austin V Lecture #4: Texture and Other Maps.
1 Texture Mapping. 2 Texture Aliasing MIPmaps Environment Mapping Bump Mapping Displacement Mapping Shadow Maps Solid Textures Antialiasing.
Shadow Mapping Chun-Fa Chang National Taiwan Normal University.
University of Texas at Austin CS 378 – Game Technology Don Fussell CS 378: Computer Game Technology Basic Rendering Pipeline and Shading Spring 2012.
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.
Computer Graphics 2 Lecture 7: Texture Mapping Benjamin Mora 1 University of Wales Swansea Pr. Min Chen Dr. Benjamin Mora.
CS418 Computer Graphics John C. Hart
Vector Graphics Digital Multimedia Chap 이병희
Texture Mapping May 4, Many slides are borrowed from UNC-CH COMP236 Course (Spring 2003) taught by Leonard McMillan
Komputer Grafik 2 (AK045206) Shading 1/17 Realisme : Shading.
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
CS 325 Introduction to Computer Graphics 04 / 12 / 2010 Instructor: Michael Eckmann.
Computing & Information Sciences Kansas State University Lecture 12 of 42CIS 636/736: (Introduction to) Computer Graphics CIS 636/736 Computer Graphics.
11/5/2002 (c) University of Wisconsin, CS 559 Last Time Local Shading –Diffuse term –Specular term –All together –OpenGL brief overview.
CS559: Computer Graphics Final Review Li Zhang Spring 2010.
MIT EECS 6.837, Durand and Cutler Texture Mapping & Other Fun Stuff.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Texture Mapping Greg Humphreys University of Virginia CS 445, Fall 2003.
Computer Graphics Ken-Yi Lee National Taiwan University (the slides are adapted from Bing-Yi Chen and Yung-Yu Chuang)
Texturing CMSC 435/ What is Texturing? 2 Texture Mapping Definition: mapping a function onto a surface; function can be: – 1, 2, or 3D – sampled.
Computer Graphics (Fall 2006) COMS 4160, Lecture 16: Illumination and Shading 1

CSE 167 [Win 17], Lecture 18: Texture Mapping Ravi Ramamoorthi
Photorealistic Rendering vs. Interactive 3D Graphics
Week 2 - Friday CS361.
Graphics, Fall 2017 Lecture 24: Texture Mapping
Texture Mapping COMP575/COMP770.
The Graphics Rendering Pipeline
So Far We have assumed that we know: The point The surface normal
The Graphics Pipeline Lecture 5 Mon, Sep 3, 2007.
CS-378: Game Technology Lecture #4: Texture and Other Maps
Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Simple Texture Mapping
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Presentation transcript:

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Texture Mapping

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Today’s Short Film by

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Announcement Remaining paper presentations on and after April 29. –Please pick a date and select a topic from the reading list.

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Texture Mapping The simplest form: like wrapping a picture on an object. Texture: 2D image or a simple pattern (like a checkerboard) Surface: could be any shape

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Examples Almost trivial: Rectangular surface A little bit harder: a Coke can Cube? Sphere? Curve surface?

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Texture Coordinates The mapping between surface points to image pixels is defined by assigning texture coordinates to vertices of a surface. Many surfaces have a natural “parameter space”

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Procedural Texture A simple example: checkerboard. Solid texture. Example: wood carving. More advacned: Perlin noise.

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Bump Map and Displacement Map Examples: –Golf ball –Figure 8.10 of Watt’s book Bump Map vs. Displacement Map: –Bump Map: only the looks change –Displ. Map: the actual surface points change.

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Environment Map

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Texture Mapping and Polygon Rasterization Problems of linearly interpolating texture coordinates in screen space. –Similar problems in the interpolations of colors for Gouraud shading and normals for Phong shading. Problems in antialiasing –Expanding and shrinking

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Polygon Subdivision

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Perspective Correction Dividing the texture coordinates by w Linearly interpolating (u/w, v/w, 1/w) At each pixel, dividing (interpolated) u/w and v/w by (interpolated) 1/w. Reference: Heckbert & Moreton “Interpolation for Polygon Texture Mapping and Shading”

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Using Textures in OpenGL Directly from SG2001 Course 54:

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003

CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Projective Texture Mark Segal, et al., “Fast shadows and lighting effects using texture mapping”. SIGGRAPH 92Fast shadows and lighting effects using texture mapping Cass Everitt, “Projective Texture Mapping” NVIDIA SDK White Paper.Projective Texture Mapping Figure 1. Two different views of a smiley face texture projected onto the scene.