You are on page 1of 2

Daffodil International University

Department of Computer Science and Engineering


Faculty of Science & Information Technology
Final Examination, Fall 2021
Course Code: CSE421 (Day), Course Title: Computer Graphics
Level: 4 Term: 2
Course Teacher: ALL Section: ALL
Time: 2 hours Marks: 40

Q1 Consider the following figure where the cube is an object in the three-dimensional plane.

a) Find out the coordinates of each point. 2


b) Rotate the cube 45 degrees along the Z axis. 3
c) Reflect the cube along the Y axis. 3
d) Translate the cube 3 units along the X and Y axis. 2

Q2 a) Describe the efficient procedure for finding the categories of lines. 3

b) Your are given 5 lines AB {(-8, 10), (-1, 11)}, CD {(2, 6), (5, 11)}, EF {(0, 3), (4, 5)}, GH 7
{(-6, 3), (-1, 6)} & IJ {(2, 0), (8, 7)} where 𝑋𝑀𝑖𝑛 = -6, 𝑋𝑀𝑎𝑥 = 4, 𝑌𝑀𝑖𝑛 = 3, 𝑌𝑀𝑎𝑥 = 7. Find out the
categories of each of the lines and perform clipping using Cohen-Sutherland algorithm.

Q3 a) How can you calculate the intersection vertex for clipping? 2


b) In the following figure, ABCDEFG is the subject polygon and abcd is the clipping 8
window. Now clip the subject polygon using Sutherland-Hodgeman polygon clipping
algorithm.

Q4 a) Identify the color model and discuss the importance of this color model. 3

b) Suppose your friend is going to start his own business. He is thinking of starting a printing 3
shop. He will set up different printing machines to print banners, posters, computer compose
etc. But he is confused about colors. He can not decide which color model he should use. Can
you help your friend to select which color model he should use and why?

c) Suppose your friend recently had an accident. The doctor is thinking if there is any brain 4
hemorrhage or not. The doctor needs to check the brain closely. Which computer graphics
technique can be applied for this job and why? Briefly describe.

You might also like