You are on page 1of 1

BanasthaliVidyapith

Second Periodical Test


January-April, 2020
Class: B.Tech. VIII Semester (Section A & B)
Subject: Computer Science
Question Paper: CS 8.2--Computer Graphics
No. of Students: 126 + 126 = 252

Max. Marks: 10 Time: 1 Hr 30 Minutes

1. (a)Show that composite of two successive 2D rotations is additive, i.e.


R(θ1). R(θ2)=R(θ1+θ2) [1.5]
(b) Calculate the co-ordinates after shearing transformation on the square A(0,0), B(2,0),
C(2, 2) and D(0,2) when the shearing factors are 2 and 4 in x and y direction respectively.

[2.5]

2. Reflect the diamond-shaped polygon whose vertices are A(-1, 0), B(0, -2), C(1, 0) and
D(0, 2) about the horizontal line y=2. [3]

OR

What do you understand by Normalized Device Co-ordinates? Derive equations for


window to viewport transformation.

[1+2]

3. Use Liang-Barsky line clipping method to clip the line P1(-15, -30) to P2(30, 60)
against the window having diagonally opposite corners as (0, 0) and (15, 15).

[3]

OR

Explain step-wise the Scan Line Area Filling Algorithm. [3]

You might also like