1 / 7

CS 352: Computer Graphics

CS 352: Computer Graphics. Final Exam Review. Recent topics. BSP-tree Computing form factors Heckbert median-cut algorithm Floyd-Steinberg dither algorithm DDA line rasterization algorithm. Graphics Pipeline. Coordinate systems: object, eye, clip, NDC, screen

liliha
Télécharger la présentation

CS 352: 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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS 352: Computer Graphics FinalExamReview

  2. Recent topics • BSP-tree • Computing form factors • Heckbert median-cut algorithm • Floyd-Steinberg dither algorithm • DDA line rasterization algorithm

  3. Graphics Pipeline • Coordinate systems: object, eye, clip, NDC, screen • “Front-end” vs “back-end”? • Where do these take place? • Clipping • Gouraud shading • Phong shading • Scissoring • Trivial accept-reject • DAG traversal • Bresenham’s algorithm?

  4. Geometric Transformations • Five coordinate systems of interest: • Object coordinates • Eye (world) coordinates [after modeling transform, viewer at the origin] • Clip coordinates [after projection] • Normalized device coordinates [after ÷w] • Window (screen) coordinates [scale to screensize]

  5. Linear Algebra • Dot product? • Cross product? • Rotate about point [1,2,3]? • Backface culling? • Determine whether a point is to your left or right? • Intersection of two line segments? • Virtual trackball rotation?

  6. Dot Product • Def: u • v = uxvx + uyvy+ uzvz • u • v = |u| |v| cosθ • Uses: • Angle between two vectors? • Are two vectors perpendicular? • Do two vectors formacute or obtuse angle? • Is a face visible?(backface culling)

  7. Cross Product • u v = <uyvz - uzvy, uzvx - uxvz, uxvy - uyvx> • Direction: normal to plane containing u, v (using right-hand rule in right-handed coordinate system) • Magnitude: |u||v| sin θ • Uses: • Angle between vectors? • Face outward normal?

More Related