CSCE 441 Lecture 40

From Notes
Jump to navigation Jump to search

« previous | Tuesday, April 29, 2014 | next »

End Exam 2 content


Final Exam Review

Shadows, Collision Detection, Programmable Shaders, Quaternions, and Antialiasing will not be on the final.


Subjects:

  • Shading / Texturing
  • Hidden Surfaces
  • Ray Tracing
  • 3D Geometry
  • Radiosity
    • BRDF
  • Solid Modeling
  • Smooth Curves
  • Smooth Surfaces
  • Topics covered by assignments

Cumulative final, but less likely to ask questions that were asked on the midterm.

No code.


Interpolation of Normals

Linear interpolation:

  • origin to point on straight line between two points

Spherical linear interpolation

  • interpolate over angle θ between origin and endpoints
  • |n0|=|n1|=|n(t)|
  • n(t)=αn0+βn1
  • n0×n(t)=n0×(αn0+βn1)n1×n(t)=n1×(αn0+βn1)=β(n0×n1)=α(n1×n0)|n0×n(t)|=β|n0×n1||n1×n(t)|=α|n1×n0||n0||n(t)|sin(θt)=β|n0||n1|sinθ|n1||n(t)|sin(θ(1t))=α|n1||n0|sinθsin(θt)=βsinθsin(θ(1t))=αsinθβ=sin(θt)sinθα=sin(θ(1t))sinθ
  • n(t)=sin(θ(1t))n0+sin(θt)n1sinθ