Docsity

Graphics Systems Part 2-Computer Graphics-Lecture Slides, Slides of Computer Graphics

Partial preview of the text

Download Graphics Systems Part 2-Computer Graphics-Lecture Slides and more Slides Computer Graphics in PDF only on Docsity!

Computer Graphics

Lecture 3: Graphics Systems contd…

Raster Scan Systems

 Raster Scan based displays are getting more

and more sophisticated and complex

 A special-purpose processor i.e. video or

display controller is used to control the device

 Video controller accesses the frame buffer to

refresh the screen

 There may also be other processors and

accelerators that are part of the system

Raster-Scan Display Processor

 Sometimes a separate display processor is also included  It frees the CPU from graphics operations  A separate memory may also be included  It performs scan conversion i.e. digitizes pixel-intensity values to be stored in the frame buffer  Discrete intensity points form objects  Display processors may also apply other operations such as generate various lines, display colour areas  The frame buffer may be organized as a link list and encoding integer pairs  Run-length encoding may be used  Cell-encoding may be used to encode a set of pixel values as rectangular areas

Random-scan systems

 System memory stores the application

program and the graphics package

 Graphics commands are translated into a

display file stored in system memory

 Display processor cycles through each

command for every refresh cycle

 This system is also referred to as a display

processing unit or a graphic controller

Graphical systems

 Typical graphical systems

 640X480 and above  1280X1024 for 16-inches  2048X1536 or 2560X2048 for 27 inches  8 to 24-bits per pixel

 Multiscreen may be used for larger display

areas  5X5 monitors of 640X480 each leading to 3200X2400 pixels

Hard-copy Devices

 Number of dots or lines per inch determine the quality of the print  Two kinds of devices  Impact: dot-matrix  Number of pins write simultaneously to paper  Non-impact: laser, ink-jet  Electrical charge distributions on drum or paper determine what is written  Laser creates charge/ink is charged  Paper is negatively charged and toner is positively charged  Colour  Different color ribbons are used on impact printers  Non-impact printers combine colours after different passes or ink- jets shoot the combinations of three colours simultaneously

Graphics Software

 Programming packages

 Provides set of programming functions that can be used in a high-level programming language (OpenGL)

 Applications packages

 Has picture components that can be combined to produce complex pictures  Designed for non-programmers

Graphics Functions

 Basic building blocks of pictures are referred to as output primitives  Points, lines, polygons, circles etc.  Output primitives have attributes  Intensity, colour, line-style, area-filling  Size and orientation of an object may be changed using geometric transformations  Viewing transformations may be used to specify the view  Pictures may be divided into segments/structures  Each segment/structure is a logical unit  Creation, modification and transformation of segments

Graphics Software: conclusion

 Portability must be ensured in graphics

software

 Standards for this exist

 Graphical Kernel System by ISO  PHIGS extension to GKS

 Standard graphic functions are defined

independent of any programming language