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

reg18_Computer Graphics and Visualizations_Apr-May2023-1 2

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)
3 views

reg18_Computer Graphics and Visualizations_Apr-May2023-1 2

Cgv

Uploaded by

thou.71772117146
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 6
}.CODE: 181077 BE /B TECH, DEGREE EXAMINATIONS : APRIL / MAY 2023 COMPUTER SCIENCE AND ENGINEERING 18SPCTO3 . COMPUTER GRAPHICS AND VISUALIZA TIONS HOURS MAK. MARKS : 100 ANSWER ALL QUESTIONS PART A (10 X 2 = 20) ferentiate between raster scan displays and random scan displays a the matrix representation for rotation © sequence of steps used to obtain the transformation from world coordinates ' dinates. Transformations 9 and Clipping window Mention the applications of Depth Cueing the benefits of the chromaticity diagram. he types of Scientific Visualization Algorithms PART -B (5 X 16 = 20) QUESTION NO.11 1S COMPULSORY) E/adorate the 3-D Reflections and Shearing with homogeneous coordinates. > Determine the values for three-dimensional, six-bit region code that identifies spatial (2 tions relative to the boundaries of a view volume. Explain OpenGL functions for point and line. @) inte the Bresenham’s Line-Drawing Algorithm for |m| < 1.0. Digitize the line with (8) enpoints (20, 10) and (30, 18) (OR) mplement an OpenGL program to display points and lines along with its attnbute functions, 5) Wrte Midpoint Circle Algorithm. Given a circle radius r = 10, demonstrate the (8 midpoint circle algorithm by determining positions along the circle octant in the first cuadrant from x= Otox=y. 8 Explain the Composite Two-Dimensional Translations, Rotations and Scaling Illustrate (i) Reflection of an object with respect to the line y = x. (ji) Reflection with (7) respect to the line y = -x (OR) Explain the OpenGL 2D Viewing Functions 8) Implement the Sutherland-Hodgman polygan-clipping algorithm. Consider the input (8) set of vertices is converted to an output vertex list by clipping it against the four edges of the axis-aligned rectangular clipping region 2) Explain the Three-Dimensional Viewing Pipeline with diagram (8) Q.CODE: 181077 16. 7 18 19, (b) @ (b) (@) (b) (@) (b) Explain the Transformation from World to Viewing Coordinates. (OR) Compare Parallel and Perspective projection. With OpenGL Code, explain the Bezier Spline Curves. llustrate about RGB and CMY color models. Illustrate HSV and HLS Color models. (or) Describe Orthographic Projection, Viewing Box and World Coordinates with suitable example Describe OpenGL window and screen coordinates with an example, CODE: 181081 Reg.N Ie LL B.E. / B.TECH. DEGREE EXAMINATIONS : APRIL / MAY 2024 COMPUTER SCIENCE AND ENGINEERING y 18SPC703 - COMPUTER GRAPHICS AND VISUALIZATIONS ME : 3 HOURS MAX. MARKS : 100 (a) (b) (a) (b) (a) (b) (a) (b) 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 tine 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 halfioning? List few applications of it. PART-B. (5X 16 = 80) (QUESTION NO.11 1S COMPULSORY) Show the effect of following 3D transformations on a unit cube with the points (10) A (0,0,0), B (1,0,0), C (0,1,0), D (0,0,1), E (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 Xi and 6 = 90 degrees. ii, Reflection about YZ plane. ii, Shearing about X- axis where Shxy = -2 and Shxz = 5. Mlustrate the steps involved in computing three dimensional region code and explain (6) how the 2D line clipping method is extended for 3D line clipping. Describe the working of Random scan and Raster scan displays. (10) Apply the DDA line drawing algorithm to find the intermediate pixel values for the (6) line with endpoints (15, 20) and (13, 18). . (OR) 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, ry = 5 and centre = (-3, -1). ustrate 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. li, Perform ¥ direction shearing with respect to Xer= -4 and Shy Perform Reflection about horizontal line Y = -3. iv. Perform Scaling with respect to pivot point (0, 5) and S, = S = 2 Prove that two successive rotations are additive. ©) Q.CODE: 181081 15. 47. 18. 19. (OR) Use Cohen Sutherland line clipping algorithm to clip the lines P1P2, P3P4, pspq where P1 = (65,120), P2 = (80, 40), P3 = (30, 5), P4 = (60, 10), P5 = (5, 30) and 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 7 (OR) Generate the Bezier curve given by the following set of control points: PO = (10. 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 |i, Sketch the curve, contro! points, defining polygon. i. 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. (OR) Mlustrate with an example, few OpenGL geometric primitives used for drawing basic objects. | Q.CODE : 181046 Regn B.E. / B.TEC aml TI ee -E./ B.TECH. DEGREE EXAMINATIONS : NOV/DEC 2022 COMPUTER SCIENCE AND ENGINEERING 18SPC703 - COMPUTER GRAPHICS AND VISUALIZATIONS TIME : 3 HOURS MAX. MARKS : 100 15. 16. . (@) (b) @) (b) (a) (b) (a) (b) (a) (b) (a) (b) (a) (b) (a) (b) (a) (b) ANSWER ALL QUESTIONS. PART-A (10 X 2 = 20) Indicate why are Shadow-mask methods commonly used in raster-scan systems? Recall what is OpenGL Utiity (GLU)? Differentiate Uniform scaling and differential scaling. ‘What is Shear transformation? What is Affine Transformation? List the purpose of glPixelZoom, Draw the CMY color model, What is the use of the chromaticity diagram? What is Scientific visualization? Give the purpose of glutDisplayFunc(). PART-B (5X 16 = 80) (QUESTION NO.11 IS COMPULSORY) Give the Procedure for generating a 3-D scaling matrix. 4) Explain Three-Dimensional Region Codes and give the values for six-bit region (12) code that identifies spatial positions relative to the boundaries of a view volume. Explain any eight OpenGL Attribute Functions. (8) Outline the Midpoint Circle Algorithm. @) (OR) Describe the Bresenham’s Line drawing Algorithm. ®) Illustrate the operating characteristics of plasma panels with a neat diagram. ® Explain how does Cohen-Sutherland Line Clipping algorithm work? (12) Explain Composite Two-Dimensional Translations. (4) (OR) Give the Two-Dimensional Rotation Matrix. (12) Explain in detail the Sutherland--Hodgeman Polygon Clipping algorithm. (4) Discuss in detail the Perspective-Projection Transformation Matrix. ) Elaborate on the Bézier Curve Equations, @) (OR) With the neat diagram, give the general processing steps for creating and (12) transforming a three-dimensional scene to device coordinates. Write brief notes on Beta-Splines. ry Discuss about the OpenGL Antialiasing Functions. (8) Explain in detail the HSV Parameters. @) (OR) Elaborate the methods used for character representation, (8) Explain HLS Color Model. 8) 0 R : 39325 eB.No [7 — ef TECH. DEGR LITT p.E./B- . EE EXAMINATIONS : nov, po la COMPUTER SCIENCE AND Bees DEC 2a — 4gsPC703 - COMPUTER GRAPHICS ann visu’ yours IALIZATIONS 3 ANSWER ALL M jf QUESTIO} AX. MARKS : lg PART-A _ +100 atis OpenGl? (10x 2= 20) you render lines without using vertices in OpenGL? Justty va point clipped? GNe an example ae what is the effect of inverse transformation? srwdo you represent sphere in three dimensions? what is meant by affine transformations? can compare the advantages of B-spline over Bezier curve pistnguish between window and viewport. ite the conversion matrix of CMY to RGB representation, Define orthographic projection. PART-B S (QUESTION 'NO.11 IS COMPULSORY) (5 X 16 = 80) 4. @) Translate a square with coordinates A(0,0), B(4.0), C(4.4), D(4.0) with 2 units in X and (8) Y axis. 1p) Scale the polygon with coordinates A(3,8), B(7.11), C(11,3) by 2 units in X and Y axis. (8) Explain the attributes of output primitives in detail (16) (OR) 3 Describe about Bresenham's ellipse drawing algorithm with an example, (16) 4 Explain in detail about the ‘Sutherland-Hodgeman clipping algorithm with an example. (16) (OR) Explain the following basic two dimensional geometric composite transformations: (16) (i) Translation (ii) Rotation. '. Differentiate parallel and perspective projections and derive their projection matrices. (16) (OR) cade "Determine the blending function for uniform periodic B-Spline cue forn=4.d=4 (18) w (16) Explain the HLS and HSV color models with suitable example. (16) (oR) 6) tives with example Explain the OpenGL Geometric pri

You might also like