1 / 100

Polygon Clipping

Polygon Clipping. CS5600 Computer Graphics Rich Riesenfeld Spring 2006. Lecture Set 5. Ex: Simple Convex. Ex: Multiple Components. Nonconvex with Many Edges. Polygons : Before Clipping. Top Clip Boundary. Polygons: Clip on Top. Right Clip Boundary. Polygons: Clip on Right.

akiva
Download Presentation

Polygon Clipping

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. Polygon Clipping CS5600 Computer Graphics Rich Riesenfeld Spring 2006 Lecture Set 5

  2. Ex: Simple Convex CS5600

  3. Ex: Multiple Components CS5600

  4. Nonconvex with Many Edges CS5600

  5. Polygons : Before Clipping CS5600

  6. Top Clip Boundary Polygons: Clip on Top CS5600

  7. Right Clip Boundary Polygons: Clip on Right CS5600

  8. Bottom Clip Boundary Polygons: Clip on Bottom CS5600

  9. LeftClip Boundary Polygons: Clip on Left CS5600

  10. Polygons: Clipped Polygon CS5600

  11. Begin Animated Recap CS5600

  12. Polygons: Before Clipping CS5600

  13. Top Clip Boundary Polygons: Clip on Top CS5600

  14. Top Clip Boundary Polygons: Clip on Top CS5600

  15. Right Clip Boundary Polygons: Clip on Right CS5600

  16. Right Clip Boundary Polygons: Clip on Right CS5600

  17. Bottom Clip Boundary Polygons: Clip on Bottom CS5600

  18. Bottom Clip Boundary Polygons: Clip on Bottom CS5600

  19. LeftClip Boundary Polygons: Clip on left CS5600

  20. LeftClip Boundary Polygons: Clip on left CS5600

  21. Polygons: Fully Clipped CS5600

  22. Polygons: Clip on Left Left Clip Boundary CS5600

  23. Polygons: Clipped Polygon CS5600

  24. End Animated Recap CS5600

  25. Hodgeman-Sutherland

  26. Polygons: Case 1 IN OUT S Polygon being clipped Clip boundary P: output CS5600

  27. Case 1: S&Pboth IN Action: OutputP

  28. Polygons: Case 2 IN OUT P S i output CS5600

  29. Case 2: SIN; POUT Action: Outputi (Swas already output under Case 1)

  30. Polygons: Case 3 IN OUT P S (no output) CS5600

  31. Case 3: S&Pboth OUT Action: None

  32. Polygons: Case 4 P: second output IN OUT S i: first output CS5600

  33. Case 4: SOUT; PIN Action: Outputi and P

  34. Action:OutputP Case 1:S&Pboth IN Case 2: SIN; POUT Action:Outputi (Salready output under Case 1) Case 4:SOUT;PIN Case 3: S & P both OUT Action:OutputiandP Action:None

  35. Hodgeman-Sutherland CS5600

  36. Hodgeman-Sutherland CS5600

  37. Hodgeman-Sutherland: Top CS5600

  38. Hodgeman-Sutherland: Top CS5600

  39. Hodgeman-Sutherland: Bottom CS5600

  40. Hodgeman-Sutherland: Bottom CS5600

  41. Hodgeman-Sutherland: Bottom CS5600

  42. Hodgeman-Sutherland: Right CS5600

  43. Hodgeman-Sutherland: Right This case is trivial: donothing CS5600

  44. Hodgeman-Sutherland: Left CS5600

  45. Hodgeman-Sutherland: Left CS5600

  46. Hodgeman-Sutherland: Left CS5600

  47. Hodgeman-Sutherland: Done CS5600

  48. Begin Animated Recap CS5600

  49. CS5600

  50. Top Done

More Related