0% found this document useful (0 votes)
5 views

Reg18_Computer Graphics and Visualizations_Apr-May2024

Cgv

Uploaded by

thou.71772117146
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
5 views

Reg18_Computer Graphics and Visualizations_Apr-May2024

Cgv

Uploaded by

thou.71772117146
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 2
CODE: 181081 Reg.No: | | | | | | | rT | 1 alate B.E. / B.TECH, DEGREE EXAMINATIONS : APRIL / MAY 2024 COMPUTER SCIENCE AND ENGINEERING 18SPC703 - COMPUTER GRAPHICS AND VISUALIZATIONS ME : 3 HOURS MAX. MARKS : 100 ANSWER ALL QUESTIONS PART-A (10 X 2 = 20) List the merits and demerits of Bresenham's Line drawing Algorithm. Define output primitives Find the transformation matrix for X direction shearing with respect to Y reference line, What is meant by window to viewport co-ordinate transformation? What is called affine transformations? Give the matrix representation for 3D scaling with respect to fixed point. What is Ellipsoid? How it is represented in Cartesian and Parametric representation? Differentiate parallel and perspective projéctions. Write the advantages and disadvantages of YIQ color model. What is meant by halftoning? List few applications of it. PART-B (5X 16 = 80) (QUESTION NO.11 IS COMPULSORY) : Show the effect of following 3D transformations on a unit cube with the points (10) A (0,0,0), B (1,0,0), € (0,1,0), D (0,0,1), & (1,0,1), F (1,1,0), G (0,1,1), H (1,1,1). i. * Rotation about Z- axis with respect to a pivot point where Xr = 2, Yr=1 and 6 = 90 degrees. ji, Reflection about YZ plane. iii, Shearing about X- axis where Shxy = -2 and Shxz = 5. Illustrate the steps involved in computing three dimensional region code and explain (6) how the 2D line clipping method is extended for 3D tine clipping. (a (b) (a) Describe the working of Random scan and Raster scan displays. (10) (b) Apply the DDA line drawing algorithm to find the intermediate pixel values for the (6) line with endpoints (15, 20) and (13, 18). ; : (OR) (a) Explain about different coordinate representations used in graphics. ©) (©) Apply the mid-point ellipse algorithm to find the intermediate pixel values of an (10) ellipse using the-following inputs: r,'= 7, fy = 5 and centre = (-3, -1). (a) Illustrate the effect of following 2D Transformations on a diamond shaped polygon (10) whose vertices are A (-4, 0), B (0, -5), C (4, 0) and D (0,5). i. Perform Rotation with respect to pivot point (6, -4) and @ = 30 degree. ii. Perform Y direction shearing with respect to Xe = ~4 and Shy = 8. iil. Perform Reflection about horizontal line Y = -3. iv. Perform Scaling with respect to pivot point (0, 5) and S, = S, = 2. (b) Prove that two successive rotations are additive. 6) Q.CODE: 181081 15. 18. Use Cohen Sutherland line cli where P1 = (65,120), P2 = (80, 40), P3 = (30, 5), P4 = (60, 10), P5 = P6 = (40, 30) and the window size is. given by (15, 25) and (90,100). (@) Derive the transformation matrices for Orthographic and Oblique projections. () Explain the procedure for the transformation of world to viewing coordinates. (OR) ipping algorithm to clip the lines P1P2, P3P4, Pspg (OR) (5, 30) ang Generate the Bezier curve given by the following set of control PO = (10, i. 10, 0), P1 = (15,17, 0), P2 = (22,19,0) and P3 = (24, 8, 0) Evaluate the curve at u = 0, 0.3, 0.6, 1. Sketch the curve, control points, defining polygon. List out the properties of the above Bezier curve. (a) Describe about RGB, CMY and HLS color models. (b) Write a short note on visualization principles. Illustrate with an example, few OpenGL geometric primitives used for drawing basic objects. (OR) Points: msi dail (

You might also like