Lecture06 - Primitive Output Attributes (Part 2)

Lecture06 - Primitive Output Attributes (Part 2) - 1...

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

View Full Document Right Arrow Icon
1
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 MUHAMAD NAJIB BIN ZAMRI MUHAMAD NAJIB BIN ZAMRI Primitive Output Attributes Primitive Output Attributes [Part 2] [Part 2]
Background image of page 2
3 Type of Polygon Convex Concave
Background image of page 3

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

View Full DocumentRight Arrow Icon
4 Convex Polygon All diagonal (corner) angles must less than 180 o . 1 θ 2 3 4 5 o 90 o 90 o 90 o 90
Background image of page 4
5 Concave Polygon At least one of the diagonal angle is greater than 180 o . o 180 θ
Background image of page 5

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

View Full DocumentRight Arrow Icon
6 Area-Filling Algorithms: Introduction Assign or fill color to the created polygon (inside region). Basic idea: Wireframe Mode Filling Mode Assign red color
Background image of page 6
7 Area-Filling Algorithms Scan-Line Algorithm To fill simple convex and concave polygons. Seed Fill Algorithm To fill arbitrary complex, irregular boundaries.
Background image of page 7

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

View Full DocumentRight Arrow Icon
Scan-Line Algorithm Assign color for each pixel, starting from left to right. Approach
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 38

Lecture06 - Primitive Output Attributes (Part 2) - 1...

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

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