Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is.

Slides:



Advertisements
Similar presentations
1GR2-00 GR2 Advanced Computer Graphics AGR Lecture 9 Adding Realism Through Texture.
Advertisements

9.1si31_2001 SI31 Advanced Computer Graphics AGR Lecture 9 Adding Realism Through Texture.
Graphics Pipeline.
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.
Cs123 INTRODUCTION TO COMPUTER GRAPHICS Andries van Dam © Andries van Dam Texture Mapping Beautification of Surfaces 1/23.
3D Graphics Rendering and Terrain Modeling
Computer Graphics Bing-Yu Chen National Taiwan University.
CHAPTER 12 Height Maps, Hidden Surface Removal, Clipping and Level of Detail Algorithms © 2008 Cengage Learning EMEA.
May Visible Surface Detection Shmuel Wimer Bar Ilan Univ., Eng. Faculty Technion, EE Faculty.
COMPUTER GRAPHICS CS 482 – FALL 2014 OCTOBER 6, 2014 TEXTURE MAPPING TEXTURES BUMP MAPPING ENVIRONMENT MAPPING PROCEDURAL TEXTURING.
1GR2-00 GR2 Advanced Computer Graphics AGR Lecture 12 Solid Textures Bump Mapping Environment Mapping.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Object-Order vs. Screen-Order Rendering April 24, 2003.
Introduction to Volume Rendering Presented by Zvi Devir.
HCI 530 – Seminar in Advanced Topics 10/8/2004Damian Schofield1 Texturing Based on 3D Rendering, Humphreys, G., University of Virginia, 2004.
Texture Mapping from Watt, Ch. 8 Jonathan Han. Topics Discussed Texture Map to Models Bump Maps, Light Maps Environment (Reflection) Mapping 3D Textures.
Radiosity Syed-Areeb A. Sabzposh S. Yaris A. Sabzposh CSC /11/2004.
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 Mohan Sridharan Based on slides created by Edward Angel 1 CS4395: Computer Graphics.
Introduction to 3D Graphics John E. Laird. Basic Issues u Given a internal model of a 3D world, with textures and light sources how do you project it.
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
Guilford County Sci Vis V204.01
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
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.
Ray Tracing Primer Ref: SIGGRAPH HyperGraphHyperGraph.
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.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 10: Computer Graphics Computer Science: An Overview Tenth Edition.
COMP 175: Computer Graphics March 24, 2015
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.
Fundamentals of Computer Graphics Part 9 Discrete Techniques prof.ing.Václav Skala, CSc. University of West Bohemia Plzeň, Czech Republic ©2002 Prepared.
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Texture Mapping.
Texture Mapping. Scope Buffers Buffers Various of graphics image Various of graphics image Texture mapping Texture mapping.
CS 376 Introduction to Computer Graphics 04 / 16 / 2007 Instructor: Michael Eckmann.
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.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
3D Graphics for Game Programming Chapter IV Fragment Processing and Output Merging.
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.
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.
Basic Ray Tracing CMSC 435/634.
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
Copyright © Cengage Learning. All rights reserved. 16 Vector Calculus.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Lecture 6 Rasterisation, Antialiasing, Texture Mapping,
CS 325 Introduction to Computer Graphics 04 / 12 / 2010 Instructor: Michael Eckmann.
Bounding Volume Hierarchy. The space within the scene is divided into a grid. When a ray travels through a scene, it only passes a few boxes within the.
Computing & Information Sciences Kansas State University Advanced CG 2 of 8: MappingsCIS 636/736: (Introduction to) Computer Graphics CIS 736 Computer.
11/24/ :45 Graphics II Shadow Maps Reflections Session 5.
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.
CS 376 Introduction to Computer Graphics 04 / 13 / 2007 Instructor: Michael Eckmann.
Mapping: Image Texturing CPSC 591/691. Texture Mapping Two-dimensional techniques place a two-dimensional (flat) image onto an object using methods similar.
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.
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
3D Graphics Rendering PPT By Ricardo Veguilla.
Texture Mapping COMP575/COMP770.
Chapter 10: Computer Graphics
Introduction to Computer Graphics with WebGL
Dr. Jim Rowan ITEC 2110 Vector Graphics II
Texture Mapping Ed Angel Professor Emeritus of Computer Science
Introduction to Ray Tracing
Dr. Jim Rowan ITEC 2110 Vector Graphics II
Presentation transcript:

Texture Mapping Presented by POTLURI,KIRAN

Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is a powerful technique for adding realism to a computer-generated scene.

Texture Mapped on to Tea Pot

Introduction (contd..) The First use of texture was developed by Catmull in the year Algorithm is applied to bicubic parametric patch model, since the parametric patch models already possesses the U,V values everywhere on its surface.

How is texture mapping done Two Dimensional Texture Mapping :: Texture Space T(u,v) Object Space (x,y,z) Screen Space (Xs,Ys) surface parameterization Projection

Algorithm The Algorithm divides the surface patch in object space. At the same time, executes subdivision in texture space. Patch subdivision proceeds until it ends in single pixel. After it reached this point, Subdivision process terminates. The required texture value for each pixel is obtained from texture domain.

Difficulties Two difficulties 1. Inventing suitable surface parameterization 2. Anti-aliasing.

Types of Texture Mapping Two Types 1. Forward texture mapping computing 3D positions of the texture points and then projecting them onto the image plane. 2. Inverse texture mapping selecting every pixel in the image plane and finding what point of the texture plane is projected there.

Drawbacks Forward Texture mapping : Adjacent texture points may project onto non adjacent image points, thus creating a non colored area.

Drawbacks Inverse Texture Mapping : Aliasing would appear, if sampling the texture map is done at a frequency higher than its Nyquist rate. Nyquist rate :the minimum theoretical sampling rate.

Polygon Mesh Texture Mapping It is also called Two-part texture mapping Introduced by Bier and Sloan Year The texture is mapped onto an intermediate surface before being mapped onto the object

How this Method Works Step 1 : mapping from two-dimensional texture space – simple three dimensional intermediate surface. e.g. : cylinder, sphere. T(u,v)  T’(x i,y i,z i ) This is know is S-mapping.

Mapping to sphere or cylinder S cylinder :: ( ,h)  (u,v) = (r/c(  -  o ),1/d(h-h o )) S sphere :: ( ,  )  (u,v) = (2q/1+(1+p 2 +q 2 ) 1/2, (2q/1+(1+p 2 +q 2 ) 1/2 ) P=tan(  )cos(  ) q= tan(  )sin(  )

O-mapping Step 2 : Mapping from 3-dimensional texture pattern onto object surface. T’(x i,y i,z i )  O(x w,y w,z w ) This is know as O-mapping.

Map to object surface There are four possible ways 1. The intersection of the reflected view ray with intermediate surface View point Intermediate surface (x i,y i,z i ) (x w,y w,z w )

Map to object surface(Contd..) 2. The intersection of the surface normal at (x,y,z) with the intermediate surface. Intermediate surface (x i,y i,z i ) (x w,y w,z w )

Map to object surface(Contd..) 3. The intersection of a line through (x,y,z) and object centroid with intermediate surface. Intermediate surface (x i,y i,z i ) (x w,y w,z w )

Map to object surface(Contd..) 4. The intersection of line from (x,y,z) to T’ whose orientation is given by surface normal at (x i,y i,z i ) Intermediate surface (x i,y i,z i ) (x w,y w,z w )

Applications

Molecular Graphics Isocontouring of the hydrophobic potential on the solvent-accessible surface of Gramicidin A

Molecular Graphics Solvent-accessible surface of ethanol, color coded against the electrostatic potential, using the traditional color coding (left) and using texture mapping (right).

Molecular Graphics The 13,767 spheres of a hydrated phospholipid bilayer (DLPE), part of a cell membrane can be rotated in real time.

Crash Simulations

Wire Frame Mapping

Force tube

Drawback Major draw back is the image quality. Usually for high quality images Ray Tracing is used.

References Alan Watt, 3D Computer graphics. Addison – Wesley Fredrick M Weinhaus, Venkat Devarajan,Texture mapping 3D models of real-world scenes.ACM computing survey, Volume James F. Blinn and Martin E. Newel,Texture and Reflection in computer generated images. ACM computing survey.

References (Contd..) TextureMapping.pdf ml