SlideShare a Scribd company logo
1 of 43
UNIT 1 : INTRODUCTION
TO COMPUTER GRAPHICS
Prepared By
Prof. Shabbir Ahmad
Assistant Professor
6th Semester
Subject: COMPUTER GRAPHICS
OVERVIEW OF
COMPUTER GRAPHICS (CG)
ā€¢ The meaning of the term Graphics, is GraphicalTricks.
ā€¢ Every image or picture is in fact a graph and when different
mathematical tricks are used to manipulate some change in its
properties like shape, size, motion etc., through the help of
computers then, the representation is nothing but computer
graphics,
ā€¢ so we can say that
ā€¢ ā€œComputer Graphics (CG) is the field of visual computing, where
one utilises computers both to generate visual images
synthetically and to integrate or alter visual and spatial
information sampled from the real world.ā€ Or ā€œ
ā€¢ Computer Graphics is the pictorial representation manipulation
of data by a computerā€ Or
ā€¢ ā€œComputer Graphics refers to any sketch, drawing, special
artwork or other material generated with the help of computer to
pictorially depict an object or a process or otherwise convey
information, as a supplement to or instead of written
descriptionsā€.
Definition and Importance of Computer Graphics
Computer graphics can be broadly divided into the
following classes:
ā€¢ Business Graphics or the broader category of Presentation
Graphics, which refers to graphics, such as bar-charts (also
called histograms), pie-charts, pictograms (i.e., scaled
symbols), x-y charts, etc. used to present quantitative
information to inform and convince the audience.
ā€¢ Scientific Graphics, such as x-y plots, curve-fitting, contour
plots, system or program flowcharts etc.
ā€¢ Scaled Drawings, such as architectural representations,
drawings of buildings, bridges, and machines.
ā€¢ Cartoons and artwork, including advertisements.
ā€¢ Graphics User Interfaces (GUIs) which are the images that
appear on almost all computer screens these days, designed
to help the user utilise the software without having to refer to
manuals or read a lot of text on the monitor.
ā€¢ Graphics can be two- or three-dimensional
ā€¢ Computer Graphics is the creation and manipulation of images
or pictures with the help of computers.
ā€¢ There are two types of computer graphics :
1) Passive Computer Graphics (Non-interactive Computer
Graphics)
2) Active Computer Graphics (Interactive Computer Graphics)
ā€¢ Interactive Computer Graphics which is interactively
used by users e.g., games.
ā€¢ Passive Computer Graphic which has no option for users
to interact or use computer graphics e.g., movies
Contd..
ā€¢ The major product of computer graphics is a picture. With
the help of CG, pictures can be represented in 2D and 3D
space.
ā€¢ Many applications show various parts of the displayed
picture changing in size and orientation. Such type of
transformations i.e. the pictures can be made to grow,
shrink, rotate and etc. can be achieved through CG.
ā€¢ The display on them is often too big to be shown in their
entirety. Thus, with the help of CG, a technique called
clipping can be used to select just those parts of the
picture that lie on the screen and to discard the rest.
Contd..
ā€¢ CG is in daily use in the field of science, engineering,
medicine, entertainment, advertising, the graphic arts, the fine
arts, business, education etc.
ā€¢ The electronic industry is more dependent on the technologies
provided by CG such as engineers can draw their circuit in a
much shorter time,
ā€¢ architects can have alternative solution to design problems,
ā€¢ the molecular biologist can display pictures of molecules and
can study on the structure,
ā€¢ the town planners and transportation engineers use the
computer generated maps which display data useful to them in
their planning work etc.
Interactive Computer Graphics
ā€¢ The Interactive computer graphics (ICG) provides two way
communications between the computer and the user.
ā€¢ The various applications of ICG are as follows.
ā€¢ Using ICG system the integrated electronic circuits which are
very complex can be drawn in a much shorter time.
ā€¢ It is very useful in training of the pilots as they spend much of
their training on the ground at the controls of a flight simulator
and not in a real aircraft.
ā€¢ There are many tasks that can be made easier & less expensive
by the use of ICG. The effectiveness of the ICG is the speed
with which the user can absorb the displayed information.
Contd..
ā€¢ The Interactive Graphics display consists of three major components
as follows & shown in Figure 1:
(1) Frame Buffer (2) T.V. Monitor (3)Display Controller
10001101
01101010
00101001
11100111
00111000
01010100
00111001
01010101
Display Adapter/
Display Controller
Frame Buffer
Video Monitor/
T. V. Monitor
Scan line Data
Contd..
1) Frame Buffer
ā€¢ The images that are to be displayed are stored in a frame buffer in the form of matrix
of intensity values.
ā€¢ The frame buffer contains the image stored in binary form as a matrix of 0ā€™s and 1ā€™s
which represent the pixel. 0 indicates the darkness and 1 indicates the image.
ā€¢ The Frame Buffer holds the set of intensity values for all the screen points.
ā€¢ The intensity values stored in a Frame Buffer are retrieved and painted on a screen one
row at a time. This row is called as scan line.
2) Display Controller
ā€¢ The Display Controller passes the contents of frame buffer to the T.V. Monitor.
ā€¢ Display Controller reads successive bytes of data from the frame buffer & then
converts 0ā€™s and 1ā€™s into the corresponding video signal.
ā€¢ These signals are fed to the T.V. Monitor.
3) T.V. Monitor
ā€¢ The T.V. Monitor then produces black and white pattern on the screen.
ā€¢ The frame Buffer contents are to be modified, in order to represent the new pattern of
pixels or if some changes are to be made on the displayed picture.
GRAPHICS AREAS
The following major areas of computer graphics are:
ā€¢ Modeling deals with the mathematical specification of shape
and appearance properties in a way that can be stored on the
computer. For example, a coffee mug might be described as a
set of ordered 3D points along with some interpolation rule to
connect the points and a reflection model that describes how
light interacts with the mug.
ā€¢ Rendering is a term inherited from art and deals with the
creation of shaded images from 3D computer models.
ā€¢ Animation is a technique to create an illusion of motion
through sequences of images. Animation uses modeling and
rendering but adds the key issue of movement over time, which
is not usually dealt with in basic modeling and rendering.
Contd..
There are many other areas that involve computer graphics.
ā€¢ User interaction deals with the interface between input devices such as
mice and tablets, the application, feedback to the user in imagery, and other
sensory feedback.
ā€¢ Virtual reality attempts to immerse the user into a 3D virtual world. This
typically requires at least stereo graphics and response to head motion. For
true virtual reality, sound and force feedback should be provided as well.
ā€¢ Visualization attempts to give users insight into complex information via
visual display.
ā€¢ Image processing deals with the manipulation of 2D images and is used in
both the fields of graphics and vision.
ā€¢ 3D scanning uses range-finding technology to create measured 3D models.
Such models are useful for creating rich visual imagery, and the processing
of such models often requires graphics algorithms.
ā€¢ Computational photography is the use of computer graphics, computer
vision, and image processing methods to enable new ways of
photographically capturing objects, scenes, and environments.
COMPUTER GRAPHICS
APPLICATION
Almost any field can make some use of computer graphics, but the major consumers of
computer graphics technology include the following industries:
ā€¢ Video games increasingly use sophisticated 3D models and rendering algorithms.
ā€¢ Cartoons are often rendered directly from 3D models. Many traditional 2D cartoons use
backgrounds rendered from 3D models, which allows a continuously moving viewpoint
without huge amounts of artist time.
ā€¢ Visual effects use almost all types of computer graphics technology. Almost every
modern film uses digital compositing to superimpose backgrounds with separately filmed
foregrounds. Many films also use 3D modeling and animation to create synthetic
environments, objects, and even characters that most viewers will never suspect are not
real.
ā€¢ Animated films use many of the same techniques that are used for visual effects, but
without necessarily aiming for images that look real.
ā€¢ CAD/CAM stands for computer-aided design and computer-aided manufacturing. These
fields use computer technology to design parts and products on the computer and then,
using these virtual designs, to guide the manufacturing process. For example, many
mechanical parts are designed in a 3D computer modeling package and then
automatically produced on a computer-controlled milling device.
Contd..
ā€¢ Simulation can be thought of as accurate video gaming. For example, a
flight simulator uses sophisticated 3D graphics to simulate the experience of
flying an airplane. Such simulations can be extremely useful for initial
training in safety-critical domains such as driving, and for scenario training
for experienced users such as specific fire-fighting situations that are too
costly or dangerous to create physically.
ā€¢ Medical imaging creates meaningful images of scanned patient data. For
example, a computed tomography (CT) dataset is composed of a large 3D
rectangular array of density values. Computer graphics is used to create
shaded images that help doctors extract the most salient information from
such data.
ā€¢ Information visualization creates images of data that do not necessarily
have a ā€œnaturalā€ visual depiction. For example, the temporal trend of the
price of ten different stocks does not have an obvious visual depiction, but
clever graphing techniques can help humans see the patterns in such data.
ā€¢ Presentation graphics: In applications like summarizing of data of
financial, statistical, mathematical, scientific and economic research reports,
presentation graphics are used. It increases the understanding using visual
tools like bar charts, line graphs, pie charts and other displays.
GRAPHICS PIPELINE
ā€¢ In computer graphics, the graphics pipeline refers to a series of
interconnected stages through which data and commands related to a scene
go through during rendering process.
ā€¢ It takes us from the mathematical description of an object to its
representation on the device. The figure 2 shown below illustrates a 3D
graphic pipeline.
ā€¢ The real world objects are represented in world coordinate system. It is then
projected onto a view plane. The projection is done from the viewpoint of
the position of a camera or eye.
ā€¢ There is an associated camera coordinate system whose z axis specifies the
view direction when viewed from the viewpoint.
ā€¢ The infinite volume swept by the rays emerging from the viewpoint and
passing through the window is called as view volume or view pyramid.
ā€¢ Clipping planes (near and far) are used to limit the output of the object.
Contd..
Figure 2: A 3D graphic pipeline
Contd..
ā€¢ The mapping of an object to a graphic device requires
the transformation of view plane coordinates to
physical device coordinates. There are two steps
involved in this process.
1) The window to a viewport transformation. The
viewport is basically a sub ā€“ rectangle of a fixed
rectangle known as logical screen.
2) The transformation of logical screen coordinates to
physical device coordinates.
Contd..
Figure 3 (a): Sequence of transformation in viewing pipeline
Figure 3 (b): 2D coordinate system to physical device coordinates
transformation
DISPLAYTECHNOLOGIES
Cathode RayTube (CRT)
ā€¢ The most common graphics output device is the video
monitor which is based on the standard cathode ray tube
(CRT) design. Figure 4 illustrates the basic operation of a
CRT.
Figure 4: Cathode Ray Tube (CRT)
Contd..
ā€¢ As shown in above figure, it consists of electron gun, focusing
system, deflection plates and a phosphor-coated screen.
ā€¢ Electron gun is the primary component of a CRT. When the
heat is supplied to the electron gun by directing a current, a
beam of electrons emitted by an electron gun, passes through
focusing and deflection systems that direct the beam toward
specified positions on the phosphor-coated screen.
ā€¢ The focusing system in a CRT is needed to force the electron
beam to converge into a small spot as it strikes the phosphor.
ā€¢ There are two pairs of deflection plates - Horizontal
deflection plates and vertical deflection plates.
ā€¢ One pair of plates is mounted horizontally to control the
vertical deflection, and the other pair is mounted vertically to
control horizontal deflection.
Contd..
ā€¢ The beam passes between the two pairs of deflection plates and
positioned on the screen.
ā€¢ The phosphor then emits a small spot of light at each position
contacted by the electron beam.
ā€¢ Because the light emitted by the phosphor fades very rapidly,
some method is needed for maintaining the screen picture.
ā€¢ One Way to keep the phosphor glowing is to redraw the picture
repeatedly by quickly directing the electron beam back over the
same points. This type of display is called a refresh CRT.
ā€¢ In CRT monitors there are two techniques of displaying
images:
1) Raster scan displays
2) Random scan displays
ā€¢ In Random-Scan Display electron beam is directed only to the
areas of screen where a picture has to be drawn. It is also called
vector display, as it draws picture one line at time. It can draw
and refresh component lines of a picture in any specified
sequence. Pen plotter is an example of random-scan displays.
ā€¢ The number of lines regulates refresh rate on random-scan
displays. An area of memory called refresh display files stores
picture definition as a set of line drawing commands. The
system returns back to first-line command in the list, after all the
drawing commands have been processed. High-quality vector
systems can handle around 100, 00 short lines at this refresh
rate. Faster refreshing can burn phosphor. To avoid this every
refresh cycle is delayed to prevent refresh rate greater than 60
frames per second.
Random-Scan Display
Random Scan Display/Vector-Scan
Display/ Calligraphic Displays
Figure 10: Random Scan Display
Random-Scan Systems/ Random-Scan Display
Processor
Figure 11: Architecture of a simple random scan system
ā€¢ Suppose we want to display a square ABCD on the
screen. The commands will be:
ā€¢ Draw a line from A to B
ļ‚· Draw a line from B to C
ļ‚· Draw a line from C to D
ļ‚· Draw a line from D to A
Random-Scan Display
Processors:
ā€¢
Input in the form of an application program is stored in the
system memory along with graphics package. Graphics
package translates the graphic commands in application
program into a display file stored in system memory. This
display file is then accessed by the display processor to
refresh the screen. The display processor cycles through
each command in the display file program. Sometimes the
display processor in a random-scan is referred as Display
Processing Unit / Graphics Controller.
The structure of a simple random scan is
shown below:
ā€¢ ADVANTAGES:
ā€¢ Higher resolution as compared to raster scan display.
ā€¢ Produces smooth line drawing.
ā€¢ Less Memory required.
ā€¢ DISADVANTAGES:
ā€¢ Realistic images with different shades cannot be
drawn.
ā€¢ Colour limitations.
Raster-Scan Displays
ā€¢ Raster Scan Displays are most common type of graphics
monitor which employs CRT. It is based on television
technology. In raster scan system electron beam sweeps
across the screen, from top to bottom covering one row at
a time.A pattern of illuminated pattern of spots is created
by turning beam intensity on and off as it moves across
each row. A memory area called refresh buffer or frame
buffer stores picture definition. This memory area holds
intensity values for all screen points. Stored intensity
values are restored from frame buffer and painted on
screen taking one row at a time.Each screen point is
referred to as pixels.
Raster Scan Displays
Figure 5: Raster Scan Display Figure 6: Horizontal and Vertical
Retrace
ā€¢ In raster scan systems refreshing is done at a rate of
60-80 frames per second. Refresh rates are also
sometimes described in units of cycles per second /
Hertz (Hz). At the end of each scan line, electron
beam begins to display next scan line after returning
to left side of screen. The return to the left of screen
after refresh of each scan line is known as horizontal
retrace of electron beam. At the end of each frame
electron beam returns to top left corner and begins
the next frame.
Raster-Scan Display Processor:
An important function of display process is to digitize a picture
definition given in an application program into a set of pixel-intensity
values for storage in refresh buffer. This process is referred to as scan
conversion. The purpose of display processors is to relieve the CPU
from graphics jobs.
Display processors can perform various other tasks like: creating
different line styles, displaying color areas, etc. Typically display
processors are utilized to interface input devices, such as mouse,
joysticks.
Raster Scan Systems
Figure 7: Architecture of a simple raster system
Raster Scan Display Processor
ā€¢ Figure 9 shows one way to set up the organization of a raster system
containing a separate display processor, sometimes referred to as a
graphics controller or a display coprocessor.
Figure 9: Architecture of a raster-graphics system with a
display processor
ā€¢ ADVANTAGES:
ā€¢ Real life images with different shades can be displayed.
ā€¢ Color range available is bigger than random scan display.
ā€¢ DISADVANTAGES:
ā€¢ Resolution is lower than random scan display.
ā€¢ More memory is required.
ā€¢ Data about the intensities of all pixel has to be stored.
Difference between Raster Scan and Random Scan
S.N
O
Base of Difference Random Scan Raster Scan
1. Resolution The resolution of random scan is higher than raster scan.
While the resolution of raster scan
is lesser or lower than random
scan.
2. Cost It is costlier than raster scan.
While the cost of raster scan is
lesser than random scan.
3. Modification In random scan, any alteration is easy in comparison of raster scan.
While in raster scan, any alteration
is not so easy .
4. Interlacing In random scan, interlacing is not used.
While in raster scan, interlacing is
used.
5. Line Drawings
In random scan, mathematical function is used for image or picture
rendering. It is suitable for applications requiring polygon drawings.
While in which, for image or
picture rendering, raster scan uses
pixels. It is suitable for creating
realistic scenes.
6. Motion of Electron Beam
Electron Beam is directed to only that part of screen where picture is
required to be drawn, one line at a time.
Electron Beam is directed from top
to bottom and one row at a time
on screen. It is directed to whole
screen.
7. Picture Definition
It stores picture definition as a set of line commands in the Refresh
buffer.
It stores picture definition as a set
of intensity values of the pixels in
the frame buffer.
8. Refresh Rate
Refresh rate depends on the number of lines to be displayed i.e. 30 to 60
times per second.
Refresh rate is 60 to 80 frames per
second and is independent of
picture complexity.
9. Solid Pattern In random scan, Solid Pattern is tough to fill.
In raster scan, Solid Pattern is easy
to fill.
10. Example Pen Plotter TV Sets
HARD COPY DEVICES
ā€¢ Printers
ā€¢ Plotters
INPUT DEVICES FOR OPERATOR INTERACTION
ā€¢ Keyboards
ā€¢ Mouse
ā€¢ Trackball and Spaceball
ā€¢ Joysticks
ā€¢ Data Glove
ā€¢ Digitizers
ā€¢ Touch Screens
ā€¢ Light pen
ā€¢ Voice Systems
ā€¢ Image Scanners
THANKYOU

More Related Content

What's hot

Monitors & workstation,Donald ch-2
Monitors & workstation,Donald ch-2Monitors & workstation,Donald ch-2
Monitors & workstation,Donald ch-2Iftikhar Ahmad
Ā 
Computer animation Computer Graphics
Computer animation Computer Graphics Computer animation Computer Graphics
Computer animation Computer Graphics University of Potsdam
Ā 
1. Introduction of Computer Graphics
1. Introduction of Computer Graphics1. Introduction of Computer Graphics
1. Introduction of Computer GraphicsAparna Joshi
Ā 
Character generation
Character generationCharacter generation
Character generationAnkit Garg
Ā 
Character generation techniques
Character generation techniquesCharacter generation techniques
Character generation techniquesMani Kanth
Ā 
Frame buffer
Frame bufferFrame buffer
Frame bufferAparna Joshi
Ā 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.Mohd Arif
Ā 
Raster scan displays ppt
Raster scan displays pptRaster scan displays ppt
Raster scan displays pptABHISHEK KUMAR
Ā 
3D Modelling and Animation
3D Modelling and Animation3D Modelling and Animation
3D Modelling and AnimationSaif Rehman Nasir
Ā 
Animation & Animation Techniques
Animation & Animation TechniquesAnimation & Animation Techniques
Animation & Animation TechniquesNarendra Bhavsar
Ā 
Computer graphics
Computer graphicsComputer graphics
Computer graphicsNanhen Verma
Ā 
Multimedia chapter 5
Multimedia chapter 5Multimedia chapter 5
Multimedia chapter 5PrathimaBaliga
Ā 
applications of computer graphics
applications of computer graphicsapplications of computer graphics
applications of computer graphicsAaina Katyal
Ā 
Computer Graphics (Hidden surfaces and line removal, Curves and surfaces, Sur...
Computer Graphics (Hidden surfaces and line removal, Curves and surfaces, Sur...Computer Graphics (Hidden surfaces and line removal, Curves and surfaces, Sur...
Computer Graphics (Hidden surfaces and line removal, Curves and surfaces, Sur...rohitjasudkar
Ā 
Multimedia graphics and image data representation
Multimedia graphics and image data representationMultimedia graphics and image data representation
Multimedia graphics and image data representationMazin Alwaaly
Ā 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformationSelvakumar Gna
Ā 
Introduction to Computer Graphics
Introduction to Computer GraphicsIntroduction to Computer Graphics
Introduction to Computer GraphicsMegha Sharma
Ā 

What's hot (20)

Monitors & workstation,Donald ch-2
Monitors & workstation,Donald ch-2Monitors & workstation,Donald ch-2
Monitors & workstation,Donald ch-2
Ā 
Computer animation Computer Graphics
Computer animation Computer Graphics Computer animation Computer Graphics
Computer animation Computer Graphics
Ā 
1. Introduction of Computer Graphics
1. Introduction of Computer Graphics1. Introduction of Computer Graphics
1. Introduction of Computer Graphics
Ā 
Character generation
Character generationCharacter generation
Character generation
Ā 
Character generation techniques
Character generation techniquesCharacter generation techniques
Character generation techniques
Ā 
Frame buffer
Frame bufferFrame buffer
Frame buffer
Ā 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.
Ā 
Raster scan displays ppt
Raster scan displays pptRaster scan displays ppt
Raster scan displays ppt
Ā 
3D Modelling and Animation
3D Modelling and Animation3D Modelling and Animation
3D Modelling and Animation
Ā 
Animation & Animation Techniques
Animation & Animation TechniquesAnimation & Animation Techniques
Animation & Animation Techniques
Ā 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
Ā 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
Ā 
Multimedia chapter 5
Multimedia chapter 5Multimedia chapter 5
Multimedia chapter 5
Ā 
applications of computer graphics
applications of computer graphicsapplications of computer graphics
applications of computer graphics
Ā 
Computer Graphics (Hidden surfaces and line removal, Curves and surfaces, Sur...
Computer Graphics (Hidden surfaces and line removal, Curves and surfaces, Sur...Computer Graphics (Hidden surfaces and line removal, Curves and surfaces, Sur...
Computer Graphics (Hidden surfaces and line removal, Curves and surfaces, Sur...
Ā 
CRT (Cathode ray tube)
CRT (Cathode ray tube)CRT (Cathode ray tube)
CRT (Cathode ray tube)
Ā 
Multimedia graphics and image data representation
Multimedia graphics and image data representationMultimedia graphics and image data representation
Multimedia graphics and image data representation
Ā 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
Ā 
Introduction to Computer Graphics
Introduction to Computer GraphicsIntroduction to Computer Graphics
Introduction to Computer Graphics
Ā 
Depth Buffer Method
Depth Buffer MethodDepth Buffer Method
Depth Buffer Method
Ā 

Similar to computer graphics unit 1-I.pptx

Introduction to Computer Graphics
Introduction to Computer GraphicsIntroduction to Computer Graphics
Introduction to Computer GraphicsAbdullah Khan
Ā 
Introduction_computer_graphics_unit-1.pptx
Introduction_computer_graphics_unit-1.pptxIntroduction_computer_graphics_unit-1.pptx
Introduction_computer_graphics_unit-1.pptxshivanipuran1
Ā 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmDeepika Walanjkar
Ā 
Computer graphics Applications and System Overview
Computer graphics Applications and System OverviewComputer graphics Applications and System Overview
Computer graphics Applications and System OverviewRAJARATNAS
Ā 
Computer Graphics Practical
Computer Graphics PracticalComputer Graphics Practical
Computer Graphics PracticalNeha Sharma
Ā 
computer graphics unit 1.ppt
computer graphics unit 1.pptcomputer graphics unit 1.ppt
computer graphics unit 1.pptoumiarashid
Ā 
Computer graphics
Computer graphicsComputer graphics
Computer graphicsssuser255bf1
Ā 
B. SC CSIT Computer Graphics Unit1.1 By Tekendra Nath Yogi
B. SC CSIT Computer Graphics Unit1.1 By Tekendra Nath YogiB. SC CSIT Computer Graphics Unit1.1 By Tekendra Nath Yogi
B. SC CSIT Computer Graphics Unit1.1 By Tekendra Nath YogiTekendra Nath Yogi
Ā 
topic_- introduction of computer graphics.
   topic_- introduction of computer graphics.   topic_- introduction of computer graphics.
topic_- introduction of computer graphics.Aniketkumar204
Ā 
Compute graphics
Compute graphicsCompute graphics
Compute graphicsTEENAVEENCHHEE
Ā 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphicsKamal Acharya
Ā 

Similar to computer graphics unit 1-I.pptx (20)

Introduction to Computer Graphics
Introduction to Computer GraphicsIntroduction to Computer Graphics
Introduction to Computer Graphics
Ā 
Introduction_computer_graphics_unit-1.pptx
Introduction_computer_graphics_unit-1.pptxIntroduction_computer_graphics_unit-1.pptx
Introduction_computer_graphics_unit-1.pptx
Ā 
Cg
CgCg
Cg
Ā 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Ā 
Reviewer in com graphics
Reviewer in com graphicsReviewer in com graphics
Reviewer in com graphics
Ā 
Computer graphics Applications and System Overview
Computer graphics Applications and System OverviewComputer graphics Applications and System Overview
Computer graphics Applications and System Overview
Ā 
Computer Graphics Practical
Computer Graphics PracticalComputer Graphics Practical
Computer Graphics Practical
Ā 
Graphics file
Graphics fileGraphics file
Graphics file
Ā 
computer graphics unit 1.ppt
computer graphics unit 1.pptcomputer graphics unit 1.ppt
computer graphics unit 1.ppt
Ā 
1.1.1.pptx
1.1.1.pptx1.1.1.pptx
1.1.1.pptx
Ā 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
Ā 
B. SC CSIT Computer Graphics Unit1.1 By Tekendra Nath Yogi
B. SC CSIT Computer Graphics Unit1.1 By Tekendra Nath YogiB. SC CSIT Computer Graphics Unit1.1 By Tekendra Nath Yogi
B. SC CSIT Computer Graphics Unit1.1 By Tekendra Nath Yogi
Ā 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
Ā 
Computer graphics by bahadar sher
Computer graphics by bahadar sherComputer graphics by bahadar sher
Computer graphics by bahadar sher
Ā 
topic_- introduction of computer graphics.
   topic_- introduction of computer graphics.   topic_- introduction of computer graphics.
topic_- introduction of computer graphics.
Ā 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
Ā 
Compute graphics
Compute graphicsCompute graphics
Compute graphics
Ā 
unit1 lec1.pdf
unit1 lec1.pdfunit1 lec1.pdf
unit1 lec1.pdf
Ā 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
Ā 
Cg notes
Cg notesCg notes
Cg notes
Ā 

More from bcanawakadalcollege

More from bcanawakadalcollege (20)

Intro to Javascript.pptx
Intro to Javascript.pptxIntro to Javascript.pptx
Intro to Javascript.pptx
Ā 
computer and software are changing.pptx
computer and software are changing.pptxcomputer and software are changing.pptx
computer and software are changing.pptx
Ā 
tIME LINE.pptx
tIME LINE.pptxtIME LINE.pptx
tIME LINE.pptx
Ā 
Basic HTML Tags.PPT
Basic HTML Tags.PPTBasic HTML Tags.PPT
Basic HTML Tags.PPT
Ā 
Cryptography.ppt
Cryptography.pptCryptography.ppt
Cryptography.ppt
Ā 
Confusion and Diffusion.pptx
Confusion and Diffusion.pptxConfusion and Diffusion.pptx
Confusion and Diffusion.pptx
Ā 
cypher tex.ppt
cypher tex.pptcypher tex.ppt
cypher tex.ppt
Ā 
17javascript.ppt
17javascript.ppt17javascript.ppt
17javascript.ppt
Ā 
Logic gates and boolean algebra.ppt
Logic gates and boolean algebra.pptLogic gates and boolean algebra.ppt
Logic gates and boolean algebra.ppt
Ā 
Cyber_Crime_Security.pptx
Cyber_Crime_Security.pptxCyber_Crime_Security.pptx
Cyber_Crime_Security.pptx
Ā 
cybercrime_presentation - Copy.ppt
cybercrime_presentation - Copy.pptcybercrime_presentation - Copy.ppt
cybercrime_presentation - Copy.ppt
Ā 
Hidden Surface Removal methods.pptx
Hidden Surface Removal methods.pptxHidden Surface Removal methods.pptx
Hidden Surface Removal methods.pptx
Ā 
Hidden Surface Removal.pptx
Hidden Surface Removal.pptxHidden Surface Removal.pptx
Hidden Surface Removal.pptx
Ā 
Lecture6.orig.ppt
Lecture6.orig.pptLecture6.orig.ppt
Lecture6.orig.ppt
Ā 
Bezier Curve in Computer Graphics.docx
Bezier Curve in Computer Graphics.docxBezier Curve in Computer Graphics.docx
Bezier Curve in Computer Graphics.docx
Ā 
reliable_unreliable.pptx
reliable_unreliable.pptxreliable_unreliable.pptx
reliable_unreliable.pptx
Ā 
2D-transformation-1.pdf
2D-transformation-1.pdf2D-transformation-1.pdf
2D-transformation-1.pdf
Ā 
CG_1.pdf
CG_1.pdfCG_1.pdf
CG_1.pdf
Ā 
File System.pptx
File System.pptxFile System.pptx
File System.pptx
Ā 
2- THE CHANGING NATURE OF SOFTWARE.pdf
2- THE CHANGING NATURE OF SOFTWARE.pdf2- THE CHANGING NATURE OF SOFTWARE.pdf
2- THE CHANGING NATURE OF SOFTWARE.pdf
Ā 

Recently uploaded

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
Ā 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
Ā 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
Ā 
Visit to a blind student's schoolšŸ§‘ā€šŸ¦ÆšŸ§‘ā€šŸ¦Æ(community medicine)
Visit to a blind student's schoolšŸ§‘ā€šŸ¦ÆšŸ§‘ā€šŸ¦Æ(community medicine)Visit to a blind student's schoolšŸ§‘ā€šŸ¦ÆšŸ§‘ā€šŸ¦Æ(community medicine)
Visit to a blind student's schoolšŸ§‘ā€šŸ¦ÆšŸ§‘ā€šŸ¦Æ(community medicine)lakshayb543
Ā 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
Ā 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...SeƔn Kennedy
Ā 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
Ā 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
Ā 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
Ā 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
Ā 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
Ā 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
Ā 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
Ā 
Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...
Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...
Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...Nguyen Thanh Tu Collection
Ā 
USPSĀ® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSĀ® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPSĀ® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSĀ® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
Ā 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
Ā 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in oneā€™s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in oneā€™s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in oneā€™s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in oneā€™s own words. Use appropr...JojoEDelaCruz
Ā 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
Ā 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
Ā 

Recently uploaded (20)

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
Ā 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
Ā 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
Ā 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
Ā 
Visit to a blind student's schoolšŸ§‘ā€šŸ¦ÆšŸ§‘ā€šŸ¦Æ(community medicine)
Visit to a blind student's schoolšŸ§‘ā€šŸ¦ÆšŸ§‘ā€šŸ¦Æ(community medicine)Visit to a blind student's schoolšŸ§‘ā€šŸ¦ÆšŸ§‘ā€šŸ¦Æ(community medicine)
Visit to a blind student's schoolšŸ§‘ā€šŸ¦ÆšŸ§‘ā€šŸ¦Æ(community medicine)
Ā 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Ā 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
Ā 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Ā 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
Ā 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
Ā 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
Ā 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Ā 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
Ā 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
Ā 
Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...
Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...
Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...
Ā 
USPSĀ® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSĀ® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPSĀ® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSĀ® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
Ā 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
Ā 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in oneā€™s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in oneā€™s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in oneā€™s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in oneā€™s own words. Use appropr...
Ā 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
Ā 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
Ā 

computer graphics unit 1-I.pptx

  • 1. UNIT 1 : INTRODUCTION TO COMPUTER GRAPHICS Prepared By Prof. Shabbir Ahmad Assistant Professor 6th Semester Subject: COMPUTER GRAPHICS
  • 3. ā€¢ The meaning of the term Graphics, is GraphicalTricks. ā€¢ Every image or picture is in fact a graph and when different mathematical tricks are used to manipulate some change in its properties like shape, size, motion etc., through the help of computers then, the representation is nothing but computer graphics, ā€¢ so we can say that ā€¢ ā€œComputer Graphics (CG) is the field of visual computing, where one utilises computers both to generate visual images synthetically and to integrate or alter visual and spatial information sampled from the real world.ā€ Or ā€œ ā€¢ Computer Graphics is the pictorial representation manipulation of data by a computerā€ Or ā€¢ ā€œComputer Graphics refers to any sketch, drawing, special artwork or other material generated with the help of computer to pictorially depict an object or a process or otherwise convey information, as a supplement to or instead of written descriptionsā€. Definition and Importance of Computer Graphics
  • 4. Computer graphics can be broadly divided into the following classes: ā€¢ Business Graphics or the broader category of Presentation Graphics, which refers to graphics, such as bar-charts (also called histograms), pie-charts, pictograms (i.e., scaled symbols), x-y charts, etc. used to present quantitative information to inform and convince the audience. ā€¢ Scientific Graphics, such as x-y plots, curve-fitting, contour plots, system or program flowcharts etc. ā€¢ Scaled Drawings, such as architectural representations, drawings of buildings, bridges, and machines. ā€¢ Cartoons and artwork, including advertisements. ā€¢ Graphics User Interfaces (GUIs) which are the images that appear on almost all computer screens these days, designed to help the user utilise the software without having to refer to manuals or read a lot of text on the monitor.
  • 5. ā€¢ Graphics can be two- or three-dimensional ā€¢ Computer Graphics is the creation and manipulation of images or pictures with the help of computers. ā€¢ There are two types of computer graphics : 1) Passive Computer Graphics (Non-interactive Computer Graphics) 2) Active Computer Graphics (Interactive Computer Graphics)
  • 6. ā€¢ Interactive Computer Graphics which is interactively used by users e.g., games. ā€¢ Passive Computer Graphic which has no option for users to interact or use computer graphics e.g., movies
  • 7. Contd.. ā€¢ The major product of computer graphics is a picture. With the help of CG, pictures can be represented in 2D and 3D space. ā€¢ Many applications show various parts of the displayed picture changing in size and orientation. Such type of transformations i.e. the pictures can be made to grow, shrink, rotate and etc. can be achieved through CG. ā€¢ The display on them is often too big to be shown in their entirety. Thus, with the help of CG, a technique called clipping can be used to select just those parts of the picture that lie on the screen and to discard the rest.
  • 8. Contd.. ā€¢ CG is in daily use in the field of science, engineering, medicine, entertainment, advertising, the graphic arts, the fine arts, business, education etc. ā€¢ The electronic industry is more dependent on the technologies provided by CG such as engineers can draw their circuit in a much shorter time, ā€¢ architects can have alternative solution to design problems, ā€¢ the molecular biologist can display pictures of molecules and can study on the structure, ā€¢ the town planners and transportation engineers use the computer generated maps which display data useful to them in their planning work etc.
  • 9. Interactive Computer Graphics ā€¢ The Interactive computer graphics (ICG) provides two way communications between the computer and the user. ā€¢ The various applications of ICG are as follows. ā€¢ Using ICG system the integrated electronic circuits which are very complex can be drawn in a much shorter time. ā€¢ It is very useful in training of the pilots as they spend much of their training on the ground at the controls of a flight simulator and not in a real aircraft. ā€¢ There are many tasks that can be made easier & less expensive by the use of ICG. The effectiveness of the ICG is the speed with which the user can absorb the displayed information.
  • 10. Contd.. ā€¢ The Interactive Graphics display consists of three major components as follows & shown in Figure 1: (1) Frame Buffer (2) T.V. Monitor (3)Display Controller 10001101 01101010 00101001 11100111 00111000 01010100 00111001 01010101 Display Adapter/ Display Controller Frame Buffer Video Monitor/ T. V. Monitor Scan line Data
  • 11. Contd.. 1) Frame Buffer ā€¢ The images that are to be displayed are stored in a frame buffer in the form of matrix of intensity values. ā€¢ The frame buffer contains the image stored in binary form as a matrix of 0ā€™s and 1ā€™s which represent the pixel. 0 indicates the darkness and 1 indicates the image. ā€¢ The Frame Buffer holds the set of intensity values for all the screen points. ā€¢ The intensity values stored in a Frame Buffer are retrieved and painted on a screen one row at a time. This row is called as scan line. 2) Display Controller ā€¢ The Display Controller passes the contents of frame buffer to the T.V. Monitor. ā€¢ Display Controller reads successive bytes of data from the frame buffer & then converts 0ā€™s and 1ā€™s into the corresponding video signal. ā€¢ These signals are fed to the T.V. Monitor. 3) T.V. Monitor ā€¢ The T.V. Monitor then produces black and white pattern on the screen. ā€¢ The frame Buffer contents are to be modified, in order to represent the new pattern of pixels or if some changes are to be made on the displayed picture.
  • 12. GRAPHICS AREAS The following major areas of computer graphics are: ā€¢ Modeling deals with the mathematical specification of shape and appearance properties in a way that can be stored on the computer. For example, a coffee mug might be described as a set of ordered 3D points along with some interpolation rule to connect the points and a reflection model that describes how light interacts with the mug. ā€¢ Rendering is a term inherited from art and deals with the creation of shaded images from 3D computer models. ā€¢ Animation is a technique to create an illusion of motion through sequences of images. Animation uses modeling and rendering but adds the key issue of movement over time, which is not usually dealt with in basic modeling and rendering.
  • 13. Contd.. There are many other areas that involve computer graphics. ā€¢ User interaction deals with the interface between input devices such as mice and tablets, the application, feedback to the user in imagery, and other sensory feedback. ā€¢ Virtual reality attempts to immerse the user into a 3D virtual world. This typically requires at least stereo graphics and response to head motion. For true virtual reality, sound and force feedback should be provided as well. ā€¢ Visualization attempts to give users insight into complex information via visual display. ā€¢ Image processing deals with the manipulation of 2D images and is used in both the fields of graphics and vision. ā€¢ 3D scanning uses range-finding technology to create measured 3D models. Such models are useful for creating rich visual imagery, and the processing of such models often requires graphics algorithms. ā€¢ Computational photography is the use of computer graphics, computer vision, and image processing methods to enable new ways of photographically capturing objects, scenes, and environments.
  • 14. COMPUTER GRAPHICS APPLICATION Almost any field can make some use of computer graphics, but the major consumers of computer graphics technology include the following industries: ā€¢ Video games increasingly use sophisticated 3D models and rendering algorithms. ā€¢ Cartoons are often rendered directly from 3D models. Many traditional 2D cartoons use backgrounds rendered from 3D models, which allows a continuously moving viewpoint without huge amounts of artist time. ā€¢ Visual effects use almost all types of computer graphics technology. Almost every modern film uses digital compositing to superimpose backgrounds with separately filmed foregrounds. Many films also use 3D modeling and animation to create synthetic environments, objects, and even characters that most viewers will never suspect are not real. ā€¢ Animated films use many of the same techniques that are used for visual effects, but without necessarily aiming for images that look real. ā€¢ CAD/CAM stands for computer-aided design and computer-aided manufacturing. These fields use computer technology to design parts and products on the computer and then, using these virtual designs, to guide the manufacturing process. For example, many mechanical parts are designed in a 3D computer modeling package and then automatically produced on a computer-controlled milling device.
  • 15. Contd.. ā€¢ Simulation can be thought of as accurate video gaming. For example, a flight simulator uses sophisticated 3D graphics to simulate the experience of flying an airplane. Such simulations can be extremely useful for initial training in safety-critical domains such as driving, and for scenario training for experienced users such as specific fire-fighting situations that are too costly or dangerous to create physically. ā€¢ Medical imaging creates meaningful images of scanned patient data. For example, a computed tomography (CT) dataset is composed of a large 3D rectangular array of density values. Computer graphics is used to create shaded images that help doctors extract the most salient information from such data. ā€¢ Information visualization creates images of data that do not necessarily have a ā€œnaturalā€ visual depiction. For example, the temporal trend of the price of ten different stocks does not have an obvious visual depiction, but clever graphing techniques can help humans see the patterns in such data. ā€¢ Presentation graphics: In applications like summarizing of data of financial, statistical, mathematical, scientific and economic research reports, presentation graphics are used. It increases the understanding using visual tools like bar charts, line graphs, pie charts and other displays.
  • 16. GRAPHICS PIPELINE ā€¢ In computer graphics, the graphics pipeline refers to a series of interconnected stages through which data and commands related to a scene go through during rendering process. ā€¢ It takes us from the mathematical description of an object to its representation on the device. The figure 2 shown below illustrates a 3D graphic pipeline. ā€¢ The real world objects are represented in world coordinate system. It is then projected onto a view plane. The projection is done from the viewpoint of the position of a camera or eye. ā€¢ There is an associated camera coordinate system whose z axis specifies the view direction when viewed from the viewpoint. ā€¢ The infinite volume swept by the rays emerging from the viewpoint and passing through the window is called as view volume or view pyramid. ā€¢ Clipping planes (near and far) are used to limit the output of the object.
  • 17. Contd.. Figure 2: A 3D graphic pipeline
  • 18. Contd.. ā€¢ The mapping of an object to a graphic device requires the transformation of view plane coordinates to physical device coordinates. There are two steps involved in this process. 1) The window to a viewport transformation. The viewport is basically a sub ā€“ rectangle of a fixed rectangle known as logical screen. 2) The transformation of logical screen coordinates to physical device coordinates.
  • 19. Contd.. Figure 3 (a): Sequence of transformation in viewing pipeline Figure 3 (b): 2D coordinate system to physical device coordinates transformation
  • 21. Cathode RayTube (CRT) ā€¢ The most common graphics output device is the video monitor which is based on the standard cathode ray tube (CRT) design. Figure 4 illustrates the basic operation of a CRT. Figure 4: Cathode Ray Tube (CRT)
  • 22. Contd.. ā€¢ As shown in above figure, it consists of electron gun, focusing system, deflection plates and a phosphor-coated screen. ā€¢ Electron gun is the primary component of a CRT. When the heat is supplied to the electron gun by directing a current, a beam of electrons emitted by an electron gun, passes through focusing and deflection systems that direct the beam toward specified positions on the phosphor-coated screen. ā€¢ The focusing system in a CRT is needed to force the electron beam to converge into a small spot as it strikes the phosphor. ā€¢ There are two pairs of deflection plates - Horizontal deflection plates and vertical deflection plates. ā€¢ One pair of plates is mounted horizontally to control the vertical deflection, and the other pair is mounted vertically to control horizontal deflection.
  • 23. Contd.. ā€¢ The beam passes between the two pairs of deflection plates and positioned on the screen. ā€¢ The phosphor then emits a small spot of light at each position contacted by the electron beam. ā€¢ Because the light emitted by the phosphor fades very rapidly, some method is needed for maintaining the screen picture. ā€¢ One Way to keep the phosphor glowing is to redraw the picture repeatedly by quickly directing the electron beam back over the same points. This type of display is called a refresh CRT. ā€¢ In CRT monitors there are two techniques of displaying images: 1) Raster scan displays 2) Random scan displays
  • 24.
  • 25. ā€¢ In Random-Scan Display electron beam is directed only to the areas of screen where a picture has to be drawn. It is also called vector display, as it draws picture one line at time. It can draw and refresh component lines of a picture in any specified sequence. Pen plotter is an example of random-scan displays. ā€¢ The number of lines regulates refresh rate on random-scan displays. An area of memory called refresh display files stores picture definition as a set of line drawing commands. The system returns back to first-line command in the list, after all the drawing commands have been processed. High-quality vector systems can handle around 100, 00 short lines at this refresh rate. Faster refreshing can burn phosphor. To avoid this every refresh cycle is delayed to prevent refresh rate greater than 60 frames per second. Random-Scan Display
  • 26. Random Scan Display/Vector-Scan Display/ Calligraphic Displays Figure 10: Random Scan Display
  • 27. Random-Scan Systems/ Random-Scan Display Processor Figure 11: Architecture of a simple random scan system
  • 28. ā€¢ Suppose we want to display a square ABCD on the screen. The commands will be: ā€¢ Draw a line from A to B ļ‚· Draw a line from B to C ļ‚· Draw a line from C to D ļ‚· Draw a line from D to A
  • 29. Random-Scan Display Processors: ā€¢ Input in the form of an application program is stored in the system memory along with graphics package. Graphics package translates the graphic commands in application program into a display file stored in system memory. This display file is then accessed by the display processor to refresh the screen. The display processor cycles through each command in the display file program. Sometimes the display processor in a random-scan is referred as Display Processing Unit / Graphics Controller.
  • 30. The structure of a simple random scan is shown below:
  • 31. ā€¢ ADVANTAGES: ā€¢ Higher resolution as compared to raster scan display. ā€¢ Produces smooth line drawing. ā€¢ Less Memory required. ā€¢ DISADVANTAGES: ā€¢ Realistic images with different shades cannot be drawn. ā€¢ Colour limitations.
  • 32. Raster-Scan Displays ā€¢ Raster Scan Displays are most common type of graphics monitor which employs CRT. It is based on television technology. In raster scan system electron beam sweeps across the screen, from top to bottom covering one row at a time.A pattern of illuminated pattern of spots is created by turning beam intensity on and off as it moves across each row. A memory area called refresh buffer or frame buffer stores picture definition. This memory area holds intensity values for all screen points. Stored intensity values are restored from frame buffer and painted on screen taking one row at a time.Each screen point is referred to as pixels.
  • 33. Raster Scan Displays Figure 5: Raster Scan Display Figure 6: Horizontal and Vertical Retrace
  • 34. ā€¢ In raster scan systems refreshing is done at a rate of 60-80 frames per second. Refresh rates are also sometimes described in units of cycles per second / Hertz (Hz). At the end of each scan line, electron beam begins to display next scan line after returning to left side of screen. The return to the left of screen after refresh of each scan line is known as horizontal retrace of electron beam. At the end of each frame electron beam returns to top left corner and begins the next frame.
  • 35. Raster-Scan Display Processor: An important function of display process is to digitize a picture definition given in an application program into a set of pixel-intensity values for storage in refresh buffer. This process is referred to as scan conversion. The purpose of display processors is to relieve the CPU from graphics jobs. Display processors can perform various other tasks like: creating different line styles, displaying color areas, etc. Typically display processors are utilized to interface input devices, such as mouse, joysticks.
  • 36.
  • 37. Raster Scan Systems Figure 7: Architecture of a simple raster system
  • 38. Raster Scan Display Processor ā€¢ Figure 9 shows one way to set up the organization of a raster system containing a separate display processor, sometimes referred to as a graphics controller or a display coprocessor. Figure 9: Architecture of a raster-graphics system with a display processor
  • 39. ā€¢ ADVANTAGES: ā€¢ Real life images with different shades can be displayed. ā€¢ Color range available is bigger than random scan display. ā€¢ DISADVANTAGES: ā€¢ Resolution is lower than random scan display. ā€¢ More memory is required. ā€¢ Data about the intensities of all pixel has to be stored.
  • 40. Difference between Raster Scan and Random Scan S.N O Base of Difference Random Scan Raster Scan 1. Resolution The resolution of random scan is higher than raster scan. While the resolution of raster scan is lesser or lower than random scan. 2. Cost It is costlier than raster scan. While the cost of raster scan is lesser than random scan. 3. Modification In random scan, any alteration is easy in comparison of raster scan. While in raster scan, any alteration is not so easy . 4. Interlacing In random scan, interlacing is not used. While in raster scan, interlacing is used. 5. Line Drawings In random scan, mathematical function is used for image or picture rendering. It is suitable for applications requiring polygon drawings. While in which, for image or picture rendering, raster scan uses pixels. It is suitable for creating realistic scenes. 6. Motion of Electron Beam Electron Beam is directed to only that part of screen where picture is required to be drawn, one line at a time. Electron Beam is directed from top to bottom and one row at a time on screen. It is directed to whole screen. 7. Picture Definition It stores picture definition as a set of line commands in the Refresh buffer. It stores picture definition as a set of intensity values of the pixels in the frame buffer. 8. Refresh Rate Refresh rate depends on the number of lines to be displayed i.e. 30 to 60 times per second. Refresh rate is 60 to 80 frames per second and is independent of picture complexity. 9. Solid Pattern In random scan, Solid Pattern is tough to fill. In raster scan, Solid Pattern is easy to fill. 10. Example Pen Plotter TV Sets
  • 41. HARD COPY DEVICES ā€¢ Printers ā€¢ Plotters INPUT DEVICES FOR OPERATOR INTERACTION ā€¢ Keyboards ā€¢ Mouse ā€¢ Trackball and Spaceball ā€¢ Joysticks ā€¢ Data Glove ā€¢ Digitizers ā€¢ Touch Screens ā€¢ Light pen ā€¢ Voice Systems ā€¢ Image Scanners
  • 42.