texture mapping presented by potluri,kiran. introduction texture : a detailed pattern that is...
TRANSCRIPT
![Page 1: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/1.jpg)
Texture Mapping
Presented byPOTLURI,KIRAN
![Page 2: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/2.jpg)
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.
![Page 3: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/3.jpg)
Texture Mapped on to Tea Pot
![Page 4: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/4.jpg)
Texture Mapped on to Tea Pot
![Page 5: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/5.jpg)
Introduction (contd ..) The First use of texture was
developed by Catmull in the year 1974.
Algorithm is applied to bicubic parametric patch model, since the parametric patch models already possesses the U,V values everywhere on its surface.
![Page 6: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/6.jpg)
How is texture mapping done
Two Dimensional Texture Mapping ::
TextureSpaceT(u,v)
ObjectSpace(x,y,z)
ScreenSpace
(Xs,Ys)
surface
parameterization
Projection
![Page 7: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/7.jpg)
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.
![Page 8: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/8.jpg)
Difficulties Two difficulties
1. Inventing suitable surface parameterization
2. Anti-aliasing.
![Page 9: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/9.jpg)
Types of Texture Mapping Two Types
1. Forward texture mappingcomputing 3D positions of
the texture points and then projecting them onto the image plane.
2. Inverse texture mappingselecting every pixel in the
image plane and finding what point of the texture plane is projected there.
![Page 10: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/10.jpg)
Drawbacks Forward Texture mapping :
Adjacent texture points may project onto non adjacent image points, thus creating a non colored area .
![Page 11: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/11.jpg)
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 .
![Page 12: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/12.jpg)
Polygon Mesh Texture Mapping It is also called Two-part texture
mapping Introduced by Bier and Sloan Year 1986. The texture is mapped onto an
intermediate surface before being mapped onto the object
![Page 13: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/13.jpg)
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’(xi,yi,zi)
This is know is S-mapping .
![Page 14: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/14.jpg)
Mapping to sphere or cylinder Scylinder :: (,h) (u,v)
= (r/c(-o),1/d(h-ho))
Ssphere :: (,) (u,v)
= (2q/1+(1+p2+q2)1/2, (2q/1+(1+p2+q2)1/2 )P=tan()cos() q= tan()sin()
![Page 15: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/15.jpg)
O-mapping Step 2 : Mapping from 3-
dimensional texture pattern onto object surface.
T’(xi,yi,zi) O(xw,yw,zw)
This is know as O-mapping.
![Page 16: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/16.jpg)
Map to object surface There are four possible ways
1. The intersection of the reflected view ray with intermediate surface
View point Intermediate surface
(xi,yi,zi)
(xw,yw,zw)
![Page 17: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/17.jpg)
Map to object surface(Contd..)
2 . The intersection of the surface normal at (x,y,z) with the intermediate surface.
Intermediate surface
(xi,yi,zi)
(xw,yw,zw)
![Page 18: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/18.jpg)
Map to object surface(Contd..)
3 .The intersection of a line through (x,y,z) and object centroid with intermediate surface.
Intermediate surface
(xi,yi,zi)(xw,yw,zw)
![Page 19: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/19.jpg)
Map to object surface(Contd..)
4 . The intersection of line from (x,y,z) to T’ whose orientation is given by surface normal at (xi,yi,zi)
Intermediate surface
(xi,yi,zi)
(xw,yw,zw)
![Page 20: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/20.jpg)
Applications
![Page 21: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/21.jpg)
Molecular Graphics Isocontouring of
the hydrophobic potential on the solvent-accessible surface of Gramicidin A
![Page 22: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/22.jpg)
Molecular Graphics Solvent-accessible
surface of ethanol, color coded against the electrostatic potential, using the traditional color coding (left) and using texture mapping (right).
![Page 23: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/23.jpg)
Molecular Graphics The 13,767
spheres of a hydrated phospholipid bilayer (DLPE), part of a cell membrane can be rotated in real time.
![Page 24: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/24.jpg)
Crash Simulations
![Page 25: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/25.jpg)
Wire Frame Mapping
![Page 26: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/26.jpg)
Force tube
![Page 27: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/27.jpg)
Drawback Major draw back is the image
quality . Usually for high quality images Ray Tracing is used .
![Page 28: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/28.jpg)
References Alan Watt, 3D Computer graphics . Addison –
Wesley 1993. Fredrick M Weinhaus, Venkat
Devarajan,Texture mapping 3D models of real-world scenes .ACM computing survey , Volume 29 1997.
James F. Blinn and Martin E. Newel,Texture and Reflection in computer generated images. ACM computing survey.
![Page 29: Texture Mapping Presented by POTLURI,KIRAN. Introduction Texture : A detailed pattern that is repeated many times to tile the plane. Texture mapping is](https://reader035.vdocument.in/reader035/viewer/2022062715/56649da65503460f94a91456/html5/thumbnails/29.jpg)
References (Contd ..) http://www.cs.csustan.edu/~rsc/
CS3600F00/TextureMapping.pdf http://www.sgi.com/grafica/texmap/
index.html http://www-2.cs.cmu.edu/~ph/
texsurv.pdf