ASSIGNMENT 2 - COMPUTER GRAPHICS
1. Transformations on Line A(4,6) and B(7,10)
Translation:
A(4,6) -> A'(6,9)
B(7,10) -> B'(9,13)
Rotation 90 degree clockwise:
A(4,6) -> A''(6,-4)
B(7,10) -> B''(10,-7)
2. Cohen-Sutherland Line Clipping
Final clipped line: (2 , 3.75) to (3.67 , 5)
3. Clipping
Clipping is the process of removing parts of objects outside viewing area.
4. Visible Surface Detection Methods
- Back Face Detection
- Z Buffer Method
- Scan Line Method
- Painter Algorithm
5. RGB vs CMY
RGB CMY
Red Green Blue Cyan Magenta Yellow
Additive Model Subtractive Model
Used in monitors Used in printers