Computer Graphics Notes
Subject Overview
Computer Graphics covers display technologies and 2D primitives (line, circle and ellipse scan-conversion algorithms), 2D transformations and viewing, clipping and filling techniques, and 3D object representation and rendering including visible-surface determination and shading models like Phong's and Gouraud shading.
Read moreShow less
A 4-credit core theory paper.
Subject at a glance
4
Units
29
Topics
4
Credits
4
Infographics
Unit-wise Syllabus
4 units — open any unit for detailed topic-wise notes, diagrams and important exam questions
- Computer graphics applications
- I/O devices
- storage tube/raster scan/random scan/LCD/LED displays
- CRT and video basics
- color models (RGB, CMY)
- scan conversion of points
- lines (DDA, Bresenham's algorithm)
- circles (Bresenham's and midpoint algorithms) and ellipses
Study guide
This unit covers applications, I/O devices, display technologies (storage tube, raster scan, random scan, LCD, LED), colour models and scan conversion of points, lines (DDA, Bresenham), circles (Bresenham, midpoint) and ellipses. Practise Bresenham's line and midpoint circle algorithms numerically.
- Window-to-viewport transformation
- scaling
- translation
- rotation
- reflection
- shear
- homogeneous coordinates
- composite transformations
Study guide
You study window-to-viewport transformation, scaling, translation, rotation, reflection, shear, homogeneous coordinates and composite transformations. Express every transformation as a matrix and multiply in the correct order.
- Point clipping
- line clipping (Cohen-Sutherland, Liang-Barsky)
- polygon and text clipping
- boundary fill and flood fill algorithms
Study guide
You study point, line (Cohen-Sutherland, Liang-Barsky), polygon and text clipping and boundary and flood fill. Trace clipping region codes by hand.
- 3D transformations
- viewing pipeline and coordinates
- parallel and perspective projections
- visible-surface determination (back-face removal, z-buffer, scan-line, painter's algorithm, area subdivision)
- illumination and shading models
- ray tracing
- ambient/specular/diffuse reflection
- Phong's model
- Gouraud shading
Study guide
You study 3D transformations, the viewing pipeline, parallel and perspective projections, visible-surface methods (back-face, z-buffer, scan-line, painter's, area subdivision), illumination and shading (ambient, diffuse, specular, Phong, Gouraud) and ray tracing. Understand the difference between Gouraud and Phong shading.
Why Computer Graphics Matters
Computer graphics supports games, AR/VR, animation, simulation and visualisation, and the mathematics of transformations also appears in robotics and vision.
How to Prepare for Computer Graphics
- Practise algorithms and transformation matrices numerically.
- Implement key algorithms in code.
- Revise matrices and coordinate geometry.
Computer Graphics: Frequently Asked Questions
What is a z-buffer?
A z-buffer stores the depth of each pixel so that the nearest surface is displayed, solving the visible-surface problem.
