SlideShare a Scribd company logo
1 of 21
MAHARANA PRATAP COLLEGE OF
ENGINEERING
SEMINAR (CS-508)
Presentation on
ILLUMINATION MODEL
Submitted to -
Asst. Prof. Sarika Tyagi
CS/IT Dept.
Submitted by –
Aishwarya Bharadwaj
0903CS121008
B.E.-CS
ILLUMINATION MODEL
CONTENTS
 Introduction
 Definition
 Working
 Applications
 Disadvantages
INTRODUCTION
 Color is a fundamental attribute of our viewing
experience. The perception of color arises
from light energy entering our visual system.
 This complex process is relevant to computer
graphics because a realistic image is one that
seems indistinguishable from the light energy
coming from a real scene.
 We use a well-known formula to mimic the
effect of objects being lit by light sources and
we describe several useful techniques for
shading polygon-mesh objects.
DEFINITION
 ILLUMINATION MODEL can be defined as a
model used in computer graphics to show
reflection on objects.
ILLUMINATION MODEL
Local illumination
model
Global illumination
model
LOCAL ILLUMINATION MODEL
OR
THE PHONG MODEL
 The Phong Model is also referred to as Local
Illumination Model because its main focus is on
the direct impact of the light coming from the
light source.
WORKING
 Two extreme cases of light reflection are:
1. Diffuse Reflection – In this case light energy
from the light source gets bounced off equally
in all directions. Smaller the angle higher the
reflection.
2. Specular Reflection – Since a perfect mirror
is nonexistent we want to distribute reflected
energy across a small cone-shaped space
centered around R, with the reflection being
the strongest along the direction of R and
decreasing quickly.
DISADVANTAGES
 Computing surface
color using an
illumination model such
as Phong formula at
every point of interest
can be very expensive.
 To avoid this problem,
we apply the formula at
full scale only at
selected surface point.
TYPES OF SHADING
 We then rely on such techniques as color interpolation and
surface-normal interpolation to shade other surface points.
1. Constant Shading –The least time consuming approach is
not to perform calculation for additional surface points at
all. The color values of those selected surface points are
used to shade the entire surface. It can produce good
results for dull polyhedrons lit by light sources that are
relatively far away.
2. Gouraud Shading –In this approach we evaluate the
illumination formula at the vertices of the polygon mesh.
We then interpolate the resultant color values to get a
gradual shading within each polygon.
3. Phong Shading –This technique is relatively time-
consuming since the illumination model is evaluated at
every point of interest using the interpolated normal
vectors. However, it is very effective in dealing with
GLOBAL ILLUMINATION
MODEL
OR RAY TRACING
 It includes such secondary effects as light
going through transparent/ translucent
material and light bouncing from one
object surface to another.
WORKING
 Primary rays – These are the light rays coming
from viewpoint through the center of each pixel
into the scene.
 If a primary ray intersects an object, then the color
of the corresponding pixel is determined by the
surface shading of an object at the intersection
point. Several secondary rays are used to
compute the three components of this surface
shading.
 To find the three components of the surface
shading several secondary rays are used. The
three components are :
WORKING (contd…)
1) Local contribution –This is the first component,
which refers to the direct contribution from the light
source. We send a shadow ray or illumination ray
from the surface point to a light source. If the ray is
blocked before reaching a light source, the surface
point is in shadow.
2) Reflected contribution –This is the second
component, which refers to the reflection of light
energy coming from another object surface(inter
object reflection).This is determined by a (specularly)
reflected ray.
3) Transmitted contribution –This is the third
component, which refers to the transmission of the
light energy coming from behind the surface. This is
APPLICATIONS
 Various techniques have been developed to achieve
certain desirable visual effects. Some methods
given below are applications of distributed ray-
tracing, which means that we scatter rays with
respect to a certain parameter in the ray-tracing
process(recall that in stochastic super sampling we
displace rays from their normal position in the pixel
grid).
 Environment Mapping
 Soft Shadow
 Blurry Reflection
 Motion Blur
Environment Mapping
 A shiny (mirror-like) object
reflects the surrounding
environment. Instead of
ray-tracing the three-
dimensional scene to
obtain the global
reflection, we may map a
picture of the environment
onto the object.
 The object is typically
placed in the middle of an
enclosure such as a cube,
cylinder with the
environment map attached
to the middle of the
Soft Shadow
Ray-traced images of scene
involving fixed point-lights are
characterized by the harsh edges
of the shadow areas.However
real lights are not mathematical
points and they cast umbra and
penumbra. In order to produce soft
shadows we model a light source
by region, called an area light. The
area is divided into sub-areas or
zones. Shadow Rays are then
distributed to these zones via
random selection (with equal
probability for each zone).
Blurry Reflection
 To get a blurry reflection of
the surroundings on a
glossy(not mirror like)
object, we distribute the
reflected rays.
 This can be done by
displacing a reflected ray
from the position of its
mirror reflection by a small
angle. The distribution of
the angle is subject to the
same bell-shaped
reflectance function that
governs specular
highlights.
Motion Blur
 A fast moving object
tends to look blurry in
a photograph. To
mimic this
phenomenon we
distributed rays over
time. In other words,
we predetermine the
path or a series of
positions of a moving
object based on the
characteristics of the
movement. We then
displace the object
DISADVANTAGES
 Ray tracing depicts a continuous scene by taking discrete
samples from the scene. Hence the aliasing artifacts
associated with scan conversion are also present in ray-
traced images.
 Following are three anti-aliasing techniques:
1. Supersampling – Each pixel is divided into sub pixels and
a separate primary ray is sent and traced through the center
of each sub pixel. The color intensity values of the primary
rays for the sub pixel are then combined.
2. Adaptive Supersampling – In this approach we send one
ray through the center of a pixel and four additional rays
through its corners.
3. Stochastic Supersampling – In this approach we deviate
from using the fixed (sub)pixel grid by scattering the rays
evenly across the pixel area in a random fashion. A typical
way to achieve this is to displace each ray from its normal
Thank
You

More Related Content

What's hot

Bayes Classification
Bayes ClassificationBayes Classification
Bayes Classificationsathish sak
 
Image processing presentataion
Image processing presentataionImage processing presentataion
Image processing presentataionRafi Ullah
 
Lossless predictive coding in Digital Image Processing
Lossless predictive coding in Digital Image ProcessingLossless predictive coding in Digital Image Processing
Lossless predictive coding in Digital Image Processingpriyadharshini murugan
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing PresentationRevanth Chimmani
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filtersA B Shinde
 
Faster R-CNN: Towards real-time object detection with region proposal network...
Faster R-CNN: Towards real-time object detection with region proposal network...Faster R-CNN: Towards real-time object detection with region proposal network...
Faster R-CNN: Towards real-time object detection with region proposal network...Universitat Politècnica de Catalunya
 
04 image enhancement edge detection
04 image enhancement edge detection04 image enhancement edge detection
04 image enhancement edge detectionRumah Belajar
 
Convolutional Neural Networks : Popular Architectures
Convolutional Neural Networks : Popular ArchitecturesConvolutional Neural Networks : Popular Architectures
Convolutional Neural Networks : Popular Architecturesananth
 
Order Independent Transparency
Order Independent TransparencyOrder Independent Transparency
Order Independent Transparencyacbess
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and SegmentationA B Shinde
 
Lecture 16 KL Transform in Image Processing
Lecture 16 KL Transform in Image ProcessingLecture 16 KL Transform in Image Processing
Lecture 16 KL Transform in Image ProcessingVARUN KUMAR
 
Chapter 9 morphological image processing
Chapter 9 morphological image processingChapter 9 morphological image processing
Chapter 9 morphological image processingasodariyabhavesh
 

What's hot (20)

Bayes Classification
Bayes ClassificationBayes Classification
Bayes Classification
 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Image restoration and reconstruction
 
Image processing presentataion
Image processing presentataionImage processing presentataion
Image processing presentataion
 
visible surface detection
visible surface detectionvisible surface detection
visible surface detection
 
Lossless predictive coding in Digital Image Processing
Lossless predictive coding in Digital Image ProcessingLossless predictive coding in Digital Image Processing
Lossless predictive coding in Digital Image Processing
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing Presentation
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
Faster R-CNN: Towards real-time object detection with region proposal network...
Faster R-CNN: Towards real-time object detection with region proposal network...Faster R-CNN: Towards real-time object detection with region proposal network...
Faster R-CNN: Towards real-time object detection with region proposal network...
 
04 image enhancement edge detection
04 image enhancement edge detection04 image enhancement edge detection
04 image enhancement edge detection
 
Convolutional Neural Networks : Popular Architectures
Convolutional Neural Networks : Popular ArchitecturesConvolutional Neural Networks : Popular Architectures
Convolutional Neural Networks : Popular Architectures
 
Deep Learning for Computer Vision: Object Detection (UPC 2016)
Deep Learning for Computer Vision: Object Detection (UPC 2016)Deep Learning for Computer Vision: Object Detection (UPC 2016)
Deep Learning for Computer Vision: Object Detection (UPC 2016)
 
Order Independent Transparency
Order Independent TransparencyOrder Independent Transparency
Order Independent Transparency
 
Object recognition
Object recognitionObject recognition
Object recognition
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 
SSD: Single Shot MultiBox Detector (UPC Reading Group)
SSD: Single Shot MultiBox Detector (UPC Reading Group)SSD: Single Shot MultiBox Detector (UPC Reading Group)
SSD: Single Shot MultiBox Detector (UPC Reading Group)
 
Dip chapter 2
Dip chapter 2Dip chapter 2
Dip chapter 2
 
Lecture 16 KL Transform in Image Processing
Lecture 16 KL Transform in Image ProcessingLecture 16 KL Transform in Image Processing
Lecture 16 KL Transform in Image Processing
 
Chapter 9 morphological image processing
Chapter 9 morphological image processingChapter 9 morphological image processing
Chapter 9 morphological image processing
 
Computer Vision
Computer VisionComputer Vision
Computer Vision
 

Similar to Illumination Model

GRPHICS08 - Raytracing and Radiosity
GRPHICS08 - Raytracing and RadiosityGRPHICS08 - Raytracing and Radiosity
GRPHICS08 - Raytracing and RadiosityMichael Heron
 
GRPHICS04 - Rendering (1)
GRPHICS04 - Rendering (1)GRPHICS04 - Rendering (1)
GRPHICS04 - Rendering (1)Michael Heron
 
Heckbert p s__adaptive_radiosity_textures_for_bidirectional_r
Heckbert p s__adaptive_radiosity_textures_for_bidirectional_rHeckbert p s__adaptive_radiosity_textures_for_bidirectional_r
Heckbert p s__adaptive_radiosity_textures_for_bidirectional_rXavier Davias
 
Optics basics concepts
Optics basics conceptsOptics basics concepts
Optics basics conceptsAnisur Rahman
 
Dr Md Anisur Rahman Optics basics concepts
Dr Md Anisur Rahman Optics basics conceptsDr Md Anisur Rahman Optics basics concepts
Dr Md Anisur Rahman Optics basics conceptsAnisur Rahman
 
Rendering Algorithms.pptx
Rendering Algorithms.pptxRendering Algorithms.pptx
Rendering Algorithms.pptxSherinRappai
 
APPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWS
APPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWSAPPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWS
APPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWSijcga
 
Latest innovation in microscope(1)
Latest innovation in microscope(1)Latest innovation in microscope(1)
Latest innovation in microscope(1)AkritiSrivastav1
 
Concept of basic illumination model
Concept of basic illumination modelConcept of basic illumination model
Concept of basic illumination modelAnkit Garg
 
visual realism in geometric modeling
visual realism in geometric modelingvisual realism in geometric modeling
visual realism in geometric modelingsabiha khathun
 
Confocal microscopy by prabhat
Confocal microscopy by prabhatConfocal microscopy by prabhat
Confocal microscopy by prabhatPrabhat Kumar
 
Direct Volume Rendering (DVR): Ray-casting
Direct Volume Rendering (DVR): Ray-castingDirect Volume Rendering (DVR): Ray-casting
Direct Volume Rendering (DVR): Ray-castingCaferYaarKarabulut
 

Similar to Illumination Model (20)

GRPHICS08 - Raytracing and Radiosity
GRPHICS08 - Raytracing and RadiosityGRPHICS08 - Raytracing and Radiosity
GRPHICS08 - Raytracing and Radiosity
 
GRPHICS04 - Rendering (1)
GRPHICS04 - Rendering (1)GRPHICS04 - Rendering (1)
GRPHICS04 - Rendering (1)
 
Heckbert p s__adaptive_radiosity_textures_for_bidirectional_r
Heckbert p s__adaptive_radiosity_textures_for_bidirectional_rHeckbert p s__adaptive_radiosity_textures_for_bidirectional_r
Heckbert p s__adaptive_radiosity_textures_for_bidirectional_r
 
Optics basics concepts
Optics basics conceptsOptics basics concepts
Optics basics concepts
 
Dr Md Anisur Rahman Optics basics concepts
Dr Md Anisur Rahman Optics basics conceptsDr Md Anisur Rahman Optics basics concepts
Dr Md Anisur Rahman Optics basics concepts
 
Visual realism
Visual realismVisual realism
Visual realism
 
Visual realism
Visual realismVisual realism
Visual realism
 
Ppt f1
Ppt f1Ppt f1
Ppt f1
 
Rendering Algorithms.pptx
Rendering Algorithms.pptxRendering Algorithms.pptx
Rendering Algorithms.pptx
 
Ray tracing
Ray tracingRay tracing
Ray tracing
 
APPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWS
APPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWSAPPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWS
APPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWS
 
Global illumination
Global illuminationGlobal illumination
Global illumination
 
Ray tracing
Ray tracingRay tracing
Ray tracing
 
Latest innovation in microscope(1)
Latest innovation in microscope(1)Latest innovation in microscope(1)
Latest innovation in microscope(1)
 
Ray tracing
Ray tracingRay tracing
Ray tracing
 
Concept of basic illumination model
Concept of basic illumination modelConcept of basic illumination model
Concept of basic illumination model
 
visual realism in geometric modeling
visual realism in geometric modelingvisual realism in geometric modeling
visual realism in geometric modeling
 
Confocal microscopy by prabhat
Confocal microscopy by prabhatConfocal microscopy by prabhat
Confocal microscopy by prabhat
 
Microscopy - The Life of Bio science lab
Microscopy - The Life of Bio science labMicroscopy - The Life of Bio science lab
Microscopy - The Life of Bio science lab
 
Direct Volume Rendering (DVR): Ray-casting
Direct Volume Rendering (DVR): Ray-castingDirect Volume Rendering (DVR): Ray-casting
Direct Volume Rendering (DVR): Ray-casting
 

Recently uploaded

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 

Recently uploaded (20)

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 

Illumination Model

  • 1. MAHARANA PRATAP COLLEGE OF ENGINEERING SEMINAR (CS-508) Presentation on ILLUMINATION MODEL Submitted to - Asst. Prof. Sarika Tyagi CS/IT Dept. Submitted by – Aishwarya Bharadwaj 0903CS121008 B.E.-CS
  • 3. CONTENTS  Introduction  Definition  Working  Applications  Disadvantages
  • 4. INTRODUCTION  Color is a fundamental attribute of our viewing experience. The perception of color arises from light energy entering our visual system.  This complex process is relevant to computer graphics because a realistic image is one that seems indistinguishable from the light energy coming from a real scene.  We use a well-known formula to mimic the effect of objects being lit by light sources and we describe several useful techniques for shading polygon-mesh objects.
  • 5. DEFINITION  ILLUMINATION MODEL can be defined as a model used in computer graphics to show reflection on objects. ILLUMINATION MODEL Local illumination model Global illumination model
  • 6. LOCAL ILLUMINATION MODEL OR THE PHONG MODEL  The Phong Model is also referred to as Local Illumination Model because its main focus is on the direct impact of the light coming from the light source.
  • 7. WORKING  Two extreme cases of light reflection are: 1. Diffuse Reflection – In this case light energy from the light source gets bounced off equally in all directions. Smaller the angle higher the reflection. 2. Specular Reflection – Since a perfect mirror is nonexistent we want to distribute reflected energy across a small cone-shaped space centered around R, with the reflection being the strongest along the direction of R and decreasing quickly.
  • 8.
  • 9. DISADVANTAGES  Computing surface color using an illumination model such as Phong formula at every point of interest can be very expensive.  To avoid this problem, we apply the formula at full scale only at selected surface point.
  • 10. TYPES OF SHADING  We then rely on such techniques as color interpolation and surface-normal interpolation to shade other surface points. 1. Constant Shading –The least time consuming approach is not to perform calculation for additional surface points at all. The color values of those selected surface points are used to shade the entire surface. It can produce good results for dull polyhedrons lit by light sources that are relatively far away. 2. Gouraud Shading –In this approach we evaluate the illumination formula at the vertices of the polygon mesh. We then interpolate the resultant color values to get a gradual shading within each polygon. 3. Phong Shading –This technique is relatively time- consuming since the illumination model is evaluated at every point of interest using the interpolated normal vectors. However, it is very effective in dealing with
  • 11. GLOBAL ILLUMINATION MODEL OR RAY TRACING  It includes such secondary effects as light going through transparent/ translucent material and light bouncing from one object surface to another.
  • 12. WORKING  Primary rays – These are the light rays coming from viewpoint through the center of each pixel into the scene.  If a primary ray intersects an object, then the color of the corresponding pixel is determined by the surface shading of an object at the intersection point. Several secondary rays are used to compute the three components of this surface shading.  To find the three components of the surface shading several secondary rays are used. The three components are :
  • 13. WORKING (contd…) 1) Local contribution –This is the first component, which refers to the direct contribution from the light source. We send a shadow ray or illumination ray from the surface point to a light source. If the ray is blocked before reaching a light source, the surface point is in shadow. 2) Reflected contribution –This is the second component, which refers to the reflection of light energy coming from another object surface(inter object reflection).This is determined by a (specularly) reflected ray. 3) Transmitted contribution –This is the third component, which refers to the transmission of the light energy coming from behind the surface. This is
  • 14.
  • 15. APPLICATIONS  Various techniques have been developed to achieve certain desirable visual effects. Some methods given below are applications of distributed ray- tracing, which means that we scatter rays with respect to a certain parameter in the ray-tracing process(recall that in stochastic super sampling we displace rays from their normal position in the pixel grid).  Environment Mapping  Soft Shadow  Blurry Reflection  Motion Blur
  • 16. Environment Mapping  A shiny (mirror-like) object reflects the surrounding environment. Instead of ray-tracing the three- dimensional scene to obtain the global reflection, we may map a picture of the environment onto the object.  The object is typically placed in the middle of an enclosure such as a cube, cylinder with the environment map attached to the middle of the
  • 17. Soft Shadow Ray-traced images of scene involving fixed point-lights are characterized by the harsh edges of the shadow areas.However real lights are not mathematical points and they cast umbra and penumbra. In order to produce soft shadows we model a light source by region, called an area light. The area is divided into sub-areas or zones. Shadow Rays are then distributed to these zones via random selection (with equal probability for each zone).
  • 18. Blurry Reflection  To get a blurry reflection of the surroundings on a glossy(not mirror like) object, we distribute the reflected rays.  This can be done by displacing a reflected ray from the position of its mirror reflection by a small angle. The distribution of the angle is subject to the same bell-shaped reflectance function that governs specular highlights.
  • 19. Motion Blur  A fast moving object tends to look blurry in a photograph. To mimic this phenomenon we distributed rays over time. In other words, we predetermine the path or a series of positions of a moving object based on the characteristics of the movement. We then displace the object
  • 20. DISADVANTAGES  Ray tracing depicts a continuous scene by taking discrete samples from the scene. Hence the aliasing artifacts associated with scan conversion are also present in ray- traced images.  Following are three anti-aliasing techniques: 1. Supersampling – Each pixel is divided into sub pixels and a separate primary ray is sent and traced through the center of each sub pixel. The color intensity values of the primary rays for the sub pixel are then combined. 2. Adaptive Supersampling – In this approach we send one ray through the center of a pixel and four additional rays through its corners. 3. Stochastic Supersampling – In this approach we deviate from using the fixed (sub)pixel grid by scattering the rays evenly across the pixel area in a random fashion. A typical way to achieve this is to displace each ray from its normal