Chapter One
Chapter One
There are two kinds of computer graphics which are listed below.
Interactive Computer Graphics
Non-Interactive Computer Graphics
Interactive Computer Graphics:
In interactive computer graphics, users have some controls over the image, i.e., the user can make
any changes to the image produced.
Interactive Computer Graphics involves computer-user two-way communication.
For Example:
Ping-Pong game.
Drawing on touch screens.
Display weather forecast or other moving charts/graphs on the screen.
Animating pictures or graphics in movies.
Graphics animation in video games.
Working of Interactive Computer Graphics
The modern display of graphics is very simple to build. It is composed of three components:-
Display controller or video controller
Digital memory or frame buffer
Television monitor
1. Display controller or video controller- It’s a Memory Buffer and TV Monitor interface. Its
task is to pass Frame Buffer’s contents to the monitor. The display controller reads each continuous
byte of Memory frame buffer data and converts 0’s and 1’s into appropriate video signals.
In today’s term, the display controller is recognized as a display card, and one of our choices can
be a VGA (Video Graphics Array) card with a resolution of 640×480. Display Controller is also
capable of displaying the image in colors.
2. Digital memory or frame buffer-This is a place where images and pictures are stored as an
array (matrix of 0 & 1, 0 represents darkness, and 1 represents image or picture). It is also called
a frame buffer.
In today’s term frame buffer is called V-RAM (video RAM), and it helps to store the image in bit
form. It helps to increase the speed of graphics.
3. Television monitor- Monitor helps us to view the display, and they make use of CRT (Cathode
ray tube) technology.
Advantages:
1. Superior Quality
2. More accurate outcomes or products
3. Increased Productivity.
4. Lower cost of development.
5. Increases the ability to understand information and interpret patterns significantly.
Non- Interactive Computer Graphics:
Non-interactive computer graphics are also known as passive computer graphics. It is a type of
computer graphics in which the user has no control over the image. The photo is completely
controlled by the instructions of the program not by the user.
For Example:
Screen savers.
Map representation of the data.
Graphic elements are used in the text, document, and PDF presentation.
Static images are used in mobile applications and websites.
Business graphics are used as brochures, business cards, menu of the hotel.
Representation of graphics:
We can represent the graphics by following two ways:
1. Raster (Bitmap) Graphics
2. Vector Graphics
1. Raster Graphics: In raster graphics, the image is presented as a rectangular grid of colored
squares.
Raster images are also called bitmap images. Bitmap images are stored as the collection of small
individual dots called pixels.
Bitmap images require high resolution and anti-aliasing for a smooth appearance.
For example– Paint, Photoshop, etc.
2. Vector Graphics: In vector graphics, the image is represented in the form of continuous
geometric objects: line, curve, etc.
Vector images are not based on pixel pattern. They use mathematical formulas to draw line and
curves. The lines and curves can be combined to create an image.
For Example– PowerPoint.
Raster image takes less space to store. Vector image takes more space.
Raster graphics can draw mathematical Vector graphics can only draw continuous and
curves, polygons, and boundaries. smooth lines.
File Extension: .BMP, .TIF, .JPG etc. File Extension: .SVG, .PDF, .AI etc.