Department of Computer Science & IT, Univ of Malakand
Department of Computer Science & IT, Univ of Malakand
of Malakand
•Course: Computer Graphics
Prerequisites
• Definition:
• Computer Graphics involves technology to accept,
process, transform and present information in a visual
form that also concerns with producing images (or
animations) using a computer.
• QUESTION ?
Main tasks:
OpenGL
Morphing, curves and surfaces, animation
Introduction to Computer Graphics
Applications
Entertainment
Entertainment
Introduction to Computer Graphics
Applications
• Computer graphics is widely used in Fine Arts as well as commercial arts
for producing better as well as cost effective pictures. Artists use a
variety of programs in their work, provided by computer graphics. Some
of the most frequently used packages include:
Pixels?
Display technologies
Types of CRTs: 1. Vector Displays, 2. Raster Displays
Vector Displays:
Early computer displays: basically an oscilloscope
Control X,Y with vertical/horizontal plate voltage
Often used intensity as Z (close things were brighter)
Raster Displays
Raster: A rectangular array of points or dots
Pixel: One dot or picture element of the raster
Scan line: A row of pixels
Display technologies
Some terminology
Fluorescence: Light emitted while the phospher is being
struck by electrons
Some terminology:
Refresh: Frame must be “refreshed” to draw new images
Typically 60 times/sec
Display technologies
In beam penetration method two layers of phosphor, usually coated onto the
inside of the CRT screen.
Displayed color depends on how far the electron beam penetrates into the
phosphor layers.
At intermediate beam speeds, combinations of red and green light are
emitted to show two additional colors, orange and yellow.
Beam penetration is an inexpensive way to produce colors as only a few colors
are possible and the quality of picture is also not impressive.
Display technologies
Color CRTs:
Requires manufacturing very precise geometry
Uses a pattern of color phosphors on the screen:
Cons:
Requires screen-size memory array
Practical limit on size (call it 40 inches)
Bulky
Display technologies
Cons
Expensive
Large pixels (~1 mm versus ~0.2 mm)
Phosphors gradually deplete
Less bright than CRTs, using more power
Display technologies
Virtual reality Devices
LCD Projector
Display technologies
Display technologies
Display technologies (DLP)
Display technologies (DLP)
Display technologies (DLP)
Display technologies (DLP)
Display technologies (DLP)
Display technologies (DLP)
Display systems
Organization of a simple raster system is shown in following figure. video
controller accesses the frame buffer in system memory to refresh the screen.
Video Display
CPU Memory Monitor
Controller
System Bus
• Monochrome Adapter(MA)
• The simplest and the first available adapter is MA. This adapter can display
only text in single color and has no graphics displaying capability.
• Hercules Adapter (HA)
• The Hercules card emulates the monochrome adapter but also operates
in a graphics mode. Having graphics capabilities the Hercules card became
somewhat of a standard for monochrome systems.
• Color Graphics Adapter(CGA)
• This adapter can display text as well as graphics. In text mode it operates in
25 rows by 80 column mode with 16 colors. In graphics mode two resolutions
are available:
• Medium resolution graphics mode 320 * 200 with 4 colors available from
palette of 16 colors and 640 * 200 with 2 colors
CGA Suffered from Flicker and Snow
Display systems