CSCE 441 Lecture 20

From Notes
Jump to navigation Jump to search

« previous | Friday, February 28, 2014 | next »

End Exam 1 content


Exam Review

6 questions, some with multiple parts (max sub-parts = 18)

  • Explanations, short-answer
  • Computation
  • No programming

50 minutes to complete


Know Algorithms

  • Scan conversion
  • Clipping


Clipping

Cohen-Sutherland

Region Codes where 1 bit means "outside the window"

  • If bitwise AND between region codes of endpoints is non-zero, then trivially reject
  • If bitwise OR is identical to zero, then trivially accept
  • Otherwise, have to split line into two segments via intersection


Liang-Barsky
  1. Set up parametric equation of line for
  2. Find intersection parameter with boundary.
  3. Reject if

Transformations

Taking vector equations and turning them into matrix Form


Cross Product Matrix


Non-Uniform Scaling

What's multiplied?

What's added?


3D Rotations


What is multiplied by ?

  • , but it's not a scalar, so we need an identity factor:

We add all of these things together (esentially factoring out ) and fill in the upper-left block of our matrix

Color

  • Half-toning
  • Dithering
  • Error diffusion
  • models of color
  • Equations (total of 3; one per color)
  • Properties of light

Lighting

(last topic covered chronologically)

Know definitions and ways to compute

  • Ambient
  • Diffuse
  • Specular