Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSCE 641 Computer Graphics: Reflection Models Jinxiang Chai.

Similar presentations


Presentation on theme: "CSCE 641 Computer Graphics: Reflection Models Jinxiang Chai."— Presentation transcript:

1 CSCE 641 Computer Graphics: Reflection Models Jinxiang Chai

2 Motivation How to model surface properties of objects?

3 Reflection Models Definition: Reflection is the process by which light incident on a surface interacts with the surface such that it leaves on the incident side without change in frequency.

4 Types of Reflection Functions Ideal Specular Reflection Law Mirror

5 Types of Reflection Functions Ideal Specular Reflection Law Mirror Ideal Diffuse Lambert’s Law Matte

6 Types of Reflection Functions Ideal Specular Reflection Law Mirror Ideal Diffuse Lambert’s Law Matte Specular Glossy Directional diffuse

7 Review: Local Illumination

8

9

10 Materials PlasticMetalMatte From Apodaca and Gritz, Advanced RenderMan

11 Mathematical Reflectance Models How can we mathematically model reflectance property of an arbitrary surface? - what’s the dimensionality? - how to use it to compute outgoing radiance given incoming radiance?

12 Introduction Radiometry and photometry - Radiant intensity - Irradiance - Radiance - Radiant exitance (radiosity)

13 Electromagnetic Spectrum Visible light frequencies range between: Red: 4.3x10 14 hertz (700nm) Violet: 7.5x10 14 hertz (400nm)

14 Visible Light The human eye can see “visible” light in the frequency between 400nm-700nm redviolet

15 Spectral Energy Distribution Three different types of lights

16 Spectral Energy Distribution Three different types of lights How can we measure the energy of light?

17 Photons The basic quantity in lighting is the photon The energy (in Joule) of a photon with wavelength λ is: q λ = hc/λ - c is the speed of light In vacuum, c = 299.792.458m/s - h ≈ 6.63*10 -34 Js is Planck’s constant

18 (Spectral) Radiant Energy The spectral radiant energy, Q λ, in n λ photons with wavelength λ is The radiant energy, Q, is the energy of a collection of photons, and is given as the integral of Q λ over all possible wavelengths:

19 Example: Fluorescent Bulb

20 Radiant Intensity Definition: the radiant power radiated from a point on a light source into a unit solid angle in a particular direction. - measured in watt per steradian

21 Radiance Definition: the radiant power per unit projected surface area per solid angle

22 Radiance Per unit projected surface area - radiance varies with direction - incidence radiance and exitant radiance

23 Radiance Ray of light arriving at or leaving a point on a surface in a given direction Radiance (arriving)Radiance (leaving)

24 Irradiance Definition: the power per unit area incident on a surface.

25 Radiant Exitance Definition: The radiant (luminous) exitance is the energy per unit area leaving a surface. In computer graphics, this quantity is often referred to as the radiosity (B)

26 Directional Power Leaving a Surface

27 Uniform Diffuse Emitter

28 Projected Solid Angle

29 Uniform Diffuse Emitter

30 Reflection Models Outline - Types of reflection models - The BRDF and reflectance - The reflection equation - Ideal reflection - Ideal diffuse - Cook-Torrance Model

31 Reflection Models Definition: Reflection is the process by which light incident on a surface interacts with the surface such that it leaves on the incident side without change in frequency.

32 Reflection Models Definition: Reflection is the process by which light incident on a surface interacts with the surface such that it leaves on the incident side without change in frequency.

33 Reflection Models Definition: Reflection is the process by which light incident on a surface interacts with the surface such that it leaves on the incident side without change in frequency.

34 Reflection Models Definition: Reflection is the process by which light incident on a surface interacts with the surface such that it leaves on the incident side without change in frequency.

35 Types of Reflection Functions Ideal Specular Reflection Law Mirror

36 Types of Reflection Functions Ideal Specular Reflection Law Mirror Ideal Diffuse Lambert’s Law Matte

37 Types of Reflection Functions Ideal Specular Reflection Law Mirror Ideal Diffuse Lambert’s Law Matte Specular Glossy Directional diffuse

38 Mathematical Reflectance Models How can we mathematically model reflectance property of an arbitrary surface? - what’s the dimensionality? - how to use it to compute outgoing radiance given incoming radiance?

39 The Reflection Equation

40 How to model surface reflectance property?

41 The Reflection Equation How to model surface reflectance property?

42 The Reflection Equation How to model surface reflectance property? for a given incoming direction, the amount of light that is reflected in a certain outgoing direction

43 The Reflection Equation

44 Directional irradiance

45 The BRDF Bidirectional Reflectance Distribution Function

46 Dimensionality of the BRDF This is 6-D function - x: 2D position - (θ i,φ i ): incoming direction - (θ r,φ r ): outgoing direction Usually represented as 4-D - ignoring x - homogenous material property

47 Gonioreflectometer

48 Scattering Models

49 The BSSRDF Bidirectional Surface Scattering Reflectance-Distribution Function Translucency

50 Properties of BRDF’s From Sillion, Arvo, Westin, Greenberg 1. Linearity

51 Properties of BRDF’s From Sillion, Arvo, Westin, Greenberg 1. Linearity 2. Reciprocity principle

52 Properties of BRDF’s 3. Isotropic vs. anisotropic Reciprocity and isotropy

53 Properties of BRDF’s 3. Isotropic vs. anisotropic 4. Energy conservation Reciprocity and isotropy

54 Energy Conservation Definition: Reflectance is ratio of reflected to incident power

55 Energy Conservation Definition: Reflectance is ratio of reflected to incident power

56 Energy Conservation Definition: Reflectance is ratio of reflected to incident power Conservation of energy: 0 <  < 1 Units:  [dimensionless], f r [1/steradians]

57 BRDF What’s the BRDF for a mirror surface?

58 Law of Reflection

59 Ideal Reflection (Mirror)

60

61

62 Ideal Diffuse Reflection Assume light is equally likely to be reflected in any output direction (independent of input direction). Lambert’s Cosine Law

63 Diffuse Light C = intensity of point light source k d = diffuse reflection coefficient = angle between normal and direction to light Surface

64 Phong Model E L N R(L) E L N R(E) Reciprocity:

65 s Phong Model Mirror Diffuse

66 BRDF Models Phenomenological - Phong [75] - Blinn-Phong [77] - Ward [92] - Larfortune et al [97] - Ashikhmin et al [00] Physical - Cook-torrence [81] - He et al [91] Data-driven [Matusik et al 2003] [Cook-Torrence 81] [Larfortune et al 97]

67 BRDF Models Phenomenological - Phong [75] - Blinn-Phong [77] - Ward [92] - Larfortune et al [97] - Ashikhmin et al [00] Physical - Cook-torrence [81] - He et al [91] Data-driven [Matusik et al 2003] [Cook-Torrence 81] [Larfortune et al 97]

68 Cook-Torrance Model More sophisticated for specular reflection Surface is made of reflecting microfacets

69 Cook-Torrance Model H: angular bisector of vector L and V

70 Microfacet Slope Distribution (D) D: density of microfacets along H m: root mean square of slopes of microfacets (i.e. roughness) Beckman function: The facet slope distribution function D represents the fraction of the facets that are oriented in the direction H.

71 Varying m m = 0.2 m = 0.6 Highly directional vs. spread-out

72 Cook-Torrance Model H: angular bisector of vector L and V

73 Mask and Shadow Term No interferenceshadow mask The geometrical attenuation factor G accounts for the shadowing and masking of one facet by another.

74 Cook-Torrance Model H: angular bisector of vector L and V

75 Fresnel Term n: refractive index The Fresnel term F describes how light is reflected from each smooth microfacet. It is a function of incidence angle and wavelength

76 Cook-Torrance Model for Metals Measured Reflectance Reflectance of Copper as a function of wavelength and angle of incidence Light spectra Copper spectra Approximated Reflectance Cook-Torrance approximation


Download ppt "CSCE 641 Computer Graphics: Reflection Models Jinxiang Chai."

Similar presentations


Ads by Google