Computer Graphics PDF
Computer Graphics PDF
Section –“A”
1. What is Computer Graphics?
Computer Graphics involves creating, manipulating, and representing visual
images and animations using computers.
2. What is Computer Graphics? Explain the application of Computer
Graphics in several fields.
Computer Graphics is the study and creation of images using computers.
Applications include:
o Entertainment (movies, games)
o CAD for engineering
o Medical imaging
o Simulation and training
o Scientific visualization
3. What are the components of computer graphics?
Key components:
o Graphics hardware (monitor, GPU)
o Software (graphics APIs like OpenGL)
o Input devices (mouse, keyboard)
o Frame buffer
4. What is the difference between computer graphics and image
processing?
o Computer Graphics: creates images from models.
o Image Processing: enhances/modifies existing images.
5. What are the video display devices?
Examples include:
o CRT (Cathode Ray Tube)
o LCD (Liquid Crystal Display)
o LED (Light Emitting Diode)
o OLED (Organic LED)
6. What is Video Controller? Explain.
It is a part of graphics hardware that converts digital data to video signals for
display.
7. What is Pixel and Frame Buffer?
o Pixel: Smallest unit of an image on a screen.
o Frame Buffer: Memory storing pixel color values.
8. What is Flicking?
Flicking (Flicker) is the visual instability due to slow refresh rates of the
display.
9. What is the role of a frame buffer in raster method?
Stores pixel data that is converted to screen image in raster scan systems.
10.What is aspect ratio?
Ratio of screen width to height (e.g., 16:9).
11.Distinguish between pixel ratio and aspect ratio.
o Pixel ratio: width to height ratio of a single pixel.
o Aspect ratio: overall screen resolution ratio.
12.What is the difference between Raster image and Vector image?
o Raster: pixel-based (e.g., JPEG).
o Vector: geometry-based (e.g., SVG).
13.What is the difference between Raster and Random Scan?
o Raster: scans line-by-line (used in TVs).
o Random: draws line segments directly (vector displays).
14.What is output primitive?
Basic elements like points, lines, and polygons used to construct graphics.
15.What do you mean by scan conversion?
Process of converting geometric data to pixel representation.
16.What is Clipping? Name the different types of clipping.
Removing parts of graphics outside the display region. Types: point, line,
polygon, curve, text.
17.What is the concept of vanishing point?
In perspective projection, it's where parallel lines appear to converge.
18.Define convex and concave polygon.
o Convex: all interior angles < 180°
o Concave: at least one angle > 180°
19.What is refresh/frame buffer?
Memory that stores the image to be displayed on screen.
20.Define scaling, rotation, and translation transformations in 2D.
o Scaling: resize object.
o Rotation: rotate about an axis.
o Translation: shift object in space.
21.What is shear transformation?
Distorts the shape by shifting coordinates in a specific direction.
22.What do you mean transformation in computer graphics?
Changing position, size, or orientation of objects using matrix operations.
23.Explain 2D Translation with diagrams.
Moves object by adding translation factors (Tx, Ty) to coordinates.
(Diagram should show original and translated object)
24.What is 2D geometric transformation pipeline?
Sequence of transformations: modeling → world → viewing → device
coordinates.
25.Explain window-to-viewport transformation.
Maps coordinates from world (window) to screen (viewport) system using
scaling and translation.
26.Explain 3-D geometric primitives.
Basic 3D shapes: cubes, spheres, cylinders, cones.
27.What is Bezier Curve? Write the two characteristics of Bezier Curve.
Parametric curve defined by control points. Characteristics:
o Passes through first and last points
o Lies within convex hull of control points
28.List the properties of Bezier Curves.
o Easily controllable
o Smooth and continuous
o Defined by control points
o Always lies within convex hull
29.Discuss the advantages of B-Spline curves over Bezier curves.
o Local control (modifying one control point affects part of curve)
o Can represent complex shapes with fewer points
30.What do you understand by quadratic surfaces? Explain Sphere.
3D surfaces defined by quadratic equations.
Sphere: all points equidistant from a center point.
31.What are Hermite curves? State their characteristics.
Parametric curves defined by endpoints and tangents.
Characteristics: smooth, customizable curvature.
32.Explain important terms used in projection.
o View plane
o Center of projection
o Projectors
o Perspective depth
33.Explain different types of coherence.
o Spatial, temporal, object coherence used to optimize rendering.
34.What is Specular reflection?
Mirror-like reflection of light from a surface, creating highlights.
35.What is 3D viewing pipeline?
Stages: modeling → transformation → projection → clipping → viewport
mapping.
36.Explain perspective and parallel projection with differences.
o Perspective: objects appear smaller at distance.
o Parallel: retains object size; lines stay parallel.
37.Define and explain 3D transformations: translation, rotation, and
scaling.
o Translation: shifts in 3D space (Tx, Ty, Tz)
o Rotation: around X, Y, or Z axis
o Scaling: changes size (Sx, Sy, Sz)
Section –“B”
Raster Scan:
Random Scan:
3. What do you understand by Shadow Mask CRT? Give its advantages and
disadvantages.
A Shadow Mask CRT is a type of color CRT that uses a metal screen with holes
(mask) in front of the phosphor-coated screen.
Advantages:
Disadvantages:
Lower brightness.
Higher power consumption.
Heavier and bulkier.
dx = 5, dy = 3
Initial point: (10,12), slope = 0.6 < 1
Points Plotted:
(10,12), (11,13), (12,13), (13,14), (14,14), (15,15)
Use symmetry for plotting 8 points per calculation. Initial point (0,4):
dx = 6, dy = 4 → Slope < 1
Start: (1,2)
Translation Matrix:
Composite Transformation:
Apply translation then rotation by multiplying the matrices in order.
Formula:
Xv=Xvmin+(Xw−Xwmin)(Xvmax−Xvmin)Xwmax−XwminX_v = X_{v_{min}}
+ \frac{(X_w - X_{w_{min}})(X_{v_{max}} - X_{v_{min}})}{X_{w_{max}} -
X_{w_{min}}} Yv= +(Yw−Ywmin)(Yvmax−Yvmin)Ywmax−YwminY_v =
Y_{v_{min}} + \frac{(Y_w - Y_{w_{min}})(Y_{v_{max}} - Y_{v_{min}})}
{Y_{w_{max}} - Y_{w_{min}}}
Example:
Window: (10,10)-(110,110)
Viewport: (0,0)-(200,200)
Point: (60,60) → (100,100)
Steps:
Example:
Clip square against a rectangular clip window → Output is smaller polygon inside
the window.
Limitations:
Clipping:
Process of removing parts of primitives outside the viewport.
Liang-Barsky:
Section--“C”
1 & 2. What is Cathode Ray Tube (CRT)? Explain its construction and working
with diagram, applications, advantages & disadvantages.
CRT (Cathode Ray Tube) is a display device used in older monitors and televisions. It
generates images by directing an electron beam onto a phosphorescent screen.
Construction:
Working:
Diagram:
+---------------------------+
| Phosphor Screen |
+-----------+--------------+
|
Electron Beam
|
+--------+--------+
| Control Grid |
+------------------+
| Electron Gun |
+------------------+
Applications:
Televisions
Oscilloscopes
Old computer monitors
Advantages:
Disadvantages:
CRT:
Vector Scan:
Random Scan:
Algorithm Steps:
p=1−Rp = 1 - R
Line Drawing: Determines which pixels to turn on to form a close approximation of a line.
Steps:
6 & 17. Find 3×3 Homogeneous Transformation Matrix for ABCD to A'B'C'D'
Given: A (20,10)
You can manually calculate this matrix and apply to all points.
Transformation Formula:
Xv=Xvmin+(Xw−Xwmin)(Xvmax−Xvmin)Xwmax−XwminX_v = X_{v_{min}} + \frac{(X_w - X_{w_{min}})
(X_{v_{max}} - X_{v_{min}})}{X_{w_{max}} - X_{w_{min}}}
Overlapping windows
Inconsistent coordinate mapping
Performance overhead for managing multiple windows
9 & 15. Cubic Bezier Curve with (1,1), (2,3), (4,4), (6,1)
Bezier Equation:
B(t)=(1−t)3P0+3(1−t)2tP1+3(1−t)t2P2+t3P3B(t) = (1-t)^3P_0 + 3(1-t)^2tP_1 + 3(1-t)t^2P_2 + t^3P_3
Gradient (dy/dx):
Control Points Influences entire curve Local control (affects small segment)
Steps in 3D Transformation:
Steps:
Parallel Projection:
Diagram:
Parallel → |→→→
Perspective → \ | /