Lecture 6 - Texture mapping - Interactive Computer Graphics...

Info icon This preview shows pages 1–17. Sign up to view the full content.

Interactive Computer Graphics: Lecture 6 Texture mapping Some slides adopted from H. Pfister, Harvard
Image of page 1

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

Graphics Lecture 6: Slide 2 The Problem: We don't want to represent all this detail with geometry
Image of page 2
Graphics Lecture 6: Slide 3 The Solution: Textures The visual appearance of a graphics scene can be greatly enhanced by the use of texture. Consider a brick building, using a polygon for every brick require a huge effort in scene design. So why not use one polygon and draw a repeating brick pattern (texture) onto it?
Image of page 3

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

Graphics Lecture 6: Slide 4 The Quest for Visual Realism
Image of page 4
Graphics Lecture 6: Slide 5 Texture Definition Textures may be defined as: One-dimensional functions parameter can have arbitrary domain (e.g., incident angle) Two-dimensional functions information is calculated for every (u,v), many possibilities Raster images ( texels ) Most often used method Images from scanner or calculation Three-dimensional functions Volume T(u,v,w) • Procedural texture vs. raster data
Image of page 5

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

Graphics Lecture 6: Slide 6 Procedural textures Write a function: F ( p ) color • non-intuitive difficult to match a texture that already exists in the ‘real’ world
Image of page 6
Graphics Lecture 6: Slide 7 Photo textures
Image of page 7

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

Graphics Lecture 6: Slide 8 The concept of texture mapping
Image of page 8
Graphics Lecture 6: Slide 9 Texture mapping: Terminology
Image of page 9

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

The concept of texture mapping For each triangle/polygon in the model establish a corresponding region in the texture During rasterization interpolate the coordinate indices into the texture map
Image of page 10
Graphics Lecture 6: Slide 11 Parametrization How to do the mapping? Usually objects are not that simple
Image of page 11

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

Graphics Lecture 6: Slide 12 Parametrization: Planar Planar mapping: dump one of the coordinates Only looks good from the front! 12
Image of page 12
Graphics Lecture 6: Slide 13 Parametrization Cylindrical and spherical mapping: compute angles between vertex and object center Compare to polar/spherical coordinate systems
Image of page 13

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

Graphics Lecture 6: Slide 14 Parametrization Cylindrical and spherical mapping Cylindrical Spherical
Image of page 14
Graphics Lecture 6: Slide 15 Parametrization: Box Box mapping: used mainly for environment mapping (see later) 23.10.2013
Image of page 15

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

Graphics Lecture 6: Slide 16 Parametrization Manual mapping using CAD Software Unwrapping Images by Martin Kenzel
Image of page 16
Image of page 17
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '14
  • Texture mapping, Bump mapping, Bilinear interpolation, Displacement mapping

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern