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

CGR-Assignments 1

Uploaded by

pritish8754
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)
53 views1 page

CGR-Assignments 1

Uploaded by

pritish8754
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

Sub: Computer Graphics Class:CO3K-B

Assignment 1

1) Consider the start point (6, 5) and end point is (15, 10).Rasterize points of line
using Bresenhams line drawing algorithm
2) Consider the start point (6, 5) and end point is (15, 10).Rasterize points of line
using DDA line drawing algorithm
3) Consider the radius =14 and centre point is (0, 0).Rasterize points of circle using
Bresenhams circle generation algorithm.

Assignment 2

1) Explain Flood Fill polygon filling algorithm (4 connected and 8 connected)


2) Explain Boundary Fill polygon filling algorithm (4 connected and 8 connected)
3) Explain inside and outside test for polygon.

Assignment 3

1) Translate the polygon with co-ordinates A (3, 6), B (8, 11), & C (11, 3) by 2 units in
X direction and 3 units in Y direction.
2) Obtain a transformation of Point P(6,7) for rotating an object about by 90°
anticlockwise about origin(0,0)
3) Apply the shearing transformation to square with A(0,0), B(1,0), C(1,1),
D(0,1) as given below.
i) In x direction with Shx=0.5
ii) In y direction with Shy=1.5

You might also like