Introduction To Computer Graphics
Introduction To Computer Graphics
•Height quality graphics display of a personal computer provide one of the most natural
means of communicating with a computer.
•It has an ability to show moving pictures thus it is possible to produce animation.
•With interactive graphics use can also control animation by adjusting the speed.
•,the amount of detail shown and so on.
•interactive graphics provides the tool called motion dynamics. User can move the object
with respect to stationary observer.
•interactive graphics provides facility called update dynamics. it is possible to change the
shape, colour and other properties of the object being viewed.
Applications of computer graphics:
•User Interfaces:
Graphical interfaces provide an easy interaction between the user and computer.
The desktop publishing allows the user to create documents which contains tables,
graphs, pictures etc.
Computer aided drafting uses graphics to design components and systems electrical,
mechanical ,electronic devices such as automobile bodies, structures of buildings etc.
•Simulation and animation:
Use of graphics makes mathematical models and mechanical systems easy to study.
Used in production of animated movies.
•Process Control:
In industry process systems and processing parameters are shown on computer with
graphics symbol. This makes it easy for operator to control various processing
parameters.
•Cartography:
Keyboard:
1. Function keys.
2. Modifier keys.
3. Cursor movement keys.
4. Numeric keypad.
Mouse:
•The potentiometer attached to the trackball used to measure the amount and direction
of rotation.
•It consists of strain gauges which measures the amount of pressure applied to space
ball to provide the input for spatial positioning and orientation as the ball is pushed.
Joysticks:
•A Joysticks has a small, vertical lever mounted o the base and used to move the screen
cursor.
It is constructed with a series of sensor that detect hand and finger motion.
Digitizer and Graphical Tablet:
It consists of a flat surface which can detect the position of movable stylus.
•A graphics tablet is a computer input device that enables a user to hand-draw images
and graphics, similar to the way a person draws images with a pencil and paper. These
tablets may also be used to capture handwritten signatures.
•It is a device which can be used to store drawing ,graphs ,photos available in printed
form for computer processing.
•It stores the image information in specific file called JPEG,BMP etc.
Flatbed scanner:
Sheet fed scanner:
•In this scanner the document is moved and scan head is immobile.
Handheld scanner:
•Touch Panels allows displayed objects to be selected with the touch of a finger.
•Touch input can be recorded with the optical ,electrical and acoustic methods:
•Speech recognizers are used in some graphics systems as input device to accept voice
command.
Output Devices:
Output Devices can be classified as Video display devices and hardcopy devices.
CRT:
•It is an evacuated glass tube.
•An electron gun at the rear of the tube produces the beam of electrons.
•The inner side of the screen is coated with the phosphor substance which gives of light
when stroked by electrons.
•If we want a line connecting the points A and B ,we simply drive the beam deflection
circularly, which will cause the beam to go directly from A to B.
•To move the beam across the CRT ,the information about both magnitude and direction
is required.
CPU
MOVE
100 I/O port
300
LINE
400 Interaction data Display commands
300
….
…. Display controller CRT
….
Keyboadrd Mouse
Display buffer
memory
Display Controller
CPU
Buffer memory
CRT
•Display Controller interprets the commands for plotting points, lines etc.
And sends the point coordinates to vector generator.
•vector generator converts the digital coordinates to analog voltage for beam deflection circuit that
displays an electron beam, writing on the CRTs phosphor coating .
•Phosphor light decays after few milliseconds hence it is necessary to refresh it.
Raster display architecture.
CPU
I/O port
00000000000000
000111111110000 Display controller
001111111100000
00001100000000
00001100000000 Keyboadrd Mouse
000011000000
video controller T
Refresh buffer
memory
•It consists of CPU, video controller, refresh buffer, keyboard and mouse.
•The display image is stoared in the form of 1s and 0s in refresh buffer.
•Video controller reads the buffer and produces actual image on the screen.
•intensity values are retrieved and display on the screen one row at a time.
Co lour CRT monitors:
Two basic techniques are used to produced colour displays.
• Primary gun stores the picture pattern and flood gun maintains the
display of picture on the screen.
• Primary gun produces high speed electrons which strike on the
storage grid to draw the picture pattern.
• As electron beam strikes on storage grid with high speed, it knocks
out electrons from storage grid.
• Those knocks out electrons are attracted towards the collector.
• The low speed electrons from flood gun pass through the control
grid and attracted towards the storage grid.
• Low speed electron penetrate the storage grid and strikes the
phosphor coating of the screen.
Hardcopy devices:
Characteristics:
Dot size.
Addressability
Inter dot distance.
Resolution
Printers:
•Impact printers
•Non Impact printers