ENVIRONMENT MAPPING - PowerPoint PPT Presentation

About This Presentation
Title:

ENVIRONMENT MAPPING

Description:

Environment mapped bump mapping (EMBM) Same effects with cube environment maps possible ... Non-cube environment mapped bump mapping is limited to few ... – PowerPoint PPT presentation

Number of Views:170
Avg rating:3.0/5.0
Slides: 41
Provided by: ROHA7
Category:

less

Transcript and Presenter's Notes

Title: ENVIRONMENT MAPPING


1
ENVIRONMENT MAPPING
2
INTRODUCTION
  • What is environment mapping?
  • Parameterization
  • Prefiltering Phong Model
  • Fresnel Term
  • Environment mapped bump mapping
  • Environment mapping with OpenGL

3
What is environment mapping?
4
What is environment mapping?
  • Developed by Blinn and Newell (1976)
  • Reflecting the surroundings on an object
  • Describes the incoming or outgoing light
  • Objects can not reflect themselves
  • Another problem is distortion
  • Cube mapping, spherical mapping,
  • parabolic mapping

5
What is environment mapping?
6
Parameterization
  • Directions
  • Texture coordinates

7
Parameterization
  • No recreation of the map for every frame
  • Easy creation of the map
  • Easy calculation of texture coordinates

8
Parameterization
  • Spherical
  • Cubic
  • Parabolic

9
Sphere Maps
10
Sphere Maps
11
Sphere Maps
12
Sphere Maps
13
Sphere Maps
  • Disadvantages
  • Only suitable for original viewing direction
  • Doesnt reflect changes in the scene

14
Sphere Maps
15
Sphere Maps
  • Disadvantages
  • Only suitable for original viewing direction
  • Doesnt reflect changes in the scene

16
Parameterization
  • Spherical
  • Cubic
  • Parabolic

17
Cube Maps
  • Advantages
  • No warping step required
  • Viewpoint independent

18
Cube Maps
19
Cube Maps
20
Cube Maps
21
Parameterization
  • Spherical
  • Cubic
  • Parabolic

22
Parabolic Maps
23
Phong Model
  • Linear combination of 3 components
  • Diffuse
  • Ambient
  • Specular

24
Phong Model
25
Phong Model
26
Fresnel Term
27
Fresnel Term
  • Reflectivity of a material depending on its
    optical density and angle of the incoming light.
  • For metallic surfaces the incoming illumination
    outgoing illumination.
  • For non-metallic surfaces the angle of incoming
    light is important.

28
Fresnel Term
29
Fresnel Term
30
Environment mapped bump mapping (EMBM)
  • Objects get more details
  • Is a possibility to represent plastically objects
  • Three different textures

31
Three different textures
  • 1.Base
  • texture
  • 2.Bump
  • map
  • 3.Environment
  • map

32
Environment mapped bump mapping (EMBM)
33
Environment mapped bump mapping (EMBM)
  • Bump mapping with a light map
  • Real environmental bump mapping

34
Bump mapping with a light map
35
Environment mapped bump mapping (EMBM)
  • Bump mapping with a light map
  • Real environmental bump mapping

36
Real environmental bump mapping
37
Environment mapped bump mapping (EMBM)
  • Same effects with cube environment maps possible
  • Makes environment mapping possible in all
    directions
  • Non-cube environment mapped bump mapping is
    limited to few directions

38
OpenGL sphere mapping
  • Four steps
  • Create texture
  • Define texture generation
  • Enable texture coordinate generation
  • Draw object

39
OpenGL Cube mapping
  • New extension Ext_texture_cube_map
  • Six images
  • Quadratic images
  • glCopySubTexImage2D

40
The End
Thank you, for your attention !!
Write a Comment
User Comments (0)
About PowerShow.com