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

Banasthalividyapith: Second Periodical Test January-April, 2020

The document provides details of a computer science exam for an 8th semester Bachelor of Technology class including: 1) The exam had 2 questions worth 10 marks total and was scheduled for 1 hour and 30 minutes. 2) The first question had two parts - part a asked students to show that the composite of two successive 2D rotations is additive, and part b asked students to calculate coordinates after shearing transformations on a square. 3) The second question or optional question was either to reflect a diamond shaped polygon or derive equations for window to viewport transformation.

Uploaded by

kfrahman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views1 page

Banasthalividyapith: Second Periodical Test January-April, 2020

The document provides details of a computer science exam for an 8th semester Bachelor of Technology class including: 1) The exam had 2 questions worth 10 marks total and was scheduled for 1 hour and 30 minutes. 2) The first question had two parts - part a asked students to show that the composite of two successive 2D rotations is additive, and part b asked students to calculate coordinates after shearing transformations on a square. 3) The second question or optional question was either to reflect a diamond shaped polygon or derive equations for window to viewport transformation.

Uploaded by

kfrahman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

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