These homework exercises are simple questions designed to test your understanding of the lecture material. You are strongly advised to complete these exercises. Some sample answers will be provided during the lectures.
1. What is the difference between a raster and a vector display?
2. Consider a frame buffer of resolution 1280 x 1024 pixels. How much memory is required is the frame buffer is to display:
3. How would you display a full colour image (24bits/pixel) on an 8bit display? How would you assign colours to the look-up table?
4. How would you convert a full colour image to a black and white image?
5. What is aspect ratio?
6. How does OpenGL deal with aspect ratio?
7. Digital video (D1) has a frame buffer resolution of 720 x 576 for PAL television. The aspect ratio is 1.33:1. How is this possible when 720/576 = 1.2 ?
8. How would you convert a sequence of images created at 25 fps (frames/second) to a video device which plays at 30 fps and still maintain correct speed?
9. Write a simple OpenGL program to draw the same polygonal shape in 3 different viewports with different colours using display lists.
10. Outline a file format to store two dimensional polygonal objects. Each polygon may contain an arbitrary number of points.
11. Describe the process to display polygons in a viewport as filled objects.