This document provides an introduction to computer graphics. It defines computer graphics as any image represented digitally and manipulated on a computer. Computer graphics is used widely in areas like digital art, video games, mobile devices, and more. The document outlines two main types of computer graphics: raster graphics, which uses a grid of pixels; and vector graphics, which uses mathematical formulas to define shapes. It also lists some common applications of computer graphics like CAD, presentations, education, and data visualization.
2. INTRODUCTION TO COMPUTER GRAPHICS.
Graphics is defined as any sketch or a drawing or a special network that pictorially
represents some meaningful information. Computer Graphics is used where a set of image
needs to be manipulated or the creation of the image in the form of pixels and is drawn on
the computer. Computer Graphics can be used in digital photography, film,entertainment,
electronic gadgets and all other core technologies which are required. It is a vast subject and
area in the field of computer science. Computer Graphics can be used in UI design,
rendering, geometric object, animation and many more.In most area, computer graphics is
an abbreviation of CG. There are several tools used for implementation of Computer
Graphics. The basic is the <graphics.h> header file in Turbo-C, Unity for advanced and even
OpenGL can be used for it’s Implementation.
3. Computer Graphics refers to several things:
● The manipulation and the representation of the image or the
data in a graphical manner.
● Various technology required for the creation and manipulation.
● Digital synthesis and its manipulation.
5. ● Raster Graphics:
In computer graphics and digital photography, a raster graphics or
bitmap image is a dot matrix data structure that represents a generally
rectangular grid of pixels (points of color), viewable via a bitmapped
display (monitor), paper, or other display medium. Raster images are
stored in image files with varying dissemination, production, generation,
and acquisition formats.
6. The printing and prepress industries know raster graphics as contones (from
"continuous tones"). The opposite to contones is "line work", usually
implemented as vector graphics in digital systems.
A bitmap is a rectangular grid of pixels, with each pixel's color being specified
by a number of bits. A bitmap might be created for storage in the display's
video memory or as a device-independent bitmap file. A raster is technically
characterized by the width and height of the image in pixels and by the
number of bits per pixel.
7. Vector Graphics:
Vector graphics are computer graphics images that are defined in terms of points
on a Cartesian plane, which are connected by lines and curves to form polygons and
other shapes. Vector graphics have the unique advantage over raster graphics in
that the points, lines, and curves may be scaled up or down to any resolution with no
aliasing. The points determine the direction of the vector path; each path may have
various properties including values for stroke color, shape, curve, thickness, and fill.
8. Advantages:
1. High quality graphics display provide way to communicate with
computer.
2. It is possible to produce animation.
3. Can be used to cantrol animation such as speed ,total scene in view
etc.
4. Provides facility of update dynamic which can be used to change
shape ,colour and other properties of object in view .
9. Application Areas.
1. Computer Aided Design(CAD)
2. Presentation Graphics
3. Computer Art
4. Education and training
5. Visualization
10. .
1.CAD:- Computer Graphics plays a key role in CAD/CAM to create
Virtual world for digital prototyping. Graphics enables a designer to
interactively synthesize various product shapes, visualize them in
different settings and analyze their functional performance.
2. Presentation graphics:- used to summarize the financial,
mathematical scientific and econimic data.
Typical examples are bar charts ,line graphs,pie charts etc.
11. .
3.Computer Art:- Artist uses special purpose hardware and
programs that provides facilities for designing object shapes and
specifying object motion . Ex:- pixel paint,super paint etc.
4. Education and training:- Computer generated models of
physical,financial and economic system are often used as educationl
aids.
various kinds of simulators program can be used to provide the
trainings .ex:- Automobile driving simulator.
12. .
5.Visualization:- various techniques can be used to represent the
large amount obtained from scientific ,medical or business
analysis.
These includes color coding ,contour plots,graphs ,charts etc.