QP-AIML-SEM-V-Computer Graphics-Jan 2024
QP-AIML-SEM-V-Computer Graphics-Jan 2024
Question Max.
No. Marks
Q1 (a) Use DDA Algorithm to draw a line from (2,3) to (9,8). [05]
OR
i. Differentiate between boundary fill and flood fill algorithm [03]
ii. Define Scaling and what are the types of scaling. [02]
Q1 (b) What is window and viewport?
For window, Xwmin = 20, Xwmax = 80, Ywmin = 40, Ywmax = 80. for viewport, [10]
Xvmin = 30, Xvmax = 60, Yvmin = 40, Yvmax = 60. Calculate that point on the
viewport. (30, 80) = (Xw, Yw).
Q2 (a) i. Explain about various color models? Compare and contrast between RGB and [06]
CMY color models. [04]
ii. Write short note on Composite Transformation find in between points
OR
[10]
List the properties of Line drawing algorithm. Consider the line from (5, 5) to (13,
9). Use the Bresenham algorithm to rasterize the line.
Q2 (b) Knowledge of fractals is useful in medical diagnoses. Justify your answer [05]
Q3 (a) What do you mean by projection? Differentiate between parallel projection and [05]
perspective projection.
OR [03]
i. What is the role of frame buffer is raster method? [02]
ii. List the properties of Bezier Curves.
Q3 (b) Clip a line A (-1,5) and B (3,8) using the Cohen Sutherland algorithm with window [10]
coordinates (-3,1) and (2,6).
OR [10]
Given a triangle with points (1, 1), (0, 0) and (1, 0). Apply shear parameter 2
on X axis and 2 on Y axis and find out the new coordinates of the object.
Q4 (a) What do you understand by clipping? Give Liang-Barsky’s line clipping [08]
algorithm.
OR [04]
i. Differentiate between Bezier and B-Spline curves. [04]
ii. What is chromaticity? Draw the CIE Chromaticity diagram
Q4 (b) What is Transformation? State its types. Given a triangle with coordinate points
A(3, 4), B(6, 4), C(5, 6). Apply the reflection on the X axis and obtain the new [07]
coordinates of the object.
********** 1 **********
Q5 (a) Solve any two.
i. What is Animation? What are the various animation techniques? [05]
ii. What is Fractal? Explain in detail the various fractal. [05]
iii. Define Fractals. List out some properties of fractal. [05]
iv. What is Koch Curve? Give the general procedure to construct Koch curve. [05]
Q5 (b) With help of suitable example explain the animation sequence. [05]
********** 2 **********