Texturing CMSC 435/634 1. What is Texturing? 2 Texture Mapping Definition: mapping a function onto a surface; function can be: – 1, 2, or 3D – sampled.

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

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…
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 Effects CMSC 435/634. General Approach Ray Tracing – Shoot more rays Rasterization – Render more images.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Object-Order vs. Screen-Order Rendering April 24, 2003.
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.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Texture Mapping.
Real-Time High Quality Rendering COMS 6160 [Fall 2004], Lecture 4 Shadow and Environment Mapping
Texture Mapping Texture Mapping Ltjg Omer Arisut Turkish Navy Turkish Navy Texture Mapping Texture Mapping Ltjg Omer Arisut Turkish Navy Turkish Navy.
Coordinate Systems X Y Z (conventional Cartesian reference system) X Y Z.
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.
Texture Mapping CMSC435 UMBC *With lots of borrowing from the usual victims…
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.
Computer Graphics Inf4/MSc Computer Graphics Lecture 7 Texture Mapping, Bump-mapping, Transparency.
Computer Graphics Panos Trahanias ΗΥ358 Spring 2009.
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.
1 Texture Mapping ©Anthony Steed Overview n Texture mapping Inverse and Forward Mapping Bilinear interpolation Perspective correction n Mipmapping.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 Going-through.
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
Computer Graphics The Rendering Pipeline - Review CO2409 Computer Graphics Week 15.
1 Texture Mapping. 2 Texture Aliasing MIPmaps Environment Mapping Bump Mapping Displacement Mapping Shadow Maps Solid Textures Antialiasing.
Game Programming 06 The Rendering Engine
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
Lecture 6 Rasterisation, Antialiasing, Texture Mapping,
Advanced topics Advanced Multimedia Technology: Computer Graphics Yung-Yu Chuang 2006/01/04 with slides by Brian Curless, Zoran Popovic, Mario Costa Sousa.
CS559: Computer Graphics Final Review Li Zhang Spring 2010.
Shadows David Luebke University of Virginia. Shadows An important visual cue, traditionally hard to do in real-time rendering Outline: –Notation –Planar.
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.


University of New Mexico
Buffers and texture mapping
Computer Graphics Texture Mapping
CSE 167 [Win 17], Lecture 18: Texture Mapping Ravi Ramamoorthi
Photorealistic Rendering vs. Interactive 3D Graphics
Image-based Lighting Computational Photography
Texture Mapping cgvr.korea.ac.kr.
ATEC Procedural Animation
ATCM 3310 Procedural Animation
3D Graphics Rendering PPT By Ricardo Veguilla.
Texture Mapping COMP575/COMP770.
So Far We have assumed that we know: The point The surface normal
*With lots of borrowing from the usual victims…
© University of Wisconsin, CS559 Fall 2004
Joshua Barczak* CMSC435 UMBC
UMBC Graphics for Games
Procedural Animation Lecture 6: Mapping
ATCM 6317 Procedural Animation
CS5500 Computer Graphics May 29, 2006
Texture Mapping Ed Angel Professor Emeritus of Computer Science
Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
Advanced Computer Graphics: Texture
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Introduction to Ray Tracing
Presentation transcript:

Texturing CMSC 435/634 1

What is Texturing? 2

Texture Mapping Definition: mapping a function onto a surface; function can be: – 1, 2, or 3D – sampled (image) or mathematical function 3

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) 4

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

Planar Mapping For xy aligned plane Reverse projection 6

Planar Mapping 7

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

Cylindrical Mapping 9

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

Spherical Mapping 11

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

Mapping onto Parametric Patches 13

Mapping onto Polygons Like parametric surfaces, but use explicit vertex texture coordinates Interpolation during rasterization – Per-pixel projection – Interpolate (u/w, v/w, 1/w) – Divide to get pixel (u,v) 14

Non-linear mapping Piponi and Borshukov, “Seamless Texture Mapping of Subdivision Surfaces by Model Pelting and Texture Blending”, SIGGRAPH 2000

Texture Atlas Break object into easy-to-texture parts

Other Mappings Surface Position – Shadow mapping Ray direction – Reflection/environment mapping Surface normal direction – Diffuse reflection mapping – Transparency/refraction mapping 17

Shadow Map Render Shadow Map – Image from the light – Record depth of closest object along each ray Use a shadow map – Render a pixel/fragment – Transform to light projection – Is pixel farther away – Bias to avoid self shadowing

19 Distant Reflection Look up reflection direction in reflection or environment map

20 Environment Mapping Surround scene with maps simulating surrounding detail

21 Ray Tracing vs. Environment Mapping Ray TracingEnvironment Mapping

22 Refraction Mapping Perturb refraction rays through transparent surface by disruption of surface normal

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

Supersampling Sample texture multiple times per pixel and reconstruct 24

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

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 26

Mipmapping Precalculate filtered maps at a range of resolutions (Williams 83) Higher memory requirements 27

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

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