intro to computer graphics l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Intro To Computer Graphics PowerPoint Presentation
Download Presentation
Intro To Computer Graphics

Loading in 2 Seconds...

play fullscreen
1 / 24

Intro To Computer Graphics - PowerPoint PPT Presentation


  • 713 Views
  • Uploaded on

Intro To Computer Graphics Geb Thomas Learning Objectives Learn the differences between image-order, object-order and volume rendering. Learn how the eye perceives color and how monitors present color.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

Intro To Computer Graphics


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
learning objectives
Learning Objectives
  • Learn the differences between image-order, object-order and volume rendering.
  • Learn how the eye perceives color and how monitors present color.
  • Learn how light and objects interact and how to mathematically define ambient, diffuse and specular reflections.
  • Learn the difference between flat and Gouraud shading.
how does a vr system use graphics
How Does a VR System Use Graphics?
  • Processor talks to graphics card about geometry and lighting
  • Graphics card crunches geometry and lighting calculations
  • Stores this in a buffer
  • Another circuit converts the buffer to the video signal
volume rendering
Volume Rendering
  • Similar to ray-tracing, but instead of being obstructed by intervening objects, the ray may just be attenuated, or color-filtered.
color
Color
  • Light hits the eye in a continuous spectrum of color from different frequencies.
  • Our eyes have three different types of cones to receive data. Each cone is sensitive to different frequencies.
  • The signals from our color-sensitive cones provide the perception of color.
  • By providing emitters designed to stimulate each type of cone, the monitor can fool our eye into believing it is perceiving natural color.
for example
For Example

Natural Reflected Light

Cone response:

Blue -> .8

Red -> .7

Green -> .5

Intensity

Wavelength

Simulated with a Monitor

Cone response:

Blue -> .8

Red -> .7

Green -> .5

Blue -> .8

Red -> .7

Green -> .5

lights
Lights
  • Infinitely distant point light creates parallel rays
    • Constant direction across field of view
    • No radiant energy drop-off
  • Local light sources
    • 1/R2 energy drop-off
    • Radial directions from source
    • Even more complex if the source is distributed rather than point-like
ambient light
Ambient Light
  • A general surround light that represents the random light rays resulting from multiple reflections.
  • Generally provides the colors of objects in shadows.
    • Rc= Lc Oc
    • Where Rc is resultant color, Lc is the light intensity curve, and Oc is the object intensity curve.
    • Also works Rc = ambient*RGBo where ambient ranges from 0-1 and RGBo is the RGB values of the object color.
diffuse light lambertian reflection
Diffuse Light(Lambertian reflection)
  • This is light from the light source, determined by the angle of incidence.
  • Objects are brighter when they directly face the light
    • Rc= Lc Oc(-Ln.On)
    • Where LnOn are the light normal and object normal, respectively (normalized length).
  • Gouraud shading interpolates the object normal across adjacent faces to make the object look smooth.
    • http://www.wiley.com/legacy/compbooks/vrml2sbk/toc/ch20.htm
specular reflection
Specular Reflection
  • Add hot spots characteristic of shiny objects.

Ln

Light

On

S

-Ln

Cn

-Cn

Object

Camera

Rc=LcOc[S . (-Cn)]Osp

S = 2[On.(-Ln)] On+Ln

exercise 1
Exercise 1
  • Given an object with RGB values of [.5 .2 .1] and an ambient light of .5, what is the color of a pixel containing the object (assuming no other light sources).
exercise 2
Exercise 2
  • Try to calculate color in 2D. Assume that a bright white light (intensity 1) reflects off a plane oriented at 35 degrees with a color of RGB values [1 0 0]. What is the color of a pixel showing the plane, if the camera is off to the right?
exercise 3
Exercise #3
  • Same situation as Exercise #2, but calculate the specular reflection, if the specular power is .08

35o

learning objectives23
Learning Objectives
  • Learn the differences between image-order, object-order and volume rendering.
  • Learn how the eye perceives color and how monitors present color.
  • Learn how light and objects interact and how to mathematically define ambient, diffuse and specular reflections.
  • Learn the difference between flat and Gouraud shading.