Computer Graphics Graphics Systems
Computer Graphics Graphics Systems
Computer Graphics Graphics Systems
Lecture 02
Graphics Systems
Graphics Systems
RASTER-SCAN SYSTEMS
RANDOM-SCAN SYSTEMS
GRAPHICS CARDS OR DISPLAY ADAPTORS
GRAPHICS SOFTWARE
Register X Register Y
Frame Buffer
Then increment the value of X by 1 and refresh the second pixel and
so on. When value of X reaches maximum, decrement the value of Y
by 1 and set X to 0 again.
Pixel Register : In order to store all the colours needed for screen
refreshing in one go.
Raster Scan Display Processor
Display Processor Frame Video
Buffer Monitor
Memory Controller
Display System
CPU
Processor Memory
System Bus
I/O Devices
• Might damage the part of screen that is being refreshed over and
over again. For this reason we slow the refresh cycle and introduce
delays between each cycle.
Graphics Card or Display Adaptors
A video card is typically an adaptor, a removable expansion
card in the PC. Thus, it can be replaced!
board that plugs into one of the several expansion slots
present on the mother board of the computer. A video display
Adaptor is referred to as a video card as well.
Hercules Adaptor (HA)
Color Graphics Adaptor (CGA)
Enhanced Graphics Adaptor (EGA)
Simplest and the first available Adaptor
Can display only text and that too in single color
Hercules Adaptor
Emulates the Monochrome Adaptor
Can also operate in a graphics mode
Also supports visuals but black and white.
Color Graphics Adaptor
Two resolutions available:
•320 * 200 with 4 colors from a palette of 16
•640 * 200 with 2 colors
Color Graphics Adaptor
•Flicker
•Snow
Enhanced Graphics Adaptor
palette of 64 colors
Enhanced Graphics Adaptor
Designed to avoid:
• Snow
• Flicker
To maintain compatibility with all the CGA modes
Provides two new graphics modes
Provides graphics mode
• 640 * 480 in 16 colors
Super Video Graphics Adaptor
example:
• 800 * 600 and 1024 * 768
• Another may have same resolution but more colors
•More colors
•Much better performance
XGA has its own graphics processor and bus mastering
RAM on the Video Card
highest resolutions
RAM
• better bandwidth
Some high end cards (like Matrox Millennium II) earlier used
special VRAM (Video RAM) chips.
Costs twice
used system memory
The RAMDAC
The recommendation on a good RAMDAC go like this:
Clock speed 250 - 360 MHz
Heavy Data Transport
The original VGA cards were unintelligent. It could only
display the image according to information provided by CPU.
screen image
the CPU through high speed buses like PCI and AGP.
For new image the already existing bitmap is updated accordingly
Accelerator Cards
A game in a resolution of 1280 x 1024 at 80 Hz
may need to move 400 MB of data each second
The calculation goes like this:
1280 X 1024 pixels x 32 bit (color depth) x 80
= 419,430,400 bytes = 409,600 kilobytes = 400 megabytes.
Graphics Card
Graphics Card
Graphics Libraries
Graphics developers some time use 2D or 3D libraries to create
graphics rapidly and efficiently. These developers include game
developers, animators, designers etc.
FastGL
OpenGL
DirectX
Others
Advantages of Graphics Libraries
These libraries help developers to create fast and optimized
animations and also help to access features that are
available on video hardware.