Presentation is loading. Please wait.

Presentation is loading. Please wait.

Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.

Similar presentations


Presentation on theme: "Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실."— Presentation transcript:

1 Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실

2 3D Rendering Pipeline Surface details can be added... 3D Primitives
3D Modeling Coordinates Model Transformation 3D World Coordinates Lighting 3D World Coordinates Viewing Transformation 3D Viewing Coordinates Projection Transformation Surface details can be added... 2D Projection Coordinates Clipping 2D Projection Coordinates Viewport Transformation 2D Device Coordinates Scan Conversion 2D Device Coordinates Image

3 Overview Texture mapping methods Texture mapping applications
Modulation texture Bump mapping

4 Texture Surface Add visual detail to surfaces of 3D objects
With Surface Texture Polygonal Model

5 Texture Mapping 2D projective transformation
Texture coordinate system (s, t) to Device coordinate system (x, y)

6 Viewing and Projection
Textures Color variation in interior of 3D polygon When scan converting a polygon Vary pixel colors according to values fetched from a texture y ys t Texture-Surface Transformation Viewing and Projection Transformation x s xs z Texture Space Object Space Image Space

7 Texture Mapping Steps: Define texture
Specify mapping from texture to surface Lookup texture values during scan conversion (0, 1) (1, 0) t v y s u (0, 0) x Texture Coordinate System Modeling Coordinate System Device Coordinate System

8 Texture Mapping Scan conversion Interpolate texture coordinates
Distortion due to the bilinear interpolation Subdivide the polygon into smaller ones α β (u1, v1) (u3, v3) (u2, v2)

9 Corrected Interpolation
Texture Mapping Linear Interpolation of Texture Coordinate Corrected Interpolation

10 Texture Sampling To determine color at each pixel in image y ys t s x
xs z

11 Overview Texture mapping methods Texture mapping applications
Modulation texture Bump mapping

12 Modulation Texture Texture Shaded Color Texture Value

13 Bump Mapping Perturbate surface normals

14 Bump Mapping

15 Summary Texture mapping methods Texture mapping applications Mapping
Filtering Texture mapping applications Modulation textures Bump mapping

16 Wireframe

17 Ambient Illumination Only

18 Flat Shaded Polygons with Diffuse Reflection

19 Gouraud Shaded Polygons with Diffuse Reflection

20 Gouraud Shaded Polygons with Specular Reflection

21 Phong Shaded Polygons with Specular Reflection

22 Curved Surfaces with Specular Reflection

23 Improved Illumination Model with Multiple Lights

24 Original Texture Mapping

25 Bump Mapping

26 Reflection Mapping


Download ppt "Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실."

Similar presentations


Ads by Google