17
Computer Graphics- SCC 342 Chapter 2: Computer Graphics Hardware Dr. Doaa Hegazy

Dr. Doaa Hegazy

  • Upload
    mahina

  • View
    83

  • Download
    0

Embed Size (px)

DESCRIPTION

Computer Graphics- SCC 342 Chapter 2: Computer Graphics Hardware. Dr. Doaa Hegazy. Overview of a graphics system. 2.1 Video Display Devices. Cathode-ray-tube (CRT). 2.1 Video Display Devices. CRT basics: The screen output is stored in the frame buffer and - PowerPoint PPT Presentation

Citation preview

Page 1: Dr. Doaa Hegazy

Computer Graphics- SCC 342

Chapter 2: Computer Graphics Hardware

Dr. Doaa Hegazy

Page 2: Dr. Doaa Hegazy

Overview of a graphics system

2

Page 3: Dr. Doaa Hegazy

2.1 Video Display Devices

3

Cathode-ray-tube (CRT)

Page 4: Dr. Doaa Hegazy

CRT basics:• The screen output is stored in the frame buffer and

is converted into voltages across the reflection platesvia a digital-to-analog converter (DAG)

• Light is emitted when electrons hit phosphor• But light output from the phosphor decays

exponentially with time, typically in 10 – 60microseconds– Thus the screen needs to be redrawn or refreshed– Refresh rate is typically 60 Hz to avoid flicker (“twinkling”)– Flicker: when the eye can no longer integrate individual light pulses from a point on screen, e.g., due to low refresh rate

4

2.1 Video Display Devices

Page 5: Dr. Doaa Hegazy

Shadow-mask color CRTs• Three different colored phosphors (R, G, B)• dots are arranged in very small groups (triads) on

coating

We see a mixture of threecolorsThree electron guns (R, G,B) emit electron beams in acontrolled fashion so thatonly phosphors of theproper colors are excited

5

2.1 Video Display Devices

Page 6: Dr. Doaa Hegazy

2.1 Video Display Devices

• Raster – Scan Display

6

Page 7: Dr. Doaa Hegazy

2.1 Video Display DevicesThe Frame Buffer• Stores per-pixel information

– Depth of a frame buffer: number of bits per pixel– E.g. for color representation, 1 bit => 2 colors,8 bits => 256 colors,24 bits => true color (16 million colors)

• Color buffer is only one of many buffers, otherinformation, e.g., depth, can also be used

• Implemented with special type of memory instandard PCs or on a graphics card for fastredisplay

• Part of standard memory in earlier systems

7

Page 8: Dr. Doaa Hegazy

2.1 Video Display Devices

Raster-scan basics:• The screen is a rectangular array

of picture elements, or pixels• Resolution: determines the

details you can seenumber of pixels in an image,

• e.g.,1024×768, 1280x1024, 1366 x 768, etc.

• also in ppi or dpi – pixel or dot per inch

8

Page 9: Dr. Doaa Hegazy

Raster-Scan Pattern:• Horizontal scan rate: # scan lines per second• Interlaced (TV) vs. non-interlaced displays

9

2.1 Video Display Devices

Page 10: Dr. Doaa Hegazy

2.1 Video Display DevicesRandom-Scan Display• Also called Vector-scan display• Pictures are generated as line drawings

10

Page 11: Dr. Doaa Hegazy

Flat-Panel Display• A class of video devices that have reduced

volume, weight and power• Two categories: – Emissive displays: convert electrical energy to light

(e.g. Plasma panels and Light-emitting diode (LED)– Nonemissive displays: use optical effect to convert

light from a certain source into graphics patterns (e.g. Liquid-crystal display (LCD)

2.1 Video Display Devices

Page 12: Dr. Doaa Hegazy

2.2 Raster-Scan Systems

• Simple raster-graphics system• Video controller (display processor)

controls operations of display device.

12

Page 13: Dr. Doaa Hegazy

• Raster system with fixed portion of main memory reserved for the frame buffer.

13

2.2 Raster-Scan Systems

Page 14: Dr. Doaa Hegazy

2.2 Raster-Scan Systems

• Video controller

14

Page 15: Dr. Doaa Hegazy

2.2 Raster-Scan Systems

• Raster – scan display processor- Digitizes picture definition into a set of pixel values for storage in the frame buffer (scan conversion).

15

Page 16: Dr. Doaa Hegazy

• Additional functions for Raster – scan display processor- generating line styles- display color areas- transformations- interface with interactive devices.

16

2.2 Raster-Scan Systems

Page 17: Dr. Doaa Hegazy

• Input devices include• Pointing/locator devices:• indicate location on screen

– Mouse/trackball/spaceball– Data tablet– Joystick– Touch pad and touch screen

• Keyboard device: send character input• Choice devices: mouse buttons, function keys

17

2.4 Input Devices