Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
24 views

Computer Graphics

Past question

Uploaded by

aditya rijal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
24 views

Computer Graphics

Past question

Uploaded by

aditya rijal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 21
“TRIBRUVAN UNIVERSITY INSTITUTE OF ENGINEERING Examination Control Division | Programme BEX,BCT Pass Marks 32 is. 2930 Bhadra Year /Part ii/i Time ‘Subject. ~ Computer Graphies (BX 603) V Candidates are required to give their enswers in their own words as far as practicable. Y Attempt All questions. The figures in the margin indicate Full Marks Y Assume suitable data ifnecessary. 1. Differentiate between raster scan and random scan display. If we want to resize raeggO image to one tat is 1280 wide withthe sme aspect ratio, what would be the height of resized image? 4, Derive the Povalue for Breshenhamns fine drawing Algorithm for m <0 andl > 1. 4, Using midpoint circle algorithms, caloulate the co-ordinates to plot on first and second quadrant of a circle with center (6,7) and radius = 9. 4k Prove that tno sucessive rotation operations are ative in composite transformation Find the clipped region in the window of diagonal vertex (10,10) and (1 00,100) for tine PL (5,120) and P2 (80,7) using Liang -Barsky Line Clipping Algorithms. 5. What is the importance of window to view port transformation in eorapeier Graphics? Explein two-dimensional viewing pipeline. 6. Deve the matrix for ortho-grapbic projection. The pyramid defined by cooxdinates A 0.0,8), B (1,0,0), (0,,0) and D 0,0,1) is rotated by 45° about the line L that has 33 direction V=3-+K. Passing through point C (0,1,0). Find the final co-rdinetes of pyramid after transformation. 11, List the properties of the B-spline curve, Derive Henmite matt in Hermite Cubie Spline aaa nd tho coordinates at U = 03 with respect to the controt points (10,12), (15,28), (22,35) and (28,9) wsing Bezier function. 8. Explain the importance of polygon table, plane equation and polygon ‘mesh in surface modeling, 9, How much memory is requires to implement z-buffer algorithms for & 312x512«24 bit- plane image? Explain how z-boffer algorithms determine the visibility of polygon surface Hong with necessary derivations algorithms fimitation. 10. What do you mean by illumination model? Explain sbout specular reflection with appropriate mathematical expression. 1, What are the different methods available for shading? Which one is more realistic and ‘why? Explain with necessary derivation and algorichms. 12. Diseuss'the need of OpenGL. Explain callback function. we (4) (6) (5) 7 a) {2+8] [248] 331 (248) (25) (46) 14] manxacoavessy [Eis Vee INSTITUTE OF ENGINEERING Tevel BE __FullMarks 80 | Examination Control Division | Programme : BEX, BCT _ Pass Marks | 32 2081 Baishakh “Wi Time ~ “Subject: - Computer Graphics (EX 603) Candidstes are required to give their answers in their own words as far as practicable, Attempt AU questions. The figures in the margin indicate Full Marks Assume suitable data if necessary, S688 - How does a master display system generate images on a screen? If the total number of intensities achievable out of a single pixel on the sczeen is 1024 and total resolution is 1024x800, what is will be the required size of frame buffer incase of display purpose? 2. Derive a decision parameter for midpoint circle algorithm assuming the start position’ as _ (4,0) snd points are to be generated along the curve path in clockwise direction, 3. Digitize the given line end points (10, 10) and 20, 5) using Bresenham’s Ting drawing Algorithms, Clip tho line with end point A (5; 30), B20, 60) Against a clip window sith: lower most corner at P (10, 10} and upper right most comet at R (100, 100) using cohen sulter Jand line clipping algorithms, 5. Derive the two dimensional reflection maurix through the line = +1, What are the finial co-ordinates of objects (2, 3) (4, 3),(4, 5) about line y = x1? 6. Derive the single 3D transformation matrix for reflection through the plane containing points with co-ordinates (5, 0, 0) and (0, 0, 5) and. being parallel to the y-axis, Given 3D iangle with end points (0, 0, 0), (1, 1, 2) and (1, 1, 3) is subjected to shearing with parameter 2 on x-axis and 2 on y-axis, 3 on z-axis and find.out new co-ordinates of object? 7. Consiruct the Bezier curver of arder 3 and with polygon vertices A (1, 1): BQ, 3), C(4, 3) and D(6, 4) at u =0, 0.25, 0.5, 0.75, 1. Derive the blending function for parametric cubic curve, . How do surface modeling techniques contribute to realistic rendering and visvalization in computer graphics? Explain about blobby object representation, 9. Differentiate between Image space and object space method. How is back fave detection method used for visible surface detection? Explain in detail. How A buffer method = (2+2] [6] ic 14y te) (6+4] [446] is} eliminate the drawbacks of Z buffer method? [2+5+3] 10. What is attenuation factor and Mach Band effect? Discuss the effect of Mach Band in Phong, Gourand and constant Shading. [24243] 11, Define and explain the term ambient light, diffuse reflection and specular reflection with appropriate mathematical expressions. [21213] 12, Mention any three-color command in OpenGL. How lighting is applied to the surface of polygon in OpenGL? od 42] ‘TRIRNUVAN UNIVERSITY INSTITUTE OF ENGINEERING Examination Control Division | 2080 Baishakch TYear/Part iff 7 Computer Graphics Y Candidates are required to give their answers in theic own words as far as practicable. ¥ Attempt Ail questions. The figures in the margin indicate Full Marks, Y Assume suitable data if necessary. |. Define the terms pixel, resolution and pixel density. How much time is spent scanning each row of pixels during soreen refresh on a raster system with resolution of 640x480 whoso refresh is 24 frames per second? Also calculate the access time per pixel, B43] 2, Derive an expression for drawing on ellipse. [19] 3, Explain 2-D viewing pipeline. Obtain window to viewport transformation matrix with necessary steps and figures. Give example. [3433] 4. The pyramid defined by the coordinate A(,0,0),B( 1,0,0),C(,1,0) and D(0,0,1) is rotated 45° about line L that has direction V = J + K and passing through the point C(0,1,0).Find the coordinate of the rotated figure. (81 5, What is Bezier Curve? Find the coordinates of Bezier curve at u= 0.25, 0.5 and 0.75 with respect to the conttol points (10,15), (15,25), 20,35), (25,15) using Bevier Function. {2+6] 6. How do you represent an object in 3D? Explain the steps to find surface normal veetor of a surface represented by Ax +By +Cz + D=0. (a4) 7. What is the limitation of Z- bufler method? How does A-buffer method overcome it? Explain (246) 8, What is illumination model ? How light intensity of a point can be calculated? Also, discuss about the type of light source in intensity calculation. (246) 9, What is Phong Shading Model? Write down the algorithm for this shading model. Can we use this method to reduce Mach-Band effect? (242) 10, Write the importance of OpenGL in computer graphics. Write OpenGL syntax to draw a rectangle and polygon considering your own vertices. (6) xe Examination Control Division SAAN TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING 2079 Bhadra Candidstes are required to give their answers in theit own words as far as practicable, Aitempt Al questions. The figures in the margin indicate Full Marks, Assume suitable data if necessary, + Consider a raster system with a resolution of 1920 x 1080, How much storage is required if 24 bits per pixel are to be stored in a device with reffesh rate of $0 Hz? Find out the aspect ratio. a circle algoritima, 12+6] ‘What do you mean by homogenous coordinates? By listing the steps invoived, find out the final composite matrix for petfinming a rotation by 45 degrens akon an arbitrary Point (5, 5) in anti-clockwise direction, Use the obtained composite matte te obtsin the transformed coordinates of a triangle A(5, 6), B(6, 2) aad C(4, I). [1+542] Explain about 30 viewing pipeline. How wor-o-viewing coogdinee trastoemation is performed? Describe with expression, [545] Write the properties of Bezier curve, A cubic Bezier curve is described by the four control points. (0, 0), (3, 1), (S, 2) and (8, 1), Find the Bezier polynomial and the coordinate at £= 025, 0.5, 0.75. [3+8] ‘Whot is polygon table? List the rules for meking exror fee polygon table. How do you caleulate the spatial orfentation of a polygon? [342+4} Compare object space method and image space method. Explain depth buffer method in detail. Compare it with A-puffor method, [24543] Find out the total intensity at the centroid of « triangle defined by AQ, 1, D, BQ, i, 0, CG, 0. D, when illuminated by a point light source of intensity k= 0.6 ai G, 2, 8) using Phong lamination model. The viewer is at (4, 3, 8). Assume ambiene intensity fa = 0.1 and parameters: ka = 0.5, kd = 08, ks ~ 0.7, take x = 5. [centroids Gl +32 +33), (1 4y2 y3)3, (al + 22 +23)/3], Explain briefly different ways of shading this tangle, | [86] ‘Why OpenOL is used? Write the basic command to draw the pixel rectangle and polygon in OpenGL, [244] ore ‘TRIBRUVAN UNIVERSITY | Exe INSTITUTE OF ENGINEERING Examination Control Division | Programme BEX, BCT 2079 Baishakh {Year /Part tii: puter Graphics (EX 603) Y Candidates are required to give their answers in their own words as far as practicable, ¥ Attempt AHL questions. The figures in the margin indicate Full Marks. Y Assume suitable data if necessary. ‘Whai are the differences between random and raster display technologies? When do we prefer them? (6) 2, Write an algorithm for Brescnham's method of line drawing, Digitize a line with end points (10, 20) and (15, 2) using this algorithm, [59] 3, Find the composite transformation matrix for reflection about a line y~ mx +6. 18] 4. Deseribe polygon, Vertex and Edge table, How these terms ean be used to construct a model of Dhorabara. (2424242) 5, What do you underatand by affine transformation? Derive expressions for oblique projectiman paralle projection. D4], 6.. What is a Bezier Curve? Find the coordinates of Benzier curve at u = 0.25, 0.5 and 0.75 with respect to the control points (10, 15), (15,20), (20, 35), (25, 10) using Bezier function, p45] 7. How back-face detectium method is used to detect visible surfaces? What are it's imitation? Purpose an approach to overcome it's limitations. [44244] Derive an expression for phong illumination model for light sources. [8] Find out the total intensity at the centroid of a wiangle defind by A@,1,1), BO,11), €(0,0,1), when illuminated by a point light source of intensity TL, ~ 0.6 at (22,6) using Mlurmination model, The viewer is at (2,3,6). Assume ambient Jatensity Ta = 0.1 and parameters: ka= 0.5, kd = 0.8, ks = 0.7, take n= 10. {81 foentroid: (xl +2 +x3V3, (yi+y2+y3¥3, (al+22+23)3] 10, What is open GL? How can we use lighting in open GL? (244) eee ~~ ZOPepe rfl {RIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING BE Full Marks / 80 Examination Control Division {Programme | BEX, BCT | Pass Marks | 32, 2078 Kartik Year/Part |i /1 Time hrs. | Subject: - Computer Graphies (EX 603) Candidates are required to give their answers in their own words as far as practicable. Attempt All questions. The figures in the margin indicate Full Marks. Assume suitable data if necessary. ANAS] |. What is computer graphics? Calculate the total memory required to store a 10 minute video ina SVGA system 24 bit true color and 60 fps refresh rate. [24] 2. Write an algorithm for drawing a circle, Using midpoint cirele drawing algorithm, calculate the coordinates on the first quadrant of a circle having radius 8 and centre (20, 10). [446] 3. It is necessary to constzuct curves using parameteric equations? Justify. List down the steps for modeling curves using splines. [4] 4, Reflecied the triangle ABC about the line 3X - 4¥ + 8 = 0. The position vector of the coordinate ABC is given A(4, 1), B(S, 2) and C(4, 3). 18] 5, Describe 3D viewing pipeline. Derive complete world-te-viewing coordinate transformation matrix. B47] 6. Why do we use geometric tables and attribute tables for defining a polygon surface? How do you calculate the spatial orientation of a polygon? 13] 7. What is the limitation of Z-buffer method? How does A-buffer method overcome it, explain? B+7] 8, Derive the expression to calculate the total light intensity in a point. [8] 9, Compaté ‘ind contrast between Gouraud and Phong sheding model. [8] 10, What is OpenGL? How can we draw colored line and polygon using OpenGL? R41 was oN c = — Sana aaarn INSTITUTE OF ENGINEERING Level BE [Bull Marks; 80 Examination Control Division | Programme | BEX, BCT [Pass Marks | 32 2078 Bhadra (Year/ Part |W /1 { Time 3 hrs. Subject: - Computer Graphics (EX 603) Candidates are required to give their answers in their own words as fir as practicable, Atterpi AU questions. The figures in the margin indicate Full Marks, Assume suitable data if necessary. S448 Distinguish between Raster and Vector graphics with suitable example. [6] Digitize the endpoint (20, 10) and (30. 18) using Bresenham’s algoritm, How the demerits of DDA is addressed in Bresenkam’s algorithm, [73] 3. Derive the composite matrix for rotation about arbitrary point (a, b) in clockwise ditection with angle (0). Write an algorithm for Cohen Sutherland line clipping algorithm. [6+4] 4. What are 31 Rotation and Shearing? Fxplain with matrix representations. A. unit length cube with diagonal passing through (0, 0, 0) and (1, 1, 1) is sheared with respect to yz place with shear constants = 2 in both directions, Obtain the coordinates of all the comers of the cube-after shearing, : BHT] - What is Parametric Cubie Curve and why do you need it? Write down the step far eubie spline interpotation, B45] 6. What is Wire-frame model’ and why do we need polygon data table? Explain with examples? [5] 7. Describe Z-Buffer method of visible surface detection. Compare this method to other methods of visible surface detection. (642) 8. What do understand by diffused and specular reflectioris and explain in detail how these terms are included in illumination moxiel? [5+5] 9. Define the term illumination and rendering. Weite down the steps for phong shading method. [246] 10. Write down the Open GL syntex to draw basic 2D geometric primitives with examples. [5] N oe TRIBHUVAN UNIVERSITY INSYITUTE OF ENGINEERING Examination Control Division 2076 Chaitra Subject: - C Candidates ate required to give their answers in their own words as far as practicable. Attempt All questions. The figures in the margins indicate Full Marks, , Assume suitable data if necessary. v ¥ v v Compare Raster-scan Display with Rendom-scan Display. (6) Write the advantages of Bresenhau’s line drawing algorithm. Digitize the Elipse with radius Ry = 12 and Ry 7 and center (19. 10}. [248] 4, Define window and view port. Desexibe about two-dimensional viewing pipeline with tmatrix representation at cach sieps. [238] v 4. Derive an expression for Perspective projection of a 3D point, Also, obtain perspective projection ‘co-ordinates for the pyramid with vertices of base (15, 15, 10), (20, 20, 10), __ 85, 15, 10), 20, 10, 10) and apex (20, 15, 20) given that 7 * 20 and z= 0 [545] ©. Differentiate between Interpolation and approximation. Explain the process of performing curve modeling using splines. (+5) 6. How can we model cone or cylindrical like surfaces using boundary representation and technique? (6) 1. Explain Back-face detection algorithm for visible suave detection. Pind the visibility for the surface BED and ABCD where observer is at PG, 5, 5). B35} h WS, 3,5) Dede BU, 0,-D 8. Define the term Surface rendering with Ilumination model. Derive an expression to caloniate the intensity of Diffuse reflection with necessary equations and figures. How do you consider the distance to calculate the intensity for Specular and Diffuse Reflection? (2+5+3] 9, What is Phong sbading method? Can we use this method to reduce Mach-Band effect? [642] 10, What do you mean call back function? UJustate with example. ici nee ‘TRIBEUVAN UNIVERSITY INSTITUTE OF ENGINEERING Candidates are required to give their answers in their own words as far as practienble. Attempt All questions. The figures in the margin indicate Full Marks. Assume suitable data if necessary. Differentiate between raster and vector graphics. Caleulate the frame buffer size (in KB) for a raster system recording a video for 1 min with resolution of 1280x1024, and storing 24 bits per pixel with a refresh rate of 25 fps. 24] 2, Explain the process of drawing ellipse in a raster graphics. Determine the pixel positions of following curve in first quadrant using mid-point algorithm. [416] xy 64 36 What do you mean by homogeneous coordinates? Rotate a triangle AG,6), (6,2) and C(4,1) by 45 degree about an arbitrary pivot point (3,3). 246] 4, List down the steps for rotating a 3D object by 90° in counter clockwise disection about an axis joining end poiats (1,2,3) and (10,20,30). Also derive the final transformation matrix. f10) 5. Mention two important properties of Bezier Curve and find the Bezier Curve which passes through (0,0.0) and (-2,1,1) and is controlled by (7,5,2) and (2,0,1). [2+6] 6. Represent the following surfaces by polygon tuble method and find the normal of surface Si. {2+5] ‘B(S,8,6) F(12,6,9) 1 es A (5, D (12.3) O58) or “G.3.2) 7. How hidden surfaces can be removed? Explain in detail about depth buffer methods. (8) 8. What is OpenGL? How pixels, lines and polygon is drawn and transformation is performed in OpenGL? [245] 9. List down different types of object and explain how Phong iIumination model is used to ‘calculate intensity infor these objects along with mathematical expression. [8} 10. Explain in detail about Phong shading. [8] ae CTRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING Examination Control Division 2075 Chaitra Y, Candidates ate required to give their answers in theit own words as far as practicable, “Attempt All questions. The figures in the margin indicate Full Marks, Y Assume suitable data if necessary, Define computer graphios. Mlustrate about components for computer graphics. 2. Differentiate between DDA and Bresenhamline drawing algorithm. Explaia Bresenham line drawing algorithm and use this algorithm to draw a line with end points (25,20) and 45,10). 3. Write matrix for 2D reflection about axes. Derive the transformation matrix responsible » forthe reflection of 2D object about line y+x-0. 4 Explain with a block diagram about the 3D viewing pipeline, Along with the transformation matrix, describe how perspective projection is performed? Find the coordinates at U=0.25, 0.5, and 0.75 with respect to the control: points (10,10), 15,25), (20,30), and’ (25,5) using. Bezier fimetion, Draw your curve with given control points, How can @ 3D-Dimensional object be modelled? How anormal to a plane of this object is calculated? 7. Explain backface detection algorithm, Determine whether two surfaces of a object with nommals 2i-3}+4K and i+ j-2k respectively, viewed from a direction given by J+K are backface or frontface, . How polygon is drawn in OpenGL? How lighting is applied to this polygon surface? Derive the expression to calculate the intensity of Specular Reflection in the presence of Point light soures. Also write the expression for multiple light sources. How do you ‘consider the distance to calculate the intensity for Specular Reflection? 10. Write down an algorithm for intensity interpolation shading scheme. ” “ » eo Re] [2+8] 2x6) G4] (8) [3+3] [545] 3] [8+4] 71 3 “TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING Le Examination Control Division | Pr 2074 Ashwin (Wear /Part[UT/7 v % Atemph. ign. 44 jo ¥ Candidates are required to give their answers in their own words as far as practicable, pe fe ecg e pile par gin ‘nd ogeibfors, Assume suisabreddia ifncteSsaty® —¢ __ Distinguish between Raster and Veetor graphics methods, When do we prefer them? {61 Digitize the line with end points A(20,10) and B(30,18) using Bresenham algoritum, (10) 3. Clip the line P1P2 with PIC5,3) and P2(15,9) with clip window ‘having diagonal coordinate (0,0) and (10,10) using Liang-Barskey Tine clipping method. [8] | xplain the steps required to rotate an objet in 3D about a Fine which is not parallel to any one coordinate axis. {10] How Geometric tables are used to represent a 3D object? Explain with example, Give "> conditions to generate error free table. explain properties if Bezier curve, Find the coordinate at u = 0.2 with respect to the + contro! points (1,1), (4,6) (8.-3) and (12,2) using Bezicr function. {8] | Differentiate image space and object space method for visible surface determination. Explain scanline method to determine visible surface of object, {8+4] (10,1) (10,10,1) Find out intensity of light reflected from the midpoint P on scan line y = 3 in the above sven figure using Gouraud shading model. Consider a single point light source located at positive infinity on Z-axis and assume vector to the eye a8 (1,141). Given d= 0, K = 1, Ia 1,1, = 10, Ks=2, Ka= Kd=0.8 for use in a simple illumination ‘model. fz) |. What is OpenGL? Explain Callback Function. ey wee 34 TRIBAUVAN UNIVERSITY INSTITUTE OF ENGINEERING Examination Contrel Division | Programme | BEX, BCT _ 2073 Chaitra cia Y Candidates are required to give their answers in their own words as far as practicable. ¥ Attempt All questions. The figures in the margin indicate Fut Marks Y Assume suitable data if necessary 1. Calculate the size of frame butler required to store a 640*480 B and W video of length 5 minutes without compression. i] 2. Discuss the Digital Differential Analyzer (DA) line drawing algorithm in detail. Also give its advantages and disadvantages, [84] 3. Atiangle A (15, 20), B (20, 30) and C (30, 20) ties inside a window (10, 10), (40, 50). Find the final image of this triangle after transforming into the viewport (0, 0), (20, 20). ‘Show all transformation steps. [8] 4 Briefly explain various projections? Find the new coordinates of a unit cube 90° rotated about an axis defined by its endpoints A (2,i,0) and B G31). (347) 5. Explain vertex, edge and surface table using a suitable example, What are the guidelines to. generate ertor free table? [5+5] 6. Explain about parametric Cubic curve? What is Bezier curve? Explain its properties. 2434) 7. Discuss back face removal algorithm? Describe its limitation. [8+2] 8. Conipare Gouraud shading dnd phong's shading in detail, 9] 9. Why Open GL required? Explain call back function, 18} wee 35 “TRIBHUVAN UNIVERSTIY INSTITUTE OF ENGINEERING Le Examination Control Division | 2073 Shrawan t F Candidates are required to give their answer in their own words 28 Far as practicable. ¥ Attempt All questions. v The figures in the margin indicate Eull Marks. Y Assume suitable data if necessary. |. Differentiate between vector and raster scan systems. (4) 2, Derive and write midpoint algorithm for drawing adirele. [5+5) +}, What are the different steps of two dimensional workd to sores -viewing transformation? Describe with matrix representation at each steps. ol 4, Obtain the end points of the line that connects P1(0,1%0) and P2(130,5) after cohen- sutheland clipping. The clip window has the following parameters. [5] Hyg 05 Han =O NO px =15O 81. YO = 100 5, Describe tree dimensional viewing pipelining, Derive the transformation matrix for ‘parallel projection. om fA] 6. Explain about parametric cubie curve? What is Bezier Curve? Explain its properties with examples. [246] 7. “Bxplain boundary representation technique to represeat three dimensional objects with suitable example. (81 8, Compare object space method with image space method. Explain, How Back-face sorrrfon method ig used t detect visible surice. Also explain z-Buffer method. DpH] 9, Define and explain the term ambient light, diffuse reflection and specular reflection with appropriate mathematical expressions. vl 10. Explain the method of Phong. shading for polygon rendering. 7 11. Explain about Open GL and call back functions. {6 soe 4 TRIBHUVAN UNvERsiTY INSTITUTE OF ENGINEERING a _| Fall Marks 180 Examination Control Division [Pr Pass Marks 1327; 2072 Chaitra L hrs. “Computer Graphics (£X603) Y, Candidates are required to give their answers in thets own wowds as far as practicable, ¥ Attempt All questions, t : Y, The figures in the margin indicate Full, Marks ' Y Assume suitable data if necessary, What ate the differences between random and raster display technofogies? me [4] How de you apply symmetty concept while drawing circle? Calculate the point in the circumferences of the circle having radius & unit and center at (-5, 10) using midpoint circle algorithm, [2+8} Mitions for a poiat clipping? Find the clipped region of the line with endppins (5, 130) and (50, 5) in a rectangular window war (10, 10) and (£00, 100) diagonal vertices using Cohen-Sutherland line clipping algorithm. fo) 4. What is 3D Shearing? Write its matiix representation, A unit ength cube with diagonal é si 1,1) is sheared with Tespect to yz place with the shear ‘Sbeating. [oanboth directions. Obtain the coordinates of all the comers ofthe arne after shearing, [248] poy - Explain about paramettic cubie curves. What do you mean by Bezier Curve? Explain & "[t244] x Z 5 z g§ a properties of Bezier curves, Explein how the geometric and attribute information of a three dimensional objects are stored for the object representation? ‘What are the conditions for error free generation of polygon table? [aH Outline the Z buffer algorithm. List the advantages and disadvantages of the z-buffer algorithin, [612] 5. Explain about differem types of lighting sources and how these light sources affect the ilumination model? Explain about the intensity interpolation saa oon i by highlighting its pro and cons. Also give example about ‘phong illuminations model. —[3+5+6] 9. Why GLUT is implemented in OpenGL? ‘What are the spplications of OpenGL? ° Bee we _ 34 TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING —_{ Level __ Examination Control Division | Programme | BEX, BCT 2072 Kartik [Year Part “| MT/1 "Subject: - Computer Graphiies (£603) Y Candidates are required to give their answers in their own words as far as practicuble. ¥ Attempt Ail questions. v v The figures in the margin indicate Full Marks, Assume suitable data if necessary. 1. Derive the Bresenhan's decision parameter to dravr a line moving from left 1 right and Teving negative slope. State the condition fo identify you are in the second region ofthe . ellipse using mid point algorithm. . a (g+2) > 2. ‘Write down the condition for point clipping. ‘Find the clipped region in window of diagonal vertex (10,10) and (100,100) for jine P; (5,120) and P2 (80,7) using: [Liang-Barsky line clipping method. : (248) 3, Find the transformation matrix the transforms that rectangle ABCD whose venter is {2p is reduced to balf of its sie, the center will remain same. The co-ordinate of ABCD ~ are“ AG(0,0), BO.4), (8,4) and D(8,0). Find Coordinate of new square. Also derive the ‘transformation matrix to convert this rectarigie to square. {10} “A. List out the properties of Bezier curve. What is order of continuity? Explain, Bi 5. Explain the significance of spatial orientation of a surface and polygon tables. Explain with example. . 6: Compare Z-buffer and A-Baffer algorithm, Also waite algorithm to far visible surftees __ using scan-line method. {10} 7. Explain the general illumination model. How this model is used for rendering by using gouroud shading. [747] 8, Write short notes on: {5+5] ° a) Raster scan display o 7 ; b) OpenGL ' t See Sone a4 ‘TRIBHUVAN UNIVERSITY. INSTITUTE OF ENGINEERING 4 Examination Control Division Programme 2071 Chaitra (Year? ! Candidates are required to give their answers in their own swords as far as practicable. Attempt All questions, - The figures in the margin indicate Full Marks. Assume suitable data if necessary. SANK Differentiate Random and Raster display technology: dy (4). + Compare between DDA and Brésenhan’s line: drawing algorithm, Derive and ‘write ‘iid: Point algorithm to draw ellipse. as : {0} r 3. The reflection along the fine y = x is equivatewit to the reflection along the X-axis followed by counter élock wise rotation by a (alpha) Degree, Find the angle a. [10] titewotation matrix in-tlockwise:direction with respect to x-axis, yeaxis and z-axis: Rotate The‘objeet (0: 0,0)/(2, 3,0), (5, 0:4sabout the rotation axis y =, “B+T) 50" Vente down properties of Bezier curve.-Find equation of Bezier curve whose. control points are PO(2,6), P1(6,8) and P2(9, 12): Also find co-ordinate of point at w= 08. (10) 6. “Explain boundary representation techniguié'te represent the‘3D object with ‘suitable example. ~ How caa you find the spatial orientation. ofa surface?. 29842]. : 7." Esplain-bafler algorithm along: with gcessary steps needed ts caleulats the: depih Whet is ‘ts drawback? - * " “ : <0) 8. Define the terms: [lO] i) Ambient Hight i - Lambert cosine law a iii) Diffuse reflection 1%) Specular reflection, . z ‘Also find equation for intensity of point by using Phong illumination model: 9. What is openGL? Explain callback function. « : oS [aad ae Examination Control Division ay ex 38 TRIBHUVANUNIVERSITY JNSTITUTE OF ENGINEERING 2071 Shawan ‘Candidates are required to give their answers in their own words as far as practicable. Attempt All questions. ‘The figures in the margin indicate Full Marks, ‘Assume suitable data if necessary. | Consider a raster sean system having 12 inch by 10 inch screen with a resolution of 100 pixels per inch in each direction. If the display controller of this system refreshes the ‘screen at the rate of 50 frames per secoad, how many pixels could be accessed per second and what is the access time per pixel of the system? . What is scan conversion? Derive the Bresenham’s decision parameter to draw a line with negative slope and /nv>1 | Given a clipping window A (10, 10), B (40,40), C(40,40) and (10,40). Using coler-sutteriand line clipping algoritum find region code of each end points of lines PiP2, P3P4 and PSP6 where co-ordinates are PL (5,15), P2(25,30), P3(15,15), P4(35,30), 3.8) and P6(40,13). Also find clipped lines using above parameters. |. Bérform rotation of a line (10, 10, 10), (20, 20, 15) about Y-axis in clock wise direction ‘by 90 degree. Explain about vector display. Derive the equation for cubic Bezier eurve. Also write down its properties. 5. Byplain how the 3D object is represented using polygon table representation technique? Explain any one technique to calculate the spatial orientation of the individual surface component of 3D object. |. Describe scan Tine method to find visible lines with example. ‘Under what condition(s) flat shading gives accurate tending? Mention the disadvantage of intensity interpolation technique and explain Phong shading with necessary mathematical catculation, Explain the civfuse eect Ee . Why GLUT is implemented in OpenGL? Explain OpenGL syntax fo draw a parallelogram having verticals (0.0, 0.0), (1.0, 0.0), (1.5, 1.2) and (0.5,1.2). ae (4) [2+8] (10) (6+4] (8) (4) [10] [2] “TBE 34 _rRupiuvan uNtwensrry E INSTITUTE OF ENGINEERING Examination Control Division | Programme | DEX, BCT 2070 Chaitra Pat [id Y Candidates are required to give their answers in their own words as far as practicable. Y. Attempt Ail questions. Y. The figures inthe margin indicate Full Marks, Y Assume suitable daia if necessary. 1. How much time is spent scanning across eacls raw of pixels during screen reftesh on a raster systent with resolution 1024x768 and a refresh rate of 60 frames per second? [4] 2. Mention the disadvantages of DDA method. Write the complete Bresenham’s line drawing algorithm. and using midpoint circle drawing algorithm calculate the co-ordinate on the first quadrant of a circle having radius 6 and centre (20,10) aera] 3. State the conditions of point clipping. Perform clipping operation for the following using ‘Liang Barskey Hine clipping algotithm: [246] _, Clipping window: (Xmin, Ymin) = (2,5) and (Xmin, Ymin) = (35,50) Lite: i, yt) = 62,2) 008 (x2,y2) = (45,40) 4. Deline. window: and view port, Describe -three dimension windows to. view port ‘trensforraation with matrix representation for each step. Derive oblique projection matrix with necessary agsumptions. {1+435] 5." Define Hermite Interpolation in:defining a curve, Use it to find the bleriding function of a parametzic cubic curve in 2D graphics. [246] 6. Deseribe polygon, Vertex and Edge table of polygon: How these terms are important in computer graphics, (8) 7. Describe 2-buffer method for visible surface detection in detail. State its limitation and recommended method that addresses it. (743) 8. Calculate the total intensity using phone secular reflection model by cousidering all type- of light sources, 18] 9. Compare and Contract between Gouraud and Phong Shading Model. [8] 10. Write short notes on: Bx2] a) Call back function b) Open GL 35 TRIBELIVAN UNIVERSITY INSTITUTE OF ENGINEERING | Lev Examination Control Division | Programme | BEX, BCT 2069 Chaitra inst Candidates are required to give their answers in their own words as far as practicable. Y ditempt All questions Y The figures in the margin indicate Full Marks. ¥ Assume suitable data if necessary. 1, Derive decision parameters for midpoint circle algorithm essuming the start position as (¢, 0) and points are to be generated along the curve path in counter clock wise order. ‘What is symmetry property? [8+2] 2. Explain the two dimensional viewing pipeline. Derive the 2D transformation matrix for scaling with respect to an arbitrary fixed point. (+61 3. How can you perform three dimensional rotations of an object about some arbitrary axis? Explain. 18] 4, What is Geometric table? Construct a Geometric table for considering an object having 3 surfaces formed from 6 vertices and 8 edges. [246] 5, How can you model a curved surface using polygons only? Explain the use of polygon tables for boundary representations. B45] 6, What is the difference between object space method and image space method for visible surface determination? Explain the Z-buffer method for visible surface determination, [3+7] 7. Explain the Phong illumination mode! for specular reflection. 17 8. Explain the Gouraud Shading intensity-interpolation scheme for polygon-rendering. a 9. Why open GL required? Explain with examples, {61 10, Write short notes on: [2x3] a) Applications of computer gtaphics b) ‘Two-point perspective projection

You might also like