0% found this document useful (0 votes)
5 views1 page

Assignment2 Computer Graphics

The document outlines various computer graphics concepts including transformations on lines, specifically translation and rotation. It discusses Cohen-Sutherland line clipping with a final clipped line example, as well as the process of clipping and visible surface detection methods. Additionally, it compares RGB and CMY color models, highlighting their differences in application and methodology.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Assignment2 Computer Graphics

The document outlines various computer graphics concepts including transformations on lines, specifically translation and rotation. It discusses Cohen-Sutherland line clipping with a final clipped line example, as well as the process of clipping and visible surface detection methods. Additionally, it compares RGB and CMY color models, highlighting their differences in application and methodology.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

You might also like