SlideShare a Scribd company logo
Illumination Model 고려대학교 컴퓨터 그래픽스 연구실
Illumination How do We Compute Radiance for a Sample Ray? Must derive computer models for ... Emission at light sources Scattering at surfaces Reception at the camera Wireframe Without Illumination Direct Illumination
Overview Direct Illumination Emission at light sources Scattering at surfaces Global Illumination Shadows Refractions Inter-object reflections Direct Illumination
Overview Direct Illumination Emission at light sources Scattering at surfaces Global Illumination Shadows Refractions Inter-object reflections Direct Illumination
Modeling Light Source I L ( x,y,z,  ) Describes the intensity of energy, Leaving a light source Arriving at location(x,y,z) From direction (  ) With wavelength  
Empirical Model Ideally Measure Irradiant Energy for “All” Situations Too much storage Difficult in practice
Light Source Model Simple Mathematical Models: Point light Directional light Spot light
Point Light Source Models Omni-Directional Point Source (E.g., Bulb) Intensity (I 0 ) Position (px, py, pz) Factors (k c , k l , k q ) for attenuation with distance (d)
Directional Light Source Models Point Light Source at Infinity (E.g., Sun) Intensity (I 0 ) Direction (dx,dy,dz) No attenuation with distance
Spot Light Source  Models Point Light Source with Direction (E.g., Luxo) Intensity (I 0 ), Position (px, py, pz) Direction (dx, dy, dz) Attenuation
Overview Direct Illumination Emission at light sources Scattering at surfaces Global Illumination Shadows Refractions Inter-object reflections Direct Illumination
Modeling Surface Reflection R s (  ,  ) Describes the amount of incident energy Arriving from direction (  )  Leaving in direction (  ,  ) With wavelength  
Empirical Model Ideally Measure Radiant Energy for “All” Combinations of Incident Angles Too much storage Difficult in practice
Reflectance Model Simple Analytic Model: Diffuse reflection + Specular reflection + Emission + “ Ambient” Based on model proposed by Phong
Reflectance Model Simple Analytic Model: Diffuse reflection + Specular reflection + Emission + “ Ambient” Based on model proposed by Phong
Diffuse Reflection Assume Surface Reflects Equally in All Directions Examples: chalk, clay
Diffuse Reflection How Much Light is Reflected? Depends on angle of incident light dL  dA  cos  
Diffuse Reflection Lambertian Model Cosine law (dot product)
Reflectance Model Simple Analytic Model: Diffuse reflection + Specular reflection + Emission + “ Ambient” Based on model proposed by Phong
Specular Reflection Reflection is Strongest Near Mirror Angle Examples: mirrors, metals
Specular Reflection How Much Light is Seen? Depends on angle of incident light and angle to viewer
Specular Reflection Phong Model {cos(  )} n
Reflectance Model Simple Analytic Model: Diffuse reflection + Specular reflection + Emission + “ Ambient” Based on model proposed by Phong
Emission Represents Light Emitting Directly From Polygon Emission  ≠ 0
Reflectance Model Simple Analytic Model: Diffuse reflection + Specular reflection + Emission + “ Ambient” Based on model proposed by Phong
Ambient Term Represents Reflection of All Indirect Illumination This is a total hack (avoids complexity of global illumination)!
Reflectance Model Simple Analytic Model: Diffuse reflection + Specular reflection + Emission + “ Ambient”
Reflectance Model Simple Analytic Model: Diffuse reflection + Specular reflection + Emission + “ Ambient”
Reflectance Model Sum Diffuse, Specular, Emission, and Ambient
Surface Illumination Calculation Single Light Source:
Surface Illumination Calculation Multiple Light Sources:
Overview Direct Illumination Emission at light sources Scattering at surfaces Global Illumination Shadows Refractions Inter-object reflections Global Illumination
Global Illumination
Shadows Shadow Terms Tell Which Light Sources are Blocked Cast ray towards each light source L i S i  = 0 if ray is blocked, S i  = 1 otherwise Shadow Term
Ray Casting Trace Primary Rays from Camera Direct illumination from unblocked lights only
Recursive Ray Tracing Also Trace Secondary Rays from Hit Surfaces Global illumination from mirror reflection and transparency
Mirror Reflection Trace Secondary Ray in Direction of Mirror Reflection Evaluate radiance along secondary ray and include it into illumination model Radiance for mirror reflection ray
Transparency Trace Secondary Ray in Direction of Refraction Evaluate radiance along secondary ray and include it into illumination model Radiance for refraction ray
Transparency Transparency coefficient is fraction transmitted K T  = 1 if object is translucent, K T  = 0 if object is opaque 0 < K T  < 1 if object is semi-translucent Transparency Coefficient
Refractive Transparency For Thin Surfaces, Can Ignore Change in Direction Assume light travels straight through surface
Refractive Transparency For Solid Objects, Apply Snell’s Law:  r   sin    r  i  sin   i 
Summary Direct Illumination Ray casting Usually use simple analytic approximations for light source emission and surface reflectance Global illumination Recursive ray tracing Incorporate shadows, mirror reflections, and pure refractions
Illumination Terminology Radiant power [flux] ( Φ ) Rate at which light energy is transmitted (in Watts). Radiant Intensity (I) Power radiated onto a unit solid angle in direction( in Watt/sr) e.g.: energy distribution of a light source (inverse square law) Radiance (L) Radiant intensity per unit projected surface area( in Watts/m 2 sr) e.g.: light carried by a single ray (no inverse square law) Irradianc (E) Incident flux density on a locally planar area (in Watts/m 2  ) Radiosity (B) Exitant flux density from a locally planar area ( in Watts/m 2  )

More Related Content

PPT
Graphics Lecture 7
PPT
Illumination model
PPTX
illumination model in Computer Graphics by irru pychukar
PPTX
Illumination Model
PPTX
Concept of basic illumination model
PDF
Phong Shading over any Polygonal Surface
PPTX
Ray tracing
PPT
graphics notes
Graphics Lecture 7
Illumination model
illumination model in Computer Graphics by irru pychukar
Illumination Model
Concept of basic illumination model
Phong Shading over any Polygonal Surface
Ray tracing
graphics notes

What's hot (19)

PPTX
Illumination models
PDF
Iluminacion
PPT
GRPHICS06 - Shading
PPT
Lighting and shading
PPTX
Cs8092 computer graphics and multimedia unit 1
PPT
GRPHICS08 - Raytracing and Radiosity
PPTX
Ray tracing
PPTX
Ray tracing
PPT
Ray Tracing
PPT
Ray Optics Class 12 Part-2
PPTX
Ray tracing
PPT
PPTX
Chapter 2 geometrical_optics_a
PPTX
Ray Optics Formulaes
PPT
Ray Optics Class 12 Part-1
PPTX
Chapter 2 geometrical_optics_b
PPTX
Computer vision - light
PPTX
Ray Tracing in Computer Graphics
Illumination models
Iluminacion
GRPHICS06 - Shading
Lighting and shading
Cs8092 computer graphics and multimedia unit 1
GRPHICS08 - Raytracing and Radiosity
Ray tracing
Ray tracing
Ray Tracing
Ray Optics Class 12 Part-2
Ray tracing
Chapter 2 geometrical_optics_a
Ray Optics Formulaes
Ray Optics Class 12 Part-1
Chapter 2 geometrical_optics_b
Computer vision - light
Ray Tracing in Computer Graphics
Ad

Viewers also liked (20)

PDF
Reglamento natación carreras_2015
PDF
4 Tree Romania 2016
PDF
Shoma n2
PPTX
PDF
Annual Report 2015
PDF
La navidad
DOCX
PDF
Turun Be The Change tilaisuuden materiaali osa 1
PDF
Llegar o arribar 2015
PPTX
Orderofadjectives 150716232216-lva1-app6891
PDF
F03.06 Lighting Savings Chart
PDF
红枫叶思培-独家解析思培官方资料
PPTX
Andrey Gorban - presentation
DOCX
Final Capstone Paper
PPTX
르꼬르뷔제
PDF
PPTX
PDF
PPT
Доброслав: історія змін. Наталія ГНАТЮК, Фонд Сталого Розвитку «Стара Волинь»
Reglamento natación carreras_2015
4 Tree Romania 2016
Shoma n2
Annual Report 2015
La navidad
Turun Be The Change tilaisuuden materiaali osa 1
Llegar o arribar 2015
Orderofadjectives 150716232216-lva1-app6891
F03.06 Lighting Savings Chart
红枫叶思培-独家解析思培官方资料
Andrey Gorban - presentation
Final Capstone Paper
르꼬르뷔제
Доброслав: історія змін. Наталія ГНАТЮК, Фонд Сталого Розвитку «Стара Волинь»
Ad

Similar to 10illumination (20)

PDF
UNIT-6-Illumination-Models-and-Surface-Rendering-Methods.pdf
PPT
CS 354 Lighting
PDF
illuminationmodelsshading-200501081735 (1).pdf
PDF
Shading
PDF
cg ppt.pdf
PPT
PPTX
Object rendering
PPT
Computer Vision: Shape from Specularities and Motion
PPT
23 Introduction to the Lighting Model.ppt
PDF
7 illumination and-shading computer graphics
PPTX
graphics_Illumenation,texrure And shading.pptx
PDF
Fundamental optics for microLED
PPTX
Illumination Models in graphic computer vision and Shading.pptx
PPT
Illumination Models and Surface Rendering Methods.ppt
PPTX
Principle of Lighting
PPT
Topic 3 Light, shading and materials.ppt
PPT
U9 Cn2 Planar Surface Reflection And Ray Tracing
PPTX
Green Custard Friday Talk 17: Ray Tracing
PPT
20120417 IMechE YMS Seminar on Daylighting modeling technique in built-enviro...
PPT
Use of Specularities and Motion in the Extraction of Surface Shape
UNIT-6-Illumination-Models-and-Surface-Rendering-Methods.pdf
CS 354 Lighting
illuminationmodelsshading-200501081735 (1).pdf
Shading
cg ppt.pdf
Object rendering
Computer Vision: Shape from Specularities and Motion
23 Introduction to the Lighting Model.ppt
7 illumination and-shading computer graphics
graphics_Illumenation,texrure And shading.pptx
Fundamental optics for microLED
Illumination Models in graphic computer vision and Shading.pptx
Illumination Models and Surface Rendering Methods.ppt
Principle of Lighting
Topic 3 Light, shading and materials.ppt
U9 Cn2 Planar Surface Reflection And Ray Tracing
Green Custard Friday Talk 17: Ray Tracing
20120417 IMechE YMS Seminar on Daylighting modeling technique in built-enviro...
Use of Specularities and Motion in the Extraction of Surface Shape

10illumination

  • 1. Illumination Model 고려대학교 컴퓨터 그래픽스 연구실
  • 2. Illumination How do We Compute Radiance for a Sample Ray? Must derive computer models for ... Emission at light sources Scattering at surfaces Reception at the camera Wireframe Without Illumination Direct Illumination
  • 3. Overview Direct Illumination Emission at light sources Scattering at surfaces Global Illumination Shadows Refractions Inter-object reflections Direct Illumination
  • 4. Overview Direct Illumination Emission at light sources Scattering at surfaces Global Illumination Shadows Refractions Inter-object reflections Direct Illumination
  • 5. Modeling Light Source I L ( x,y,z,  ) Describes the intensity of energy, Leaving a light source Arriving at location(x,y,z) From direction (  ) With wavelength 
  • 6. Empirical Model Ideally Measure Irradiant Energy for “All” Situations Too much storage Difficult in practice
  • 7. Light Source Model Simple Mathematical Models: Point light Directional light Spot light
  • 8. Point Light Source Models Omni-Directional Point Source (E.g., Bulb) Intensity (I 0 ) Position (px, py, pz) Factors (k c , k l , k q ) for attenuation with distance (d)
  • 9. Directional Light Source Models Point Light Source at Infinity (E.g., Sun) Intensity (I 0 ) Direction (dx,dy,dz) No attenuation with distance
  • 10. Spot Light Source Models Point Light Source with Direction (E.g., Luxo) Intensity (I 0 ), Position (px, py, pz) Direction (dx, dy, dz) Attenuation
  • 11. Overview Direct Illumination Emission at light sources Scattering at surfaces Global Illumination Shadows Refractions Inter-object reflections Direct Illumination
  • 12. Modeling Surface Reflection R s (  ,  ) Describes the amount of incident energy Arriving from direction (  ) Leaving in direction (  ,  ) With wavelength 
  • 13. Empirical Model Ideally Measure Radiant Energy for “All” Combinations of Incident Angles Too much storage Difficult in practice
  • 14. Reflectance Model Simple Analytic Model: Diffuse reflection + Specular reflection + Emission + “ Ambient” Based on model proposed by Phong
  • 15. Reflectance Model Simple Analytic Model: Diffuse reflection + Specular reflection + Emission + “ Ambient” Based on model proposed by Phong
  • 16. Diffuse Reflection Assume Surface Reflects Equally in All Directions Examples: chalk, clay
  • 17. Diffuse Reflection How Much Light is Reflected? Depends on angle of incident light dL  dA  cos 
  • 18. Diffuse Reflection Lambertian Model Cosine law (dot product)
  • 19. Reflectance Model Simple Analytic Model: Diffuse reflection + Specular reflection + Emission + “ Ambient” Based on model proposed by Phong
  • 20. Specular Reflection Reflection is Strongest Near Mirror Angle Examples: mirrors, metals
  • 21. Specular Reflection How Much Light is Seen? Depends on angle of incident light and angle to viewer
  • 22. Specular Reflection Phong Model {cos(  )} n
  • 23. Reflectance Model Simple Analytic Model: Diffuse reflection + Specular reflection + Emission + “ Ambient” Based on model proposed by Phong
  • 24. Emission Represents Light Emitting Directly From Polygon Emission ≠ 0
  • 25. Reflectance Model Simple Analytic Model: Diffuse reflection + Specular reflection + Emission + “ Ambient” Based on model proposed by Phong
  • 26. Ambient Term Represents Reflection of All Indirect Illumination This is a total hack (avoids complexity of global illumination)!
  • 27. Reflectance Model Simple Analytic Model: Diffuse reflection + Specular reflection + Emission + “ Ambient”
  • 28. Reflectance Model Simple Analytic Model: Diffuse reflection + Specular reflection + Emission + “ Ambient”
  • 29. Reflectance Model Sum Diffuse, Specular, Emission, and Ambient
  • 30. Surface Illumination Calculation Single Light Source:
  • 31. Surface Illumination Calculation Multiple Light Sources:
  • 32. Overview Direct Illumination Emission at light sources Scattering at surfaces Global Illumination Shadows Refractions Inter-object reflections Global Illumination
  • 34. Shadows Shadow Terms Tell Which Light Sources are Blocked Cast ray towards each light source L i S i = 0 if ray is blocked, S i = 1 otherwise Shadow Term
  • 35. Ray Casting Trace Primary Rays from Camera Direct illumination from unblocked lights only
  • 36. Recursive Ray Tracing Also Trace Secondary Rays from Hit Surfaces Global illumination from mirror reflection and transparency
  • 37. Mirror Reflection Trace Secondary Ray in Direction of Mirror Reflection Evaluate radiance along secondary ray and include it into illumination model Radiance for mirror reflection ray
  • 38. Transparency Trace Secondary Ray in Direction of Refraction Evaluate radiance along secondary ray and include it into illumination model Radiance for refraction ray
  • 39. Transparency Transparency coefficient is fraction transmitted K T = 1 if object is translucent, K T = 0 if object is opaque 0 < K T < 1 if object is semi-translucent Transparency Coefficient
  • 40. Refractive Transparency For Thin Surfaces, Can Ignore Change in Direction Assume light travels straight through surface
  • 41. Refractive Transparency For Solid Objects, Apply Snell’s Law:  r sin  r  i  sin  i 
  • 42. Summary Direct Illumination Ray casting Usually use simple analytic approximations for light source emission and surface reflectance Global illumination Recursive ray tracing Incorporate shadows, mirror reflections, and pure refractions
  • 43. Illumination Terminology Radiant power [flux] ( Φ ) Rate at which light energy is transmitted (in Watts). Radiant Intensity (I) Power radiated onto a unit solid angle in direction( in Watt/sr) e.g.: energy distribution of a light source (inverse square law) Radiance (L) Radiant intensity per unit projected surface area( in Watts/m 2 sr) e.g.: light carried by a single ray (no inverse square law) Irradianc (E) Incident flux density on a locally planar area (in Watts/m 2 ) Radiosity (B) Exitant flux density from a locally planar area ( in Watts/m 2 )