Fundamentals of Computer Graphics
Fundamentals of Computer Graphics
Computer Graphics
Fundamentals of Computer
Graphics
Dr Tarunpreet Bhatia
Assistant Professor
CSED, TIET, Patiala
Fundamentals of Computer Graphics
• Type of Devices:
Input Device
Output Devices
Input Devices
• It is an Electromechanical Device that can be used to enter data
and instructions to the computer
Output Devices
• Output Devices are used to receive information from the computer
either in Softcopy or Hard Copy
Output Devices
•Monitor was invented in 1897 By Karl Ferdinand Braun.
•A computer monitor or a computer display is an electronic
visual display for computers.
•A computer monitor is an electronic device that shows
pictures for computers. Monitors often look similar to
televisions.
.
Video Display Devices
Figure 4: Resolution
.
Video Display Devices
Related Terms
Fluorescence: It is the light emitted as electrons lose their excess energy
while the Phosphor is being struck by electrons.
Phosphorescence: It is the light given off by the return of the relatively
more stable excited electrons to their unexcited state, once the electron
beam excitation is removed.
Persistence: Time from the removal of the excitation to the moment when
Phosphorescence has decayed to 10% of the Initial Light Output.
Video Display Devices
Categories Cathode-Ray Tube (CRT)
.
Video Display Devices
Brands of CRT
A raster-scan system displays an object as a set of discrete points across each scan line.
Interlaced scan
Raster Scan System
• In addition to the Central Processing Unit (CPU), a special processor, called the
Video Controller or Display Controller, is used to control the operation of the
Display Device.
• A fixed area of the system memory is reserved for the frame buffer, and the video
controller is given direct access to the frame buffer memory.
• Frame buffer locations and the corresponding screen positions are referenced in
Cartesian coordinates.
• The coordinate origin is defined at the lower left screen corner.
• The screen surface is represented as the first quadrant of a 2D system, with positive
x values increasing to the right and positive y values increasing from bottom to top.
• Scan lines are labeled from ymax at the top of the screen to 0 at the bottom.
• Along each scan line, screen pixel positions are labeled from 0 to xmax.
Architecture of a simple raster-
graphics system
Architecture of a raster system with a fixed portion of
the system memory reserved for the frame buffer
Cartesian reference frame with origin
at the lower-left corner of a video
monitor
Basic video-controller refresh operations
Raster Scan System
Other Operations performed by Video Controller are:
• It can retrieve pixel intensities from different memory areas on different
cycles
• In high quality systems, two frame buffers are often provided so that one
buffer can be used for refreshing and other filled with intensity values.
Provide the fast mechanism for generating real time animation.
• Video controllers often contain a lookup table, so that pixel value in the
frame buffer are used to access the lookup table instead of controlling the
CRT beam intensity directly. This provides a fast method for changing
screen intensity values.
Architecture of a raster-graphics
system with a display processor.
A character defined as a rectangular
grid of pixel positions
A character defined as an outline
shape
Random Scan System
• When operated as a random-scan display unit, a CRT has the
electron beam directed only to the parts of the screen where a
picture is to be drawn.
• Random-scan monitors draw a picture one line at a time and for
this reason are also referred to as vector/stroke-
writing/calligraphic displays.
Random Scan System
• Refresh rate on a random scan system depends on the number of lines to be
displayed.
• Picture definition is now stored as a set of line drawing commands in an
area of memory referred to as the refresh display file.
• Random scan systems are designed for line drawing applications and can
not display realistic shaded scenes.
• Since picture definition is stored as a set of line drawing instructions and
not as a set of intensity values for all screen points, vector displays
generally have higher resolution than raster systems.
.
Electron Beam It is directed from top to bottom and one It is directed to only that part of
row at a time on screen, but electron screen where picture is required to be
beam is directed to whole screen. drawn, one line at a time so also
called Vector Display.
Line Drawing Zig–Zag line is produced because Smooth line is produced because
plotted value are discrete. directly the line path is followed by
electron beam
Realism in It contains shadow, advance shading It does not contain shadow and
Display and hidden surface technique so gives hidden surface technique so it can
the realistic display of scenes. not give realistic display of scenes.
Image It uses Pixels along scan lines for It is designed for line drawing
Drawing drawing an image. applications and uses various
mathematical function to draw.
Raster v/s Random Scan System