22_texture

22_texture - Texture Mapping & Other Fun Stuff MIT EECS...

Info iconThis preview shows pages 1–14. Sign up to view the full content.

View Full Document Right Arrow Icon
MIT EECS 6.837, Durand and Cutler Texture Mapping & Other Fun Stuff
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MIT EECS 6.837, Durand and Cutler The Problem: • Don't want to represent all this detail with geometry
Background image of page 2
MIT EECS 6.837, Durand and Cutler Procedural Solid (3D) Textures Ken Perlin, SIGGRAPH '85. • Write a function: f(x,y,z) color • non-intuitive • difficult to match existing texture Image removed due to copyright considerations.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MIT EECS 6.837, Durand and Cutler Today 2D Texture Mapping Perspective Correct Interpolation – Illumination – Texture Mapping Difficulties – Projective Texturing • Other Mapping Techniques
Background image of page 4
MIT EECS 6.837, Durand and Cutler Photo-textures Courtesy of Leonard McMillan, Computer Science at the University of North Carolina in Chapel Hill. Used with permission.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MIT EECS 6.837, Durand and Cutler Texture Mapping • Like wallpapering or gift-wrapping with stretchy paper • Curved surfaces require extra stretching or cutting
Background image of page 6
MIT EECS 6.837, Durand and Cutler Texture Coordinates • Specify a texture coordinate (u,v) at each vertex • Canonical texture coordinates (0,0) (1,1) • Often the texture size is a power of 2 (but it doesn't have to be) • How can we tile this texture? (0,0) (1,0) (0,1)
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MIT EECS 6.837, Durand and Cutler Tiling Texture (0,3) (0,3) seamless tiling (repeating) tiles with visible seams (0,0) (3,0) (0,0) (3,0)
Background image of page 8
MIT EECS 6.837, Durand and Cutler Texture Coordinates • Specify a texture coordinate (s,t) at each vertex • Canonical texture coordinates (0,0) (1,1) • Can we just linearly interpolate the values in screen space? (0,0) (1,0) (0,1)
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MIT EECS 6.837, Durand and Cutler What Goes Wrong? texture source what we get what we want
Background image of page 10
MIT EECS 6.837, Durand and Cutler Looking at One Edge • Consider one edge from a given triangle. This edge and its projection onto our viewport lie in a single common plane illustrated below: Courtesy of Leonard McMillan, Computer Science at the University of North Carolina in Chapel Hill. Used with permission.
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MIT EECS 6.837, Durand and Cutler Visualizing the Problem Let's assume that the viewport is located 1 unit away from the center of projection. Notice that uniform steps on the image plane do not correspond to uniform steps along the edge.
Background image of page 12
MIT EECS 6.837, Durand and Cutler How do we fix it? • We can reduce the perceived artifacts of non-
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 14
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/14/2011 for the course EECS 6.837 taught by Professor Durand during the Fall '03 term at MIT.

Page1 / 50

22_texture - Texture Mapping & Other Fun Stuff MIT EECS...

This preview shows document pages 1 - 14. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online