Illumination model, also known as Shading model or Lightning model, is used to calculate the intensity of light that is reflected at a given point on surface. There are three factors on which lightning effect depends on:
- Light Source :
Light source is the light emitting source. There are three types of light sources:
- Point Sources – The source that emit rays in all directions (A bulb in a room).
- Parallel Sources – Can be considered as a point source which is far from the surface (The sun).
- Distributed Sources – Rays originate from a finite area (A tubelight).
Their position, electromagnetic spectrum and shape determine the lightning effect.
- Surface :
When light falls on a surface part of it is reflected and part of it is absorbed. Now the surface structure decides the amount of reflection and absorption of light. The position of the surface and positions of all the nearby surfaces also determine the lightning effect.
- Observer :
The observer’s position and sensor spectrum sensitivities also affect the lightning effect.
1. Ambient Illumination :
Assume you are standing on a road, facing a building with glass exterior and sun rays are falling on that building reflecting back from it and the falling on the object under observation. This would be Ambient Illumination. In simple words, Ambient Illumination is the one where source of light is indirect.
The reflected intensity Iamb of any point on the surface is:
2. Diffuse Reflection :
Diffuse reflection occurs on the surfaces which are rough or grainy. In this reflection the brightness of a point depends upon the angle made by the light source and the surface.
The reflected intensity Idiff of a point on the surface is:
3. Specular Reflection :
When light falls on any shiny or glossy surface most of it is reflected back, such reflection is known as Specular Reflection.
Phong Model is an empirical model for Specular Reflection which provides us with the formula for calculation the reflected intensity Ispec:
- Pricing Models for Amazon EC2
- Python | CMY and CMYK Color Models
- Management Information System (MIS) Models
- Types of Models in Object Oriented Modeling and Design
- Basic Graphic Programming in C++
- List of basic AutoCAD Terminology
- Interpolation Methods in Computer Graphics
- Difference between Intel and AMD
- Introduction to Photoshop
- Painter's Algorithm in Computer Graphics
- Graphical Kernel System (GKS)
- Functions of Video Controller in Raster Scan System
- How to create a Heart using C Graphics
- Introduction of Podcasting
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.