CS321 Dr. Mark L. Hornick - PowerPoint PPT Presentation

1 / 21
About This Presentation
Title:

CS321 Dr. Mark L. Hornick

Description:

Specular Reflection. For perfect reflector, no reflection ... Specular reflection coefficient, W(q), is relatively constant for many opaque materials; i.e. ... – PowerPoint PPT presentation

Number of Views:38
Avg rating:3.0/5.0
Slides: 22
Provided by: ericd95
Category:
Tags: cs321 | hornick | mark | specular

less

Transcript and Presenter's Notes

Title: CS321 Dr. Mark L. Hornick


1
Illumination
  • Natural lighting effects
  • Surface characteristics
  • Shadows
  • Reflections
  • Mathematical models
  • Theoretical empirical

2
Terminology
  • Illumination (lighting) model
  • Calculating light intensity
  • At each point on a surface
  • Surface rendering
  • Apply lighting model
  • Obtain pixel intensities of projected surface
    positions

3
Light Sources Emitters
Point source Area small compared to scene
Distributed source Area large compared to scene
4
Light Emitters Reflectors
Specular (shiny)
Diffuse (dull)
5
Ambient Light
  • General brightness of scene
  • Light sources, reflections, etc.
  • Not spatial or directional
  • Constant for all surfaces
  • Independent of direction
  • Viewing direction, surface orientation
  • Reflected light depends on surface

Ia
6
Ambient Diffuse Reflection
Incident light from all directions
Reflected light scattered to all directions
7
(No Transcript)
8
(No Transcript)
9
Directional Diffuse Reflection
Incident light from one direction
But spread over varying areas
Reflected light scattered equally in all
directions Intensity depends on angle of incidence
Unit vectors N (normal) and L (to light source
position)
10
(No Transcript)
11
Flat Shading
  • Polygon surface rendering
  • Each polygon in the surface is shaded according
    to the intensity calculations based on the
    polygons surface normal

12
Gouraud Shading
  • Vertex normals are calculated as the average of
    the normals of the polygons that share the vertex
  • The vertex normal is an approximation to the true
    normal of the surface at that point.
  • Determine vertex intensities based on vertex
    normal
  • Linearly interpolate across surface

13
Gouraud Shading
14
(No Transcript)
15
Specular Reflection
Reflected light not diffused Angle of incidence
angle of reflection
For perfect reflector, no reflection visible at
any other angle
f
For imperfect reflectors, some reflection visible
at angle f from R
16
Phong Model
Empirical model of specular reflection
Specular reflection parameter, ns, is large
(gt100) for shiny surfaces, small (1) for dull
ones
Specular reflection coefficient, W(q), is
relatively constant for many opaque materials
i.e. modeled by constant ks
W(q)
q
17
(No Transcript)
18
Multiple Light Sources
  • We assume linear superposition of effects of all
    light sources.
  • It may be necessary to scale to avoid intensity
    saturation.

19
(No Transcript)
20
Other Lighting Issues
  • Not all sources are points
  • Control intensity by direction (Warn)
  • Intensity falls off at distance
  • Attenuation functions
  • Empirical rather than exact models
  • Color
  • Adjust reflection coefficients

21
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com