
Lec 3: Basics of a graphics system
NPTEL IIT Guwahati
Overview
This lecture introduces the fundamental components and types of computer graphics systems. It details the roles of the display controller, video memory, and video controller in generating and displaying images. The discussion then differentiates between vector scan and raster scan devices, explaining their underlying mechanisms, advantages, and disadvantages. Finally, it touches upon color display mechanisms, including direct coding and color lookup tables, and distinguishes between hardware-based scan types and software-based graphics representations.
Save this permanently with flashcards, quizzes, and AI chat
Chapters
- A graphics system synthesizes 2D images from scene data and displays them on a screen.
- Key components include a host computer, display controller, video memory, and video controller.
- The display controller generates image data, video memory stores it, and the video controller converts it for screen display.
- The display controller performs the computationally intensive task of image generation, often offloading this from the host CPU.
- Dedicated graphics cards with GPUs handle these rendering tasks efficiently.
- Video memory (VRAM) stores the digital representation of the image generated by the display controller.
- The video controller translates the digital image data from video memory into analog voltages.
- These voltages drive electromechanical elements on the display screen, typically arranged as a grid of pixels.
- Each pixel emits light of specific intensity and color when excited, creating the visual image.
- Vector scan devices represent images as geometric primitives (lines, curves) and only illuminate the pixels forming these shapes, requiring high precision and being costly.
- Raster scan devices treat the screen as a grid of pixels and process them sequentially (scanline by scanline), making them simpler and better for complex images.
- Raster scanning involves processing all pixels, row by row, from top-left to bottom-right.
- Raster scan systems often use a frame buffer (video memory) where each location corresponds to a pixel.
- Double buffering (using two buffers) prevents image tearing or distortion by allowing one buffer to be drawn to while the other is being displayed.
- Refreshing is the periodic re-excitation of pixels to counteract light decay and maintain image stability, with the refresh rate measured in Hertz.
- Vector graphics represent images using mathematical descriptions of geometric primitives (lines, curves).
- Raster graphics represent images as a grid of pixels, storing the color or intensity for each pixel.
- These terms describe image representation, not the underlying display hardware (a vector graphic can be displayed on a raster device and vice versa).
- Color displays use pixels composed of multiple elements, typically red, green, and blue (RGB) phosphors or sub-pixels.
- Direct coding stores the RGB intensity values for each pixel directly in the frame buffer, requiring more memory.
- Color lookup tables (CLUTs) use a table to map frame buffer indices to specific RGB values, saving memory but requiring a predefined color palette.
Key takeaways
- Computer graphics systems are composed of specialized hardware components that work together to generate and display images.
- The display controller (often a GPU) handles complex image rendering, while the video controller manages the actual display on screen.
- Raster scan devices, processing pixels in a grid sequence, are prevalent due to their lower cost and ability to display complex images.
- Double buffering and refreshing are critical techniques for achieving smooth and stable image display on raster systems.
- Vector graphics and raster graphics are distinct concepts referring to image representation methods, not display hardware types.
- Color is achieved by combining light from multiple primary color elements within each pixel, with direct coding and lookup tables being two methods for managing this color information.
Key terms
Test your understanding
- What are the three primary components unique to a graphics system and what is the main function of each?
- How does a raster scan device differ from a vector scan device in terms of image representation and pixel processing?
- Why is double buffering necessary in raster scan systems, and how does it prevent image distortion?
- What is the difference between vector graphics and raster graphics, and how do they relate to vector scan and raster scan devices?
- Explain the two main methods for generating color images (direct coding and color lookup tables) and their respective trade-offs.