CG Unit1
CG Unit1
UNIT-1
OUTLINE
✤ Display device
✤ The computer graphics is one of the most effective and commonly used
way to information in form of graphics object such as pictures, charts,
graphs and diagram instead of simple text.
✤ Thus we can say that computer graphics makes it possible to express data
in pictorial form
✤ The control is achieved by setting the intensity and colour of the pixel
which compose screen.
✤ It also allows to add effects such as hidden surface removal, shading and
transparency to the picture
✤ User can edit (modify content, structure or appearance) graphics object with
using keyboard, mouse or touch sensitive panel on the screen
✤ Using motion dynamics tool, user can make object stationary and the viewer moving around
them
✤ Using update dynamics, it is possible to change the shape, colour or other properties of
object.
.
Presentation Graphics
✤ Interface generally comes with a menu and icons for fast selection of
processing options
Auto-CAD
Tele-Medicine
✤ In this application physician can consult with one another using video
conferencing capabilities, where all can see the data and images, it brings
together experts from a number of places in order to provide better care
Virtual Reality
✤ Virtual reality provides a very realistic effect using sight and sound, while
allowing the user to interact with the virtual world.
Computer Art
DISPLAY DEVICES
✤ Display devices also known as output devices
✤ The most commonly used output devices in a graphics system is a video monitor
CRT
Radom Scan
Raster Scan
Colour CRT
LCD
✤ Once the electron heats the phosphorus, they light up, and they are
projected on a screen. The color you view on the screen is produced by a
blend of red, blue and green light.
fi
.
fi
.
✤ The control grid voltage determines the velocity achieved by the electrons
before they hit the phosphor.
fl
fl
fi
fl
✤ The de ection system of the CRT consists of two pairs of parallel plates,
referred to as the vertical and horizontal deflection plates.
✤ The voltage applied to vertical de ection of the electron beam and voltage
applied to the horizontal de ection plates controls the horizontal de ection
of the electron beam.
✤ There are two techniques used for producing images on the CRT screen :
Random Scan (Vector scan) and Raster Scan.
fl
fl
fl
fl
Random Scan Display
✤ Random Scan System uses an electron beam which operates like a pencil to
create a line image on the CRT screen. The picture is constructed out of a
sequence of straight-line segments.
✤ Each line segment is drawn on the screen by directing the beam to move
from one point on the screen to the next, where its x & y coordinates de ne
each point.
✤ After drawing the picture. The system cycles back to the rst line and
design all the lines of the image 30 to 60 time each second.(Shown in g.)
fi
fi
fi
✤ Random-scan monitors are also known as vector displays or stroke-writing
displays or calligraphic displays.
✤ Advantages
1. A CRT has the electron beam directed only to the parts of the screen
where an image is to be drawn
3. High Resolutio
✤ Disadvantages
Color limitation.
:
✤ The raster scan system can store information of each pixel position, so it is suitable
for realistic display of objects. Raster Scan provides a refresh rate of 60 to 80 frames
per second
✤ Frame Buffer is also known as Raster or bit map. In Frame Buffer the positions are
called picture elements or pixels. Beam refreshing is of two types. First is
horizontal retracing and second is vertical retracing.
.
✤ When the beam starts from the top left corner and reaches the bottom right
scale, it will again return to the top left side called at vertical retrace. Then it
will again more horizontally from top to bottom call as horizontal retracing
shown in g:
fi
Types of Scanning or travelling of beam in
Raster Scan :
1. In Interlaced scanning, each horizontal line of the screen is traced from top
to bottom. Due to which fading of display of object may occur. This
problem can be solved by Non-Interlaced scanning. In this rst of all odd
numbered lines are traced or visited by an electron beam, then in the next
circle, even number of lines are located
2. For non-interlaced display refresh rate of 30 frames per second used. But it
gives ickers. For interlaced display refresh rate of 60 frames per second is
used.
fl
.
fi
✤ Advantages
Realistic imag
✤ Disadvantages
Low Resolutio
Expensive
:
2. Shadow-Mask Method
d
✤ In this technique, the inside of CRT screen is coated with two layers of
phosphor, usually red and green.
✤ The displayed colour depends on how far the electron beam penetrates into
the phosphor layers.
✤ The outer layer is of red phosphor and inner layer is of green phosphor.
✤ A beam of slow electrons excites only the outer red layer.
✤ A beam of very fast electrons penetrates through the red layer and excites the
inner green layer.
✤ At intermediate beam speeds, combination of red and green light are emitted
and two additional colours, orange and yellow displayed.
✤ The beam acceleration voltage controls the speed of the electrons and hence
the screen colour at any point on the screen.
✤ Advantages
Inexpensiv
✤ Disadvantages
✤ The shadow mask technique produces a much wider range of colours than the
beam penetration technique.
✤ In a shadow mask technique, CRT has three phosphor colour dots at each pixel
position.
✤ One phosphor dots emits a red light, another emits green light and third emits
green light.
✤ This type of CRT has 3 electron guns, one for each color dot and a shadow mask grid just behind the phosphor coated
screen
✤ Shadow mask grid is pierced with small round holes in a triangular pattern.
.
Working
✤ Advantage
Realistic imag
✤ Disadvantage
Convergence Problem
:
✤ DVST terminals also use the random scan approach to generate the image on
the CRT screen.
✤ The term "storage tube" refers to the ability of the screen to retain the image
which has been projected against it, thus avoiding the need to rewrite the image
constantly
✤ A DVST uses the storage grid which stores the picture information.
.
Function of guns :
✤ Two guns are used in DVS
✤ A primary gun produces high speed electrons which strike on the storage
grid to draw the picture pattern.
✤ Continuous low speed electrons from flood gun pass through the control
grid and attracted to the positive charged areas of the storage grid.
✤ Advantages :
It has at screen.
✤ Disadvantages:
✤ “Color model is a 3D color coordinate system to produce all range of color through the
primary color set.”
✤ There are millions of colors used in computer graphics. The light displays the color. A Color
model is a hierarchical system in which we can create every color by using RGB (Red, Green,
Blue) and CMYK (Cyan, Magenta, Yellow, Black) models. We can use different colors for
various purposes
✤ The total number of colors displayed by the monitor depends on the storage capacity of the
video controller card
✤ The Video controller card is used as an interface between the computer system and the display
device. It is also known as “Video Random Access Memory (VRAM).”
.
Types :
Additive Color Model
✤ F o r E x a m p l e – C o m p u t e r M o n i t o r,
Television etc.
.
fl
.
✤ Advantages
Easy to Implement
✤ Disadvantages
Input Devices
✤ The Input Devices are the hardware that is used to transfer transfers input to the computer. The
data can be in the form of text, graphics, sound, and text. Output device display data from the
memory of the computer. Output can be text, numeric data, line, polygon, and other objects.
These Devices include:
✤ Keyboar ✤ Light Pe
✤ Mous ✤ Digitize
Keyboard :
✤ The most commonly used input device is a keyboard. The data is entered by
pressing the set of keys. All keys are labeled. A keyboard with 101 keys is
called a QWERTY keyboard
✤ The keyboard has alphabetic as well as numeric keys. Some special keys are
also available
.
✤ Numeric Keys: 0, 1, 2, 3, 4, 5, 6, 7, 8,
Function of keyboard :
2. Keyboards are available with special features line screen co-ordinates entry,
Menu selection or graphics functions, etc
fi
)
✤ Advantage
✤ Disadvantage
Trackball
✤ It is a pointing device. It is similar to a mouse. This is mainly used in notebook
or laptop computer, instead of a mouse.
✤ This is a ball which is half inserted, and by changing ngers on the ball, the
pointer can be moved
✤ Advantage
Compact Size
:
fi
.
Joystick
✤ Joystick is a stick having a spherical ball as its both lower and upper ends as
shown in g. The lower spherical ball moves in a socket. The joystick can be
changed in all four directions.
Light Pen
✤ Light Pen (similar to the pen) is a pointing device which is used to select a
displayed menu item or draw pictures on the monitor screen. It consists of a
photocell and an optical system placed in a small tube. When its tip is
moved over the monitor screen, and pen button is pressed, its photocell
sensing element detects the screen location and sends the corresponding
signals to the CPU.
Uses :
Digitizers
✤ The electronic tracking device contains a switch for the user to record the
desire x & y coordinate positions.
✤ Advantages
✤ Disadvantages
Costl
Image Scanner
✤ It is an input device. The data or text is written on paper. The paper is feeded to
scanner. The paper written information is converted into electronic format; this
format is stored in the computer. The input documents can contain text,
handwritten material, picture extra
✤ By storing the document in a computer document became safe for longer period
of time. The document will be permanently stored for the future. We can change
the document when we need. The document can be printed when needed
✤ Scanning can be of the black and white or colored picture. On stored picture 2D
or 3D rotations, scaling and other operations can be applied.
.
✤ Flat Bed Scanner: It resembles a photocopy machine. It has a glass top on its top. Glass top in further
covered using a lid. The document to be scanned is kept on glass plate. The light is passed underneath
side of glass plate. The light is moved left to right. The scanning is done the line by line. The process is
repeated until the complete line is scanned. Within 20-25 seconds a document of 4" * 6" can be scanned.
✤ Hand Held Scanner: It has a number of LED's (Light Emitting Diodes) the LED's are arranged
in the small case. It is called a Hand held Scanner because it can be kept in hand which
performs scanning. For scanning the scanner is moved over document from the top towards the
bottom. Its light is on, while we move it on document. It is dragged very slowly over document.
If dragging of the scanner over the document is not proper, the conversion will not correct.
Output Devices
✤ Printer is the most important output device, which is used to print data on
paper
✤ Types of Printers: There are many types of printers which are classi ed on
various criteria as shown in g:
.
fi
fi
Plotters
✤ Plotters are a special type of output device. It is suitable for applications
✤ Advantages
Graphic Softwares :
1. Painting program
4. CAD packages
s