Professional Documents
Culture Documents
Final C Se 421 Summer 2020
Final C Se 421 Summer 2020
1. a) In the following figure, the blue pentagon is the original object, whereas the red one is [4]
the output after applying two dimensional transformations on it. Now determine the
coordinates of the pentagons and discover which transformations have been applied on it
and show the calculations.
[6]
b) In the following figure, the Cube is an object in the three-dimensional plane.
- Rotate the points 70 degree along y axis.
- Shear the points 2 units in X-axis and -5 unit in Y-axis.
- Scale the point A, 2 unit in X direction and (-5) unit in Z direction
2. a) In the following figure, the colored box no 1 is pure red, whereas the rest three are [1+3]
different variations of pure red. First, determine which box is which type of variation of
the original color? Next, define all of the three variations.
b) [3]
b)
i. Which color model represents by this diagram?
ii. Briefly explain this diagram according to color model.
c) Explain the following image pattern in respect of graphics application. [3]
3. a) In the image below, the red box depicts a clipping window and the black lines depict [2+5]
the axis. We want to show the blue lines using a monitor view ported through the red
window.
Now,
I. Determine the type of each of the lines using 4-bit code.
II. Clip each of the clipping candidates using the proper clipping algorithm.
[3]
b) Projection is defined as mapping of three-dimensional points to a two-dimensional
plane. From the following figure determine the projection type and write the reason.
4. a) In the figure below C1C2C3C4 is the clipping window where the blue polygon is the [6]
clipping object. Now clip the polygon using the clipping algorithm that is conventionally
used for convex polygon clipping. Use clockwise direction only.
[4]
b) In the following figure ABCDEFGH is a concave object. Which algorithm should
you use to clip this polygon? Show the whole procedure.