UNIVERSITY OF PETROLEUM AND ENERGY STUDIES, DEHRADUN
Assignment Sheet #2, November 2024
Programme Name: B.Tech(AIML,Data Scienec) Semester : V
Course Name : Computer Graphics
Course Code : CSEG2003
Nos. of page(s) : 02
Instructions : Answer the following questions
S. No.
Q1 What do you mean by composition of transformation? Discuss and write all the steps
along with their homogeneous matrix representation for composition of
transformation of the following cases :
• Rotate a point in anticlockwise direction about any arbitrary point by an
angle theta in 2D.
• Rotate a point about any arbitrary vector which is in 3D space in anti
clockwise direction by any angle theta.
Window to viewport transformation.
Q2 • Compare Bezier and B-spline Curve with their mathematical representation.
• Compute and draw a Bezier Curve with control points A(1,1),
B(2,3),C(4,3),D(6,4). What is Blending function?
• What is fractal? List some of its important feature.
Q3 • Compare Phong and Gouraud Shading with proper sketch.
• Write the steps to implement Z-buffer algorithm.
• Spline Curve
Q4. Solve the following :
i)Rotate a triangle at A(0,0), B(6,0), C(3,3) by 90 degree about origin in anticlock
wise direction.
ii) Prove that two scaling transformations commute i.e. S1.S2=S2.S1 and two 2D
rotations about origin also commute i.e. R1.R2=R2.R1.
iii) Magnify the triangle with vertices A(0,0), B(1,1) and C(5,2) to twice its size
keeping C (5,2) fixed.
Note: Number of questions, max. marks, marks distribution can vary.