lighting_and_shading

lighting_and_shading - CAP4730: Computational Structures in...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CAP4730: Computational Structures in Computer Graphics Lighting and Shading Outline • Lighting • Lighting models • Ambient • Diffuse • Specular • Surface Rendering Methods • Ray-Tracing What we know • We already know how to render the world from a viewpoint. “Lighting” • Two components: – Lighting Model or Shading Model- how we calculate the intensity at a point on the surface – Surface Rendering Method - How we calculate the intensity at each pixel Jargon • Illumination - the transport of light from a source to a point via direct and indirect paths • Lighting - computing the luminous intensity for a specified 3D point, given a viewpoint • Shading - assigning colors to pixels • Illumination Models: – Empirical - approximations to observed light properties – Physically based - applying physics properties of light and its interactions with matter The lighting problem… • What are we trying to solve? • Global illumination – the transport of light within a scene. • What factors play a part in how an object is “lit”? • Let’s examine different items here… Two components • Light Source Properties – Color (Wavelength(s) of light) – Shape – Direction • Object Properties – Material – Geometry – Absorption Light Source Properties • Color – We usually assume the light has one wavelength • Shape – point light source - approximate the light source as a 3D point in space. Light rays emanate in all directions. • good for small light sources (compared to the scene) • far away light sources Distributed Lights • Light Source Shape continued – distributed light source - approximating the light source as a 3D object. Light rays usually emanate in specific directions • good for larger light sources • area light sources Light Source Direction • In computer graphics, we usually treat lights as rays emanating from a source. The direction of these rays can either be: – Omni-directional (point light source) – Directional (spotlights) Light Position • We can specify the position of a light one of two ways, with an x , y , and z coordinate. – What are some examples? – These lights are called positional lights • Q: Are there types of lights that we can simplify? A: Yep! Think about the sun. If a light is significantly far away, we can represent the light with only a direction vector....
View Full Document

This note was uploaded on 11/30/2011 for the course CIS 4930 taught by Professor Staff during the Fall '08 term at University of Florida.

Page1 / 44

lighting_and_shading - CAP4730: Computational Structures in...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online